Surely it is the "Wireless Networking" rather than the actual mode that is consuming the power.
Also rather than testing for the existence of the file every minute would it not be better to attach such a test to the (power?) button event itself (via dbus maybe?)
So, I am asking. "Toggle wireless & usbnetworking mode: when (X) file exists and power button is pressed"
Would that be perhaps the specification? (That could work on the PW too)
Or maybe "Toggle wireless & usbnetworking mode: Home button is down and power button is pressed" - KT only I guess
Or maybe simply " Kill all processes in list (A) when power button and home button are depressed"
Or maybe simpler " Kill all processes NOT in list (B) when power button and home button are depressed"
Just struggling to understand what it is you actually need.
Thanks
Last edited by twobob; 04-06-2013 at 08:05 AM.
|