View Single Post
stopgap's Avatar
Posts: 139 | Thanked: 135 times | Joined on Jan 2010 @ Cambridgeshire, UK
#39
Originally Posted by snookh View Post
This is an interesting idea, I hate to forgetting turning wifi off before going to bed and find my phone dead in the morning.

Installed script and it works fairly good for 3G.

Seems like wlan keeps sending packets although the device is idle.

A more accurate way to turn connections off would be to check for user inactivity but I have no idea how to check that via a shell script.
You got it to install... may I ask what exactly you did? I'm just not getting it to work... I've followed the instructions above and I just can't seem to get it to auto start when the phone boots.

As it stands I have an executable script which disconnects properly and logs startup and disconnections to a text file. It executes manually without error but I just cannot autostart it.

Also, does anyone know if there's a way to send a notification message from a script? I'm talking about the notifications which confirm an SMS delivery or a website's security or "code accepted" when you unlock - the pop up ones which fade & slide away automatically.

Thanks again for all the help!