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.
After suffering rather awful battery life on my Nexus 4 (and being amazed some people seemed happy to have just a few hours of screen on time), Google did the update to 4.2.2 and I saw a drastic improvement to the standby time.
The reason? The N4 finally managed to go into deep sleep a lot quicker and stay there.
Now my Xperia Z is suffering the same problem and overnight it managed 33 minutes deep sleep and 8 hours 33 at 384MHz. Not good at all.
I am yet to see what's going on in the background as Sony has its own power saving software. The only addition is the Qualcomm battery saver guru app, which could possibly be at fault even though it works fine on the N4 and makes a real difference.
Anyone else having similar problems? I think that this will become a major forum talking point as more people get the phone.
jonmorris said:
After suffering rather awful battery life on my Nexus 4 (and being amazed some people seemed happy to have just a few hours of screen on time), Google did the update to 4.2.2 and I saw a drastic improvement to the standby time.
The reason? The N4 finally managed to go into deep sleep a lot quicker and stay there.
Now my Xperia Z is suffering the same problem and overnight it managed 33 minutes deep sleep and 8 hours 33 at 384MHz. Not good at all.
I am yet to see what's going on in the background as Sony has its own power saving software. The only addition is the Qualcomm battery saver guru app, which could possibly be at fault even though it works fine on the N4 and makes a real difference.
Anyone else having similar problems? I think that this will become a major forum talking point as more people get the phone.
Click to expand...
Click to collapse
Yes, I have the same. 33 hours average on 384MHz and NONE on Deep sleep. The phone is discharging even when all communication is cut off (3g, Wifi, sync off etc.)
manage carefully stamina mode
Listen very carefully, I shall say this only once. It is your apps.
The Nexus 4 never had any deep sleep issues whether on 4.2.1 or 4.2.2 and neither does the z.
My phone deep sleeps hours on end (so did the Nexus 4 from launch day with 4 hours screen on time) when I'm not using it and yours should too.
Seek out the rogue app.
Hey guys,
from about two months I am a proud owner of a 4x. I really like the phone but I am having serious battery issues. It did not take long for me to get CM 10.1.2 Stable. The main reason was the bad battery life of stock 4.1.2. However, the problems continued in CM as well. I have baseband wakelocks, wlan_rx_wake wakelocks and whenever I leave network location on I get nlp wakelocks as well. I tried Werewolf, iodak and Optimus Prime kernels. Not one of them seemed to resolve the problems. I had a lot of faith in werewolf 8b, but unfortunately it rarely goes beyond the LG logo and when it does I do not get network signal. Can any of you guys recommend what to do to get a decent battery life out of my phone. I do not expect miracles from a 4.7" quad-core phone but I'd like to be able to go through a whole day without having to charge it. I rarely get more than 2 hours of screen on time.
Thanks in advance!
Conquerora said:
Hey guys,
from about two months I am a proud owner of a 4x. I really like the phone but I am having serious battery issues. It did not take long for me to get CM 10.1.2 Stable. The main reason was the bad battery life of stock 4.1.2. However, the problems continued in CM as well. I have baseband wakelocks, wlan_rx_wake wakelocks and whenever I leave network location on I get nlp wakelocks as well. I tried Werewolf, iodak and Optimus Prime kernels. Not one of them seemed to resolve the problems. I had a lot of faith in werewolf 8b, but unfortunately it rarely goes beyond the LG logo and when it does I do not get network signal. Can any of you guys recommend what to do to get a decent battery life out of my phone. I do not expect miracles from a 4.7" quad-core phone but I'd like to be able to go through a whole day without having to charge it. I rarely get more than 2 hours of screen on time.
Thanks in advance!
Click to expand...
Click to collapse
One more battery thread. This gonna be a guiness world record ! Most battery threads in one forum !
Sent from my LG-P880 using xda app-developers app
Then I will be glad to have contributed to this record! Joking aside though, can you tell me in which version of CM are the new RIL/baseband changes implemented? Are they in 10.1.3 or just the 10.2 nightlies?
Conquerora said:
Then I will be glad to have contributed to this record! Joking aside though, can you tell me in which version of CM are the new RIL/baseband changes implemented? Are they in 10.1.3 or just the 10.2 nightlies?
Click to expand...
Click to collapse
Try slim bean (4.3) port for our phone... Used to last average 4 hours of screen time with max 700 mhz cpu and interactive governor, which was more than enough for texting and some light games, and also use greenify to freeze those pain in the ass apps always awakening the phone... Download bbs or somthing and post the results, if you want, so you let us know !
I use BBS to track usage. This night I did an experiment. I charged the phone before I went to sleep and left it with wi-fi on. After exactly 10 hours the battery was at 42%...The strange thing is that it was in deep sleep over 8 hours and there is nothing strange in BBS. I will do this one more time just to check that it was not a one-time thing and post the dump file. With the wi-fi off (and data off), the phone can idle for hours without loosing a single % of battery.
Conquerora said:
I use BBS to track usage. This night I did an experiment. I charged the phone before I went to sleep and left it with wi-fi on. After exactly 10 hours the battery was at 42%...The strange thing is that it was in deep sleep over 8 hours and there is nothing strange in BBS. I will do this one more time just to check that it was not a one-time thing and post the dump file. With the wi-fi off (and data off), the phone can idle for hours without loosing a single % of battery.
Click to expand...
Click to collapse
i have encountered similar error - my device does go to sleep, but if i leave wifi on, the drain is pretty sick, around 5% per hour (and yeah, the phone was sleeping like 90% of the time)
Flying_Bear said:
i have encountered similar error - my device does go to sleep, but if i leave wifi on, the drain is pretty sick, around 5% per hour (and yeah, the phone was sleeping like 90% of the time)
Click to expand...
Click to collapse
Same here, 89% deep sleep and exactly 6% per hour. That is enormous, this means that during the day (12h) you lose 72% of battery without even touching the phone...After all with a smartphone it is expected to keep wi-fi on during the day. Have you found a solution to that problem?
Conquerora said:
Same here, 89% deep sleep and exactly 6% per hour. That is enormous, this means that during the day (12h) you lose 72% of battery without even touching the phone...After all with a smartphone it is expected to keep wi-fi on during the day. Have you found a solution to that problem?
Click to expand...
Click to collapse
none as of yet. switching kernels may or may not help, roms too. nowadays i only use wifi when needed and have data on for push notifications.
Conquerora said:
Same here, 89% deep sleep and exactly 6% per hour. That is enormous, this means that during the day (12h) you lose 72% of battery without even touching the phone...After all with a smartphone it is expected to keep wi-fi on during the day. Have you found a solution to that problem?
Click to expand...
Click to collapse
That's weird , I only get 3% per hour but using data. I get 10% in 8 hours using WiFi+data. 5% in 8 hours using WiFi only.
Sent from my LG-P880 using xda app-developers app
WiFi only my idle is .4%
sent from my Optimus 4x
just hit the thanks button
Hello,
since i flahsed this kernel, the phone works, but it wakes up from sleep mode all the time, causing the battery to discharge very fast. Is there a solution for this?
grtz,
Mark-1978
mark-1978 said:
Hello,
since i flahsed this kernel, the phone works, but it wakes up from sleep mode all the time, causing the battery to discharge very fast. Is there a solution for this?
grtz,
Mark-1978
Click to expand...
Click to collapse
http://forum.xda-developers.com/galaxy-nexus/general/kernel-wakelocks-t1462020
Imho an even better explanation on the whole wakelock issue and how to solve (some of) them:
http://forum.xda-developers.com/showthread.php?t=1827676
We need more information what's causing the wakelocks, before we can (try to) help.
→ Install Better Battery Stats and let it run a few hours.
the solution was disabling home button wake up screen in Android cyanogen version. Thx for Reading.
Hi
Firstly ive never rooted my phone and ive a huge battery drain on idle. I checked with cpu spy that my phone on idle around 400-600mhz minumum and never getting deep sleep.
Do u have any solutions ?
Thanks in advance
Use Smart Switch to Update/Initialize your phone. The deep sleep issue was (supposedly) fixed on Nougat. Smart Switch will reinstall everything and do a complete reset, so you will have to backup EVERYTHING.
Thank you.. will do.