[Q] What app/trick do you use to keep wifi... - General Questions and Answers

... on when your phone is in sleep or screen is off?

I use Tasker. If my WiFi goes off, a task is started that uses Secure Settings to turn Wifi off, and 5 seks later on again.
Works good.

ds1508 said:
I use Tasker. If my WiFi goes off, a task is started that uses Secure Settings to turn Wifi off, and 5 seks later on again.
Works good.
Click to expand...
Click to collapse
Does this help your device complete the active downloads? Also, any battery drain due to tasker?

There's an app called WiFi Keep Alive in the Market which works good, can't remember if it requires root or not though.

Related

[Q] Shorten wifi sleep timeout after screen off (Solved)

In the wifi sleep policy, it is possible to set wifi to sleep after screen off. However wifi does not sleep immediately but 15 minutes after screen off. I would like wifi to sleep earlier, say 5 minutes after screen off.
I searched around and found an app capable of doing this. But it is for samsung phones and doesn't work for defy. Does anyone know if and how it can be set manually?
Juicedefender. That is the exact app to use.
I tried Juice Defender. There are options to disable wifi based on connection existence, preset time, data flow etc, but there is no option to set the how long after screen off wifi would sleep.
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
AgentSmith said:
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
Click to expand...
Click to collapse
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Click to expand...
Click to collapse
Thanks! Unfortunately moto doesn't have the settings.db file. I tried putting the mentioned key "wifi_idle_ms" in several other files but no effect.
Edit:
Stupid me. I find the location of settings.db and it works perfectly now
For information, the location of defy's settings.db is:
/data/data/com.android.providers.settings/databases/settings.db
woonaval said:
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
Click to expand...
Click to collapse
In the wifi settings screen, press the menu button to get the advanced options.
ABC_Universal said:
In the wifi settings screen, press the menu button to get the advanced options.
Click to expand...
Click to collapse
wow that was easy, thanks!
woonaval said:
wow that was easy, thanks!
Click to expand...
Click to collapse
Indeed!
Thanks guys; I can now listen to TuneIn radio as long as I want (or my battery allows me to).
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
unrafa said:
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
Click to expand...
Click to collapse
That's probably the case for 3g. But I'm using 2g and find 2g uses less battery than wifi in standby mode (with some background data sync).
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Click to expand...
Click to collapse
Thanks, naenee, for the link. In case anyone is interested, I just made a simplified adaptation of RyanZA's guide, specifically for the DEFY: http://forum.xda-developers.com/showthread.php?p=22639770

turning wifi automatically off

I have tried a few auto turn off apps on my transformer while screen is off but WIFI still stays on. These Apps work well on My Samsung galaxy.
Another thing I noticed is that everytime I set the WIFI disconnect policy to turn off wifi when screen is off. The setting goes back to "never". Not sure how it gets reset, and maybe thats why these apps do not work.
Any ideas?
revolver parts wit revolver rom, the revolver parts app let you turn of wifi automatic
I am on stock rom for now, until I read thru all of the forum and get comfortable with switching rom. I am rooted atleast and have CWM installed.
So is there any other app?
Auto airplane mode from the market. It turned off for me.
Try with Tasker
will try auto airplane mode but I need something that turns off wifi when screen goes off.
Also, afraid to buy tasker before I know it works.
evrionis said:
will try auto airplane mode but I need something that turns off wifi when screen goes off.
Also, afraid to buy tasker before I know it works.
Click to expand...
Click to collapse
Auto Airplane Mode will turn WiFi off when screen shut off.
I use it, work great. The one I use for some reason is not in the market any more
but there are others.
TRIED auto airplane and did not work.
I think the issue is that something always changes the setting to never turn wifi off . Instead of what I keep on setting it to disable wifi when screen is off.
Is there a app that is changing the wifi policy settings>?
green power app fixed my problem. found this out in another thread.
I'm using tasker with a profile to turn airplane mode on 5 minutes after display goes down. It doesn't sleep if there are certain apps which require internet connection (tunein radio for example) and turns off airplane mode for 1 minute every 30 minutes.
I'd never used tasker before, i own an Android phone too, but i found it simply amazing!
Seems like you have an app that wants to keep wifi on. If I were you, I'd try to get to the bottom of this and figure out which app is causing this issue to occur. In fact, the culprit sounds fishy.

[Q] WiFi Sleep Policy

My WiFI Sleep Policy is set to default (After 15 min) however the WiFi is always on. The icon is there when I turn my screen on. Checked the battery usage graph also, and WiFi is always on (as long as I don't turn if off manually).
I have a stock ROM, the latest European stock ROM.
Is this a bug? What does 'After 15 min' actually mean?
I believe it means the wifi will turn off 15 minutes after the screen goes off, and then back on with screen on.
I thought so too, but mine isn't doint that.
teomor said:
I thought so too, but mine isn't doint that.
Click to expand...
Click to collapse
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
teomor said:
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
Click to expand...
Click to collapse
Lol, same upgrade here. TBH I've left it at Never and not tried the other policies.
I use WiFi when at home, I'm on a 3G data plan ( I'm guessing WiFi sleeping means I wouldn't get updated Gmail. Or does it revert back to 3G ?
WiFi sleeping means going back to 3G, yes.
teomor said:
WiFi sleeping means going back to 3G, yes.
Click to expand...
Click to collapse
Thanks, might just try it and see.
Does anyone think that instead of going to sleep after 15 minutes of the screen being turned off (regardless of whether there are background apps that have active internet connections), the WiFi actually starts sleeping after 15 minutes of idle time? I think this would be a better efficiency algorithm, so, as long as you have apps that constantly use the internet, keep WiFi connected, but when no apps are doing auto-sync or any background data, only turn on WiFi when manually using the apps..
Applications can be programmed to call for a WiFi lock. If any active application does so, WiFi won't shut off when the phone is asleep.
gol_n_dal said:
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
Click to expand...
Click to collapse
I remember that old tips thread. It was set your wifi sleep policy to never. Install spare parts+ or pro and set end button behaviour to sleep. And something to do with Market app. Settings->notifications-> uncheck the box. For some reason market notifications were not allowing your phone to go to sleep properly or some garbage like that. Its worth a shot.

[Q] [ICS] Disable wifi when screen goes off ?

Hi everyone
I just flashed Android Revolution ICS Rom and I'm quite happy with that so far ! The only thing I cannot find is how to automatically disable the wifi antenna when the screen goes off...
Any help would be much appreciated
You can try in wifi setting and set wifi sleep policy to "screen off" out you can get Auto Airport Mode by Dan
Sent from my Transformer TF101 using Tapatalk
baseballfanz said:
You can try in wifi setting and set wifi sleep policy to "screen off" out you can get Auto Airport Mode by Dan
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
It was there in HC but can't find it in ICS...
salv-ice said:
It was there in HC but can't find it in ICS...
Click to expand...
Click to collapse
Well I just took a look. Guess they changed it a round a little
In Settings under the WiFi, click on More and there's an "Airplane Mode" try that.
Or try Auto Airplane Mode (this is what I use and it work great)
https://market.android.com/details?id=com.blogspot.donkun3.autoairplane&feature=search_result
hit menu (3 dots in top right) when you are in the wifi menu hit andvanced then hit "Keep wifi on during sleep" and change to only when plugged in or never
mrevankyle said:
hit menu (3 dots in top right) when you are in the wifi menu hit andvanced then hit "Keep wifi on during sleep" and change to only when plugged in or never
Click to expand...
Click to collapse
Wow... wouldn't have found it by myself
Thanks a lot !
I'm noticing the native setting for disableing wifi when sleeping is working poorly. It takes a while to turn it off and then when it restarts the service does not seminar to be able to obtain the IP address and I have to manually turn wifi off and then on again for it to obtain an address. Very strange because the auto airplane app has no such issues.
I have just found out that:
(under GB) "Advanced > Wifi Sleep Policy > when screen turns off"
is NOT the same as
(under ICS) "Advanced > Keep Wi-fi on during sleep > never (increase data usage)"
It is supposedly to be the same thing but it is not.
As osho741 observed, it takes a very long time to turn off and most of the time it just does not.
I think this is one of ICS bug.
a1adin said:
I have just found out that:
(under GB) "Advanced > Wifi Sleep Policy > when screen turns off"
is NOT the same as
(under ICS) "Advanced > Keep Wi-fi on during sleep > never (increase data usage)"
It is supposedly to be the same thing but it is not.
As osho741 observed, it takes a very long time to turn off and most of the time it just does not.
I think this is one of ICS bug.
Click to expand...
Click to collapse
It does turn off fine here after around 10 minutes but it takes at least 30 seconds to activate and connect.
Sent from my Transformer TF101 using Tapatalk 2
Is there any specific reason youd want to turn off the wifi during sleep? In my experience it doesnt drain enough battery to bother turning it off.
In my case with wifi on and a few apps running that uses wifi all the time, the tablet drains around 15-20% over 12h while sleeping.
That gives at least 2.5 days batterylife if you keep it sleeping... I cant imagine you would have to have it turned on (sleeping) longer than that. In that case you could just shut it down completely when youre not using it
you should give juice defender a try. it revolves around battery optimization, but it isn't a task killer, it just lets you make whatever setting you want concerning turning off services like wifi, bluetooth, etc.. its highly customizable, so you can set it to turn the wifi off entirely while its asleep, or to keep it off, while turning on in whatever time increment you set, long enough.
i have mine set so that the wifi turns off and stays off entirely when its in sleep mode, but if i have a online radio app like pandora or 8tracks running, then they override the sleep settings, and keep the wifi on when the screen is off.or, when i use certain apps that don't need internet to run, like kindle or certain games, the wifi automatically turns off and remains off until i close the apps.
i really like it and i think its made a huge difference in battery. Before if used it, my transformer would drain 15-20% percent overnight with the wifi left on. now, it drains maybe 2-4%.
Turning off wifi during sleep makes a huge difference.
It really saves a lot of battery for me.
And juice defender, while it might help, but on my phone, it causes a lot of wakelocks.
You can check this with bbs.

Wifi will sometimes connect only when I turn the screen on

Hi, everyone.
I've noticed that, sometimes, my phone will only connect to a Wifi network after I turn the screen on, regardless of how long I've been inside the range of a particular acces point. For example, when I get home and I go to check my phone after I've been in there for a long time, I see the Wifi connecting right after turning the screen on. This isn't normal, is it? How can I fix this? I have it set to always active if that matters.
Thanks.
Most likely the phone is in deep sleep and doesn't scan for the WiFi network until you wake it. The alternative would be the phone waking itself to check, possibly "WiFi Always Scanning" would accomplish that.
bblzd said:
Most likely the phone is in deep sleep and doesn't scan for the WiFi network until you wake it. The alternative would be the phone waking itself to check, possibly "WiFi Always Scanning" would accomplish that.
Click to expand...
Click to collapse
Thank you, bblzd.
How long does it usually take for the phone to go into deep sleep? beacuse this has happened for example if I get out of the office for a while (a few minutes) and then go back in. I'll try the always scanning suggestion, but would it have a considerable impact in battery usage?
Adrianrff said:
Thank you, bblzd.
How long does it usually take for the phone to go into deep sleep? beacuse this has happened for example if I get out of the office for a while (a few minutes) and then go back in. I'll try the always scanning suggestion, but would it have a considerable impact in battery usage?
Click to expand...
Click to collapse
It should enter deep sleep as soon as the screen turns off, unless there is something using the CPU then it will stay awake or wake itself as needed.
Always scanning does use a significant amount of battery compared to if you were disabling the WiFi. However if you leave your WiFi on all the time anyways it shouldn't make any difference.
bblzd said:
It should enter deep sleep as soon as the screen turns off, unless there is something using the CPU then it will stay awake or wake itself as needed.
Always scanning does use a significant amount of battery compared to if you were disabling the WiFi. However if you leave your WiFi on all the time anyways it shouldn't make any difference.
Click to expand...
Click to collapse
Alright, I don't usually turn wifi off, so I'll try that.
Thanks again.
Didn't work, unfortunately.
Anyone else? I seem to be the only one experiencing this, can't find a single post about this online.
Any suggestions? I've tried rebooting into safe mode, turning data off, turning airplane mode on and enabling wifi, wiping cache partition, nothing helps. Still thee same behaviour.

Categories

Resources