Nexus wifi won't sleep - Nexus One Q&A, Help & Troubleshooting

ok so here goes. i've searched the topics and everyone seems to be having the opposite problem as me. their wifi won't wake from sleep while mine won't sleep when the screen is locked.
i changed the wifi sleep policy to "when screen turns off" but my battery data shows that wifi is awake 99.99% off the time, while most of that time the screen is off. i am seeing significant battery drain as well.
I am running CM 5.0.6 and pershoots Kernel 2.6.33.3 (with updated wifi .ko file, and setcpu is overclocking until <50% where it underclocks.
is anyone else seeing similar problems? or anyone know of any answers?
thanks!

Related

Nook Will Not Sleep

My nook will not go to sleep. I am running cm7 off of SD card. In spare parts Running is 100%, Wifi Running is 100% and Wifi On is 80%. Under regular battery usage, Cell Standby is near 100%. Partial Wake - Gmail and Facebook around 3%.
I am going to try and see if WIFI Lock will help so that the wifi turns off when the screen is off, but if that doesn't does anyone have any other ideas?
yea that didn't help. the wifi still says its on 100%....
I am having the same issue, except that I am running on emmc and using phiremod 5.1.
I am going to work on it this evening, if I find anything, I will post it.
This is normal, as covered in the CM7 threads.

Random shutdowns

Hey folks,
I've been running Nightly 102 for a few weeks now. I've noticed that about once or twice a week I'll get a random shutdown. No biggie, I just hold the power button for about 10 seconds and it turns back on. I don't remember this happening with 7.0.3 that I was running previous to 102.
Anybody know what might be causing this?
That sounds like SOD (sleep of death).
Basically, won't power on when should be in sleep.
Requires a hard restart (holding power down until it "turns off"), even though you don't see it "turn off." Then holding power again to turn it on.
Known issue, unknown cause? Active wifi has been thought to be a cause, but I've had it happen with wifi turned off. So no idea.
Phatdawg said:
That sounds like SOD (sleep of death).
Basically, won't power on when should be in sleep.
Requires a hard restart (holding power down until it "turns off"), even though you don't see it "turn off." Then holding power again to turn it on.
Known issue, unknown cause? Active wifi has been thought to be a cause, but I've had it happen with wifi turned off. So no idea.
Click to expand...
Click to collapse
That sounds exactly like what I've been experiencing. Oh well. It doesn't seem to be hurting anything.
Well I get it at least once a day.
Sometimes, I notice it after charging my nook, it won't turn on even though I put it into sleep.
I've found that if I set "wifi sleep policy" to "Never", I get SOD. If I put it back to "When screen turns off", I have no issues - the SOD issue goes away.
This SOD issue only started (for me at least) when going from 7.0.3 stable to nightly 96 (or something like that-the nightly with the new kernel version). On 7.0.3 stable, i leave wifi sleep policy set to "Never" and I don't have any issues at all...
I would love to leave it set to "Never" so that it notifies me of incoming mail immediately....
thanks...
Even with my wifi set to turn off with screen turns off, I still get the SOD daily.
Now, I am on MIUI's Rom and have yet to have an SOD or freeze. So it's making me think it's a UI issue. Since MIUI is a skin over CM7.
I also have the same symptoms and it's probably SOD.

Smart Actions and Wifi

Anyone have any issues with Smart Actions and Wifi? I am running ICS .232. Recently i've been noticing my battery draining and my system is telling me that my Wifi has been on for 7 hours. I check the Wifi settings and it's set to off. I turned it on and off to be safe. The only thing I can think of was Smart actions not shutting it off as it states it was. I just removed the rule to turn wifi off and on depending on my location. It's suppose to turn off wifi while at work to conserve battery but it seems to be draining my battery instead. I just checked it now and the solid bar is short at the end indicating it is no longer on. Wondering if anyone has the same issue? BTW I've been at work for the past 8 hours so Wifi should have been off. Location is flaky in my area even with GPS as there is a dead spot close by. I work out in the country..

No deep sleep -> how to identify the cause?

Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
mr72 said:
Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Click to expand...
Click to collapse
envygreen said:
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
Click to expand...
Click to collapse
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
mr72 said:
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
Click to expand...
Click to collapse
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
leapinlar said:
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
Click to expand...
Click to collapse
Alright, I'm on it
So last night I finished charging it and read for a couple of minutes, then put it to sleep to see how it went overnight.
My Wi-Fi sleep policy is set to turn off wifi when the display is off.
When I got up this morning I checked it and it had lost over 10% battery over night, and I checked BetterBatteryStats and I think it is going into deep sleep but maybe not shutting off wifi.
I have attached the screenshots from BetterBatteryStats, and I think I need help interpreting them and finding the cause.
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
mr72 said:
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
Click to expand...
Click to collapse
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
leapinlar said:
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
Click to expand...
Click to collapse
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
mr72 said:
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
Click to expand...
Click to collapse
Switch to CM7.2 stable?
leapinlar said:
Switch to CM7.2 stable?
Click to expand...
Click to collapse
Hmm. that seems like an extreme step, but maybe ... wonder how much of the snappiness I will lose.
EDIT: OK I switched to CM7.2 stable. Nice I didn't seem to lose any settings. Let's see how it goes. Thanks for the advice, I'll report back here if it still does the same thing.
Also uninstalled beautiful widgets... figured maybe that could be causing an issue.
Oh, and I probably had a SOD kernel patch applied... perhaps that was the problem too
guess I should change only one variable at a time for a good test, but in reality I just want to get it fixed and not really diagnose it.
I was having a similar problem...what I did was run the V6 supercharger script, granted i am running CM9 atm but it took care of any problems I had with battery life and wifi signal.
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
ewingr said:
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
Click to expand...
Click to collapse
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
leapinlar said:
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
Click to expand...
Click to collapse
I have CPUSpy Free, and that is how I know I am not getting deep sleep. My challenge now is to identify why.
OK, so it seems that CM7.20 stable definitely fixes things. I didn't flash the SOD fix, so maybe the SOD fix was preventing deep sleep before, or maybe something else in the kang build was preventing deep sleep with wifi on when the screen is on.
However the better battery stats still seems to say my wifi is never actually going off. I am not sure I am interpreting the results correctly. It looks like the wifi is on all the time even though it's set to turn off when the screen is off. But I can let the NC sit on my night stand overnight and lose only a couple of % where it was like 10+% before. I still think my problem was due to some app that updated and not the ROM because the problem started weeks after I last updated the ROM.

wifi sleep policy

strange thing..
if i set "keep wifi in sleep" to never it just stays on.
i got cpuspy to see if it really goes into deep sleep but the wifi just stays on.
i know i had this problem with customrom JB on my LG optimus black but now i have official JB on my XT and got the same problem here.
i need to install a app to control the wifi like i want it too..
(i always set wifi to disconnect when the phone enters deep sleep, my experience tels me that 2g data drains less battery then wifi)
however i didn't really test drain level of wifi/2g data on my XT.

Categories

Resources