SOD due to WiFi sleep policy? - Nook Color General

cm7 wifi sleep policy (when to switch from wifi to mobile networks) is set to "When screen turns off" by default. This setting is found in Settings | Wireless and networks, hit the menu bar, Advanced.
options are: when screen turns off, never when plugged in and never.
I'm running n166 and have always turned off wifi before sleeping my NC to avoid sod, but for sake of experimentation. I will set my wifi sleep policy to never, and leave wifi on at all times to see how sod responds.

http://forum.xda-developers.com/showthread.php?t=1108964
It's not "due to the wifi policy". Wifi being left on in general can cause it, and the sleep policy does not turn off wifi very fast, sometimes at all.

My daughter in law has a NC that I rooted when it was on 1.0.0 and updated it to 1.0.1. She then wanted it back to stock because of the Read to Me function, and I took it back to 1.0.1 stock, and updated it to 1.2. She has SOD on it 2 or 3 times per month, so makes me wonder it it's something that affects all NC's.
I'm running nightly's on mine and have been since mid April and I also get 2 or 3 SOD's per month, however, they do seem less now. (I'm on 157 oc to 1.2).
...and Thanks to all the Dev's for such a great product.....

khaytsus said:
http://forum.xda-developers.com/showthread.php?t=1108964
It's not "due to the wifi policy". Wifi being left on in general can cause it, and the sleep policy does not turn off wifi very fast, sometimes at all.
Click to expand...
Click to collapse
Sample size of one, but I had WiFi always on for two weeks and had about 8 SODs. Changed to WiFi off when screen off 5 days ago, and no SODs since.
Sent from my SPH-D700 using XDA App

mis3 said:
Sample size of one, but I had WiFi always on for two weeks and had about 8 SODs. Changed to WiFi off when screen off 5 days ago, and no SODs since.
Click to expand...
Click to collapse
Nah, quite a few other people report the same. I use Tasker to turn Wifi off after 5s, some other folks use Setting Profile Lite or other programs to do the same. All have had their SOD's stop.
So while we have a workaround, unfortunately the root cause is still unknown.

I had the same SOD problem. I held the power button for like 25 seconds and that brought the NC back to life but with no wifi access or control. I flashed to an older version and now have wifi again.
Don't know if SOD causes others to lose wifi completely upon restart.

Related

Wifi cuts out after standby

Every time I put the Nook Color in standby, it loses my wireless. Upon taking it out of standby, it doesn't reconnect automatically- i am forced to actually go into settings- wireless before it finds my wireless network.
I have installed Spare Parts and set the Wifi sleep policy to never, but it still doesn't automatically connect to my wifi network. Even if I turn off my wireless and turn it back on via the widget I have on my desktop, it won't connect. I am forced to enter into Settings- wireless every time.
Thanks in advance.
bumping once- seriously nobody else has this problem?
Yes I have this problem too but don't know how to fix it. I just turn wireless off then back on.
No issues here at all, reconnected within seconds. Rarely do I even notice it was disconnected at all.
Are still on the 1.0.0 firmware? I had this issue, but since updating to 1.0.1 (which stated it improved wifi) I haven't had this issue.
Yeah, I see this too. I saw there was a hack somewhere to make it persistent. But that would certainly drain your battery more. It didnt bother me all that much, but if you need it for Gmail/texting/Google Talk, I could see why you would want it to be persistent for notifications. Didnt bother me, since I have a phone too.
By any chance did you install the wpa_supplicant to enable use of adhoc networks? I've only had the issue since I did that. More info below:
http://forum.xda-developers.com/showthread.php?t=868354
Gabryael said:
By any chance did you install the wpa_supplicant to enable use of adhoc networks? I've only had the issue since I did that. More info below:
http://forum.xda-developers.com/showthread.php?t=868354
Click to expand...
Click to collapse
Same here mine only does it since the install, but I knew that going into it as well.
I always had that issue, before the adhoc fix and after. Learned to livevwith it. Haven't upgraded yet... still on 1.0
Sent from my NookColor
Same exact thing is happening on mine. I have AutoNooter v1.01 currently and every time my device goes to sleep the wifi turns off, which hasn't been an issue until just recently.
In the past as soon as I would turn back on my device, the wifi would reconnect. Now I have to manually go to Settings> Wifi to get it to reconnect to the network.
I have tried the SpareParts fix, but it doesn't help. I have also tried on different wifi networks, but the connection issues still occur. Any feedback would be greatly appreciated. Thanks.
I also have the same problem, running auto-nooter. The only thing is that my signal never reconnects, I have to manually reset my internet router in order to get it back. Rebooting, or turning off Wi-Fi settings within the device doesn't help.
The only thing that works is never allowing my NC to fall asleep on it's own. If I manually put it into standby mode, it works fine.
I have the 1.0.1 update, and I called BN, but they only offered to replace it. I have it tricked out just the way I want it, so I'm just going to hold on to it for now.
CocoaGoddess said:
I also have the same problem, running auto-nooter. The only thing is that my signal never reconnects, I have to manually reset my internet router in order to get it back. Rebooting, or turning off Wi-Fi settings within the device doesn't help.
The only thing that works is never allowing my NC to fall asleep on it's own. If I manually put it into standby mode, it works fine.
I have the 1.0.1 update, and I called BN, but they only offered to replace it. I have it tricked out just the way I want it, so I'm just going to hold on to it for now.
Click to expand...
Click to collapse
I had the same issue as well on 1.0.1.
I've found that the wifi doesn't turn off for me if it is plugged in and charging. I did enable wifi to never sleep w/ spare parts, but it still turns wifi off when it goes into standby when not charging.
My wifi stays connected with the screen off, but some times when I turn the screen back on the wifi disconnects. I know this happens because I am listening to Tune in radio and it does not disconnect until I turn my screen back on.
Sent from my Nook color using the XDA app.
hxxp://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode
This also explains why the wifi doesn't kick out when a music player is playing. I don't have enough posts yet to post a real link :/
aho43 said:
hxxp://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode
This also explains why the wifi doesn't kick out when a music player is playing. I don't have enough posts yet to post a real link :/
Click to expand...
Click to collapse
Dang, I wish I would have found that app before I made and released my own.
http://www.appbrain.com/app/softlocker-free/otis8.softlocker
Mine does it.
I have to turn off then on.
This is only after the adhoc patch. I think I'm going back to infrastructure only.
I'm using wake timer:
http://www.appbrain.com/app/waketimer/schaze.waketimer
Same idea as SoftLocker but lets you also setup a timer where after a certain amount of time the system will actually sleep. Useful for night time or other extended periods of non use where you don't want to drain the battery.
Problem is that it does not activate on boot like SoftLocker and also after the timer expires and it goes into sleep, WakeTimer does not reactivate on wake.
Edit- after testing both programs I think SoftLocker is better. Running battery tests, there was not significant battery drain having SoftLocker on all the time. A few % overnight, probably related to the accumulation of e-mail, tweets, RSS downloads etc, but really minimal. Like that Soflocker can be checked to start on startup.
+1 for SmartLocker
This has happened for me as well. My remedy was to create a Tasker task where it's set up to connect to my SSID whenever it's detected.
colorado_al said:
I'm using wake timer:
http://www.appbrain.com/app/waketimer/schaze.waketimer
Same idea as SoftLocker but lets you also setup a timer where after a certain amount of time the system will actually sleep. Useful for night time or other extended periods of non use where you don't want to drain the battery.
Problem is that it does not activate on boot like SoftLocker and also after the timer expires and it goes into sleep, WakeTimer does not reactivate on wake.
Edit- after testing both programs I think SoftLocker is better. Running battery tests, there was not significant battery drain having SoftLocker on all the time. A few % overnight, probably related to the accumulation of e-mail, tweets, RSS downloads etc, but really minimal. Like that Soflocker can be checked to start on startup.
+1 for SmartLocker
Click to expand...
Click to collapse
Well, I'm the SoftLocker dev...so...I'm listening.
I saw the waketimer option for a timer and liked the idea...perhaps a future update?

[Q] CyanogenMod Wi-Fi Problem

Hi,
I have flashed my N1 with CM6.1.1 around 2 weeks ago. I'm really satisfied with this ROM.
However, I have noticed my Wi-Fi has gone a little bit weird after flashing CM. Regardless of the Wi-Fi sleep policy setting, my N1 won't turn off the Wi-Fi after it's locked. When I unlock my N1, I can watch the wi-fi icon disappear and then re-appear after a few seconds.
Now I have to manually turn off the Wi-Fi before locking my N1 to conserve the battery. Does anyone know how to get rid of this bug?
Thanks.
i will give you one tip which is its better to leave wifi ON when your phone goes to sleep because it's much better for battery life. if you let wifi turn off during sleep, the phone switches to 3g data which drains far more battery than leaving it on wifi.
now about the disconnect issue, i'm not quite sure what you're seeing. i have a problem with cyanogen 6 where my wifi disconnects for about 3 seconds, and this happens about every 10 minutes or so. its very annoying. but when my phone goes to sleep, i wake it up and still see wifi connected. so no issues there for me.
Wildmonk has some kernel just to address the WiFi issues.
I suggest WM kernel with CM ROM anyway
The problem occurs randomly. Sometimes my phone "knows" it should turn the wi-fi off when it's locked. But most of the time it doesn't...
I think I will live with it.
Anyway. Thanks for the reply.
My WiFi still disconnects every few minutes, then re connects again. It drives me nuts. Cyanogen 6.0
to momomok,
I think you have misunderstood the word "sleep" for Wifi, here sleep means when you are not using your phone the Wifi will turn off temporarily instead of infinitely. It's more like a nap. As you unlock the phone, Wifi will get awake. That's why you will see it re-appear after a few seconds.

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.

[Q] WiFi Battery Drain

Alright I hate to ask this question, but my searching and reading is not leading anywhere. I recently upgraded to GB (Illuminance with Corn) and I'm loving how fast my phone is. The only problem I notice is how fast my battery drains while on WiFi (Wireless N with WPA2).
Example: I was at my parents house for 2.5 hours, but didn't bother turning wifi on. I only lost a few %. Once I got home, I kicked on the wifi and within an hour I lost 20%. It appears that when wifi is turned on it is almost constantly in use. I checked for rogue apps and data usage and found nothing. The only thing I notice is that every 5 seconds (yes, I actually timed it) it is polling for new networks.
After doing some reading I checked and the build.prop mods are in there (wifi.supplicant_scan_interval).
Any suggestions on where to go next?
Recap of phone config:
Rom: Illuminance 3.01
Kernel: Corn 7.06
Modem: KK4
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
studacris said:
Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
Click to expand...
Click to collapse
+1
I switched my ROM from Apex to Illuminance to test a theory that this functionality would work as it had in the past on Apex ROMS. For whatever reason kernels/framework were swapped in a newer version of Apex that killed this very helpful functionality. Once I switched to Illuminance and enabled the functionality, it works again and I get 2+ days worth of battery life with moderate usage (rarely a video/music played, but I do a lot of browsing and email usage/fb/twitter usage is high).
It drove me nuts on Apex trying to figure out the issue. I had thought my settings.db files that control the wifi functions had gone corrupt and the dev ignored any requests for assistance.
Glad I made the switch.
studacris said:
Yeah...I've noticed that the build.prop tweaks for wifi scanning don't actually seem to change the scanning interval on gingerbread ;/
Try going to, Settings> wireless and networks> wifi settings> menu button> advanced> set wifi sleep policy to "when the screen turns off"
That'll help while it's asleep.
Click to expand...
Click to collapse
That was the first thing I noticed. The ROM defaulted to Always On. I changed that the first day. Unfortunately, I still have the issue. As it stands, I only get one day at most out of my charge. The only thing I let sync is the gmail account. I mostly browse and talk less than 1 hour per day.
I'll try to do a more statistical approach when I get a chance. I'll see about taking readings ever half hour with the wifi on and no other use.
I was under the impression that if the phone downloads data over WiFi it actually uses less battery than if it downloaded data over 3G. When I'm at home, I leave my WiFi on intentionally when my phone is asleep so that my incoming email is more efficient since I have WiFi available.
Am I wrong here? Just curious if I've been mislead all this time.
I don't think you're wrong. That is why I always use wifi at home. I think I found some errant scripts that were running and causing the excess battery drain. I have taken those off.
I'll probably master clear and reload when I'm no longer on call this weekend just to make sure I got everything.

Battery drain on Android 6 Marshmallow when IDLE

I've found several threads about drain, but all of them are Android 5 related.
Unfortunately I still have this problem on Marshmallow.
I don't notice it when using the phone, but while idle, it drains battery. Attaching the screenshot indicating I charged my phone at around 10 pm and at 1 pm next day it was already at 15%. Screen on time was only 2 hours.
Wakelock Detector does not work on Marshmallow. Installed BetterBattery Stats to try to find out what's causing this, but If any body's experienced it and has any idea what should I do, please share your opinion.
I've got MRA58R, bootloader unlocked, rooted, root aps list is: call recorder, adaway, betterbattery stats, es file explorer, gmd gesture control, nexus 6 double tap to wake.
Don't know if any of this is really important, but still. The rest is pure stock installed with full wipe.
PROBLEM SOLVED:
Nexus 6 on Android 6 has bug with 5 Ghz WiFi networks, use 2.4 Ghz and your battery will be fine!
Today before going to sleep I charged the phone to 100%.
I left it with wifi on for the night. In the morning after 8 hours I had 65% left. Screen on time was only 42 mins.
Attaching screens from battery and better battery stats.
What should I do next?
I would appreciate any opinion.
I wanted to try turning off Google Now (it helped my friend on Nexus 4), but on Nexus 6 I just can't find this ON\OFF switch of Google Now, how to turn it off?
I'm running pure nexus and get none of that. Around 6 hours sot. I'm not sure what would cause this, have not seen it
Sent from my Nexus 6 using XDA Free mobile app
donnyp1 said:
I'm running pure nexus and get none of that. Around 6 hours sot. I'm not sure what would cause this, have not seen it
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
What are the possible ways to detect what's causing this?
cL0uD` said:
Today before going to sleep I charged the phone to 100%.
I left it with wifi on for the night. In the morning after 8 hours I had 65% left. Screen on time was only 42 mins.
Attaching screens from battery and better battery stats.
What should I do next?
I would appreciate any opinion.
I wanted to try turning off Google Now (it helped my friend on Nexus 4), but on Nexus 6 I just can't find this ON\OFF switch of Google Now, how to turn it off?
Click to expand...
Click to collapse
i bet, 99.999%, that its your wifi. try leaving it off your wifi then check idle drain. my work wifi does the same thing, so i rarely use it.
simms22 said:
i bet, 99.999%, that its your wifi. try leaving it off your wifi then check idle drain. my work wifi does the same thing, so i rarely use it.
Click to expand...
Click to collapse
This. I had a similar issue a while back (although it didn't happen every time). One thing someone told me was to avoid the 5g band on wifi. Whoever it was correctly determined that I was connected to the 5g band of wifi at home and suggested I use it on the 2.4 instead. I did so and my drain dropped significantly. Now if I charge to full, leave it on my nightstand overnight off charge, I wake up 6 or 7 hours later and lose *maybe* 1% per hour. That's with wifi, bluetooth, gps all on etc.
simms22 said:
i bet, 99.999%, that its your wifi. try leaving it off your wifi then check idle drain. my work wifi does the same thing, so i rarely use it.
Click to expand...
Click to collapse
I must say you've revived my spirit! I am always using WiFi in order to save mobile traffic, it's on even when screen's off.
Morpherios said:
This. I had a similar issue a while back (although it didn't happen every time). One thing someone told me was to avoid the 5g band on wifi. Whoever it was correctly determined that I was connected to the 5g band of wifi at home and suggested I use it on the 2.4 instead. I did so and my drain dropped significantly. Now if I charge to full, leave it on my nightstand overnight off charge, I wake up 6 or 7 hours later and lose *maybe* 1% per hour. That's with wifi, bluetooth, gps all on etc.
Click to expand...
Click to collapse
And you've made my expectations even better, because I am using 5Ghz band all the time!
I will turn off WiFi now and give it a try! Thank you guys!
I will then test 2.4Ghz WiFi to see if it's really only 5Ghz WiFi that's causing the problems
cL0uD` said:
I must say you've revived my spirit! I am always using WiFi in order to save mobile traffic, it's on even when screen's off.
And you've made my expectations even better, because I am using 5Ghz band all the time!
I will turn off WiFi now and give it a try! Thank you guys!
I will then test 2.4Ghz WiFi to see if it's really only 5Ghz WiFi that's causing the problems
Click to expand...
Click to collapse
I'll keep my fingers crossed for you that this fixes the issue. Additionally I should have noted, the person who suggested I use the 2.4 band instead of the 5 specifically noted that there is a documented "bug" where 5g wifi bands cause significant drain. That's apparently the reason that 5g specifically tends to be the culprit.
cL0uD` said:
I must say you've revived my spirit! I am always using WiFi in order to save mobile traffic, it's on even when screen's off.
And you've made my expectations even better, because I am using 5Ghz band all the time!
I will turn off WiFi now and give it a try! Thank you guys!
I will then test 2.4Ghz WiFi to see if it's really only 5Ghz WiFi that's causing the problems
Click to expand...
Click to collapse
I have a similar problem as well. I have had wifi turned off all day today and its at the top of the list on battery usage. I have looked at every possible wifi option and turned it off. I dont understand what could be causing this. Im only bootloader unlocked, non-rooted, running stock image MRA58K
dcjose48 said:
I have a similar problem as well. I have had wifi turned off all day today and its at the top of the list on battery usage. I have looked at every possible wifi option and turned it off. I dont understand what could be causing this. Im only bootloader unlocked, non-rooted, running stock image MRA58K
Click to expand...
Click to collapse
When you set it up did you set it to allow it to keep wifi scanning even when it is off for the location settings? I leave my wifi on 99% of the time and my battery life is great.
zelendel said:
When you set it up did you set it to allow it to keep wifi scanning even when it is off for the location settings? I leave my wifi on 99% of the time and my battery life is great.
Click to expand...
Click to collapse
I dont remember if I did but I did turn that setting off when I was trying to diagnose the issue. I don't know if maybe it's a 6.0 bug that needs to be fixed. Good thing that being a nexus I hope it won't take too long.
I updated the firmware on my router and after doing thus none of my devices would enter power save mode on the 5ghz radio anymore and drain is now massive (check your router logs)
I tried flashing back to the prior firmware but still no go, so it must have been a driver update on the Quantanna radio as that's the only thing that was updated and it's a known issue with my particular model.
That helped me! Thank you guys! I connected to 2.4 Ghz and lost only 6% overnight!
I wish this information was easier to find, I'll update first post when I get home, it'll probably be useful to a lot of people.
l0ud_sil3nc3 said:
I updated the firmware on my router and after doing thus none of my devices would enter power save mode on the 5ghz radio anymore and drain is now massive (check your router logs)
I tried flashing back to the prior firmware but still no go, so it must have been a driver update on the Quantanna radio as that's the only thing that was updated and it's a known issue with my particular model.
Click to expand...
Click to collapse
It is a known issue with Quantenna radios on multiple routers; my ASUS RT-AC87 is one of them. Specifically as you said, on the 5GHz band. Switching to 2.4GHz wireless can fix this for the time being on Quantenna-based routers.
I've also had times where my battery seemed to have excessive drain if the cell signal dropped to non-existent; the N6 appears to drain fairly quickly searching for a signal. Unfortunately, AT&T occasionally drops in my house, and that's the carrier my work is on, so I have to live with it.

Categories

Resources