ICS Wifi stays on while on sleep - Xoom Q&A, Help & Troubleshooting

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?

From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.

OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...

jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.

What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?

jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?

I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.

wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.

So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?

lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)

That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug

Bear in mind that (irritatingly) applications can seemingly change this setting.

cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

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

[Q] Wifi Sleep Policy of Off Screen on SUperAOSP ROM

I have trouble downloading large files using this ROM since when my screen turns off, WIFI is also disabled. How can I change it. I've been looking in the settings but to no avail.
Edit: Found it...you have to click menu when in the WIFI Settings, then choose advanced.
Edit2: Wifi is disabled when screen is turn off even if the Wifi sleep policy is changed to Never.
Any ideas?
then that is some kind of bug. because setting wifi sleep policy to never should behave as such.
related note, setting wifi sleep to never greatly increases batteyr life, as said thru the forums, because back on 3g the data kills your battery much faster. so allowing wifi to stay on makes a huge improvement on battery.
for example if you leave wifi on overnight, you might lose 5% total. but if it switches back to 3g overnight, you might lose 20%.
is this bug confirmed?
me too have same problem with SuperAosp (i will test with other rom....)

WiFi Seriously draining batery!

First and foremost let me say that I love this phone. But I am having an issue with serious battery drain that's occurring when I have WiFi on. I need to use WiFi Calling in my house,and it worked flawlessly on my previous mytouch 4g, running under the same conditions. In fact, my wife now has that phone and it works great, we actually manage to save a ton of battery with wifi calling turned on.
So when I got the Sensation I hoped for more of the same, great battery life when at home due to wifi calling. However, that is not the case, when I have wifi on, with or without wifi calling enabled, my battery drains at a rate of about +-10% an hour! And thats with out even touching it! Without wifi on, 2-4% per hour battery drain.
Speeds when I do things over wifi are blazing fast, and the signal is full bars, so I know the phone is not searching for the wifi. With wifi, and minimal use, I max out at 5-6 hours! Not sure what to do, as not using wifi is really not an option.
One other thing, coming from the mytouch 4g, a highly underrated phone imo, I do see some lag that wasnt present in the "lesser" phone. In particular, the USA Today app, for example, on the Mytouch scrolling was smooth as butter, not so much on the sensation, I also see it in the Android market when I look at my apps, same app list on both phones, mytouch scroll is smooth as can be, Sensation is very jittery.
Maybe someone has some thoughts, or is having similar issues, cause I am so jealous of all the "OMG my battery lasted 6 months" posts!
Thanks in advance!
Because the phone comes stock with the WiFi sleep policy set to never. In my opinion that's a stupid decision on HTC's part. Easy fix though. Go into Wireless settings and clock on WiFi settings. Then click the menu key and click advanced. You will see the WiFi sleep policy menu. Just change it to "Never When Plugged in" or after 15 minutes. If you change it to Never when plugged in then the WiFi will go into sleep mode when ever you turn your display off.
Ive had it set to the 15 minute setting, but I thought that the wifi calling would block wifi from sleeping. Once when looking at the battery screen, I zoomed either on wifi or wifi calling, and it said something to that effect.
mlish420 said:
Ive had it set to the 15 minute setting, but I thought that the wifi calling would block wifi from sleeping. Once when looking at the battery screen, I zoomed either on wifi or wifi calling, and it said something to that effect.
Click to expand...
Click to collapse
Sorry, I forgot you said you use WiFI calling. That might have something to do with it. I always keep mine of so it doesn't matter if my WiFi sleeps right away.
Wifi can't sleep!
I don't know if i should start a new thread but this was the closest to my problem I could find.
Basically I'm having the same WiFi battery drain issues, and I tried to do the usual Wifi Sleep 'after 15 mins' or 'Never When Plugged in' options in the advanced menu but it always reverts to just 'Never' after a few minutes.
On my power graph it shows that I have had continuous wifi on despite changing the settings. So its not just the option returning to default when i open the menu either.
I'm really confused here, is there something forcing my wifi to be on all the time?
Any help is much appreciated.
Make sure wi-fi best performance is not checked. That will drain battery faster also

[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] Battery Drain - 98% Wifi

The last few days my TF101 keeps draining over night, when I look at my battery stats it says 98% is Wifi. I'm not sure what is happening, should I think it is the Dock battery drain problem, or do you think I have a bad app that is keeping wifi going ? If so, how can I find it? I am on a custom rom Revolution 2.3.0 and was wondering if I may be better off trying to go back to the stock WW rom but with root? in preparation for ICS?
Also could this be sleep problem maybe?
Thanks all
Try auto airplane mode. Worked for me.
That is mostly a bad app. Try to get a task manager software to see what's on and kill it. It is most certainly a programe that connects to the Internet most of the time like torrent based software that is always uploading...
I had this problem once or twice when flashing new ROMs.
Just try to reflash the ROM of your choice and wipe cache also.
Let me know if this helped!
What apps are you running?
Check your apps. To test this, just before you put the TF to sleep. go into wifi settings and set wifi to go off when screen does. put it to sleep. I found this works, but something is resetting wifi off to never once you wake it up. Permissions on most apps are way more than needed.
Just noticed it is set up in device settings to never disconnect from wifi. What should the default setting be for the device? I have set back to disconnect on screen going off. What do you guys have set for yours?
I have a B50 dock and a B60 Transformer. My Transformer began draining no matter which options I set with wifi and screen etc., previously I had a very low battery drain. I started looking around and discovered some apps that I had installed had automatically initiated auto synch settings. I disabled all auto Synch options and now it is going into deep sleep and battery drain has stopped.
asus transformer 101g - all widgets and programm show me 8-9-7 Mv and do not show normal voltage ? WTF ?
wilx said:
Just noticed it is set up in device settings to never disconnect from wifi. What should the default setting be for the device? I have set back to disconnect on screen going off. What do you guys have set for yours?
Click to expand...
Click to collapse
You need to check that setting each time before you put TF to sleep as some apps will change it on you. Apps seem to demand way mote permissions than they need to do their job
change the wifi settings "disconnect policy" to " never when plugged in". I did that running prime 211 and it saved tons of battery. Its more absolute control. I check my tf all the time so i dont miss any updates n stuff. I have my phone too.
Matterhorn said:
I have a B50 dock and a B60 Transformer. My Transformer began draining no matter which options I set with wifi and screen etc., previously I had a very low battery drain. I started looking around and discovered some apps that I had installed had automatically initiated auto synch settings. I disabled all auto Synch options and now it is going into deep sleep and battery drain has stopped.
Click to expand...
Click to collapse
Thanks, are all these autosync settings in one place or in the individual apps
wilx said:
The last few days my TF101 keeps draining over night, when I look at my battery stats it says 98% is Wifi. I'm not sure what is happening, should I think it is the Dock battery drain problem, or do you think I have a bad app that is keeping wifi going ? If so, how can I find it? I am on a custom rom Revolution 2.3.0 and was wondering if I may be better off trying to go back to the stock WW rom but with root? in preparation for ICS?
Also could this be sleep problem maybe?
Thanks all
Click to expand...
Click to collapse
I chased this up recently in http://forum.xda-developers.com/showthread.php?t=1276670
I've found the same issue, something is resetting my wifi policy - probably some app or service I've downloaded.
I'm running Revolver 3.11.1 with default rom and even after flashing and trying the old dock firmwire I'm not having any luck. I've been investigating writing a service to identify and log changes so I can track the culprit, in the meantime I'm using auto airplane off as someone else suggested, its a perfectly working alternative but I'd rather minimise the bits and pieces trying to regulate what should be normal system controls...(given thats likely what got us here in the first place )

Categories

Resources