Phone not going into deep sleep? - Nexus 4 Q&A, Help & Troubleshooting

I am on the latest Slim Bean with Franco R31 and no matter what governor/min/max I set it does not go into deep sleep. How can I find out which program is causing this?

BetterBatteryStats
http://forum.xda-developers.com/showthread.php?p=15869868
Install and set up the app, charge your phone, unplug it and don't use it for 4-5 hrs (overnight is even better), check the results. If you can't identify what's keeping your phone awake pull a log with the app, post it in the thread and ask for help.

My (stock) Nexus 4 never goes in to deep sleep despite the Android battery thingy showing nothing (or very little) awake time. My Xperia S was always awake according to the same thing but entered deep sleep readily

MrBelter said:
My (stock) Nexus 4 never goes in to deep sleep despite the Android battery thingy showing nothing (or very little) awake time. My Xperia S was always awake according to the same thing but entered deep sleep readily
Click to expand...
Click to collapse
I had this problem. I found that it was a live wallpaper that was keeping the phone from going into deep sleep. As soon as I switched to a standard wallpaper I was able to get 70% deep sleep whilst previously it never went into deep sleep.
Hope this helps
Rich

Eric-1987 said:
I am on the latest Slim Bean with Franco R31 and no matter what governor/min/max I set it does not go into deep sleep. How can I find out which program is causing this?
Click to expand...
Click to collapse
Another recommended app Wakelock Detector at Google Play

Related

Battery problems?

My new note's battery seem weird after I let it run to 1% and then charge up to 100%.
After that, it seems to lose battery very much faster.
Left overnight, it went from 79% to 49%!! a 30% drop!!
I checked Battery status report battery health is good and average 33-35 degrees temperature.
Bulk of battery usage is reported for Display (62%, "time on" of 1hr 30m) ...
Is this normal??
What can I do?
Thanks.
Maybe the battery needs some recalibration, run it down to 1% then charge the phone while its still off.
Here's the battery level profile...
Not sure what is keeping the phone awake even while screen-off??
Any help or advice to diagnose and resolve the battery issues appreciated.
planetcooler said:
Here's the battery level profile...
Not sure what is keeping the phone awake even while screen-off??
Any help or advice to diagnose and resolve the battery issues appreciated.
Click to expand...
Click to collapse
Try a factory reset and then calibrate the battery.
Just woke up after the first night with the Note. I had 45% battery left when i went to bed, and now 9 hours later it's at 43%.
Sent from my GT-N7000 using xda premium
planetcooler said:
Not sure what is keeping the phone awake even while screen-off??
Click to expand...
Click to collapse
You diagnosed the problem correctly by identifying the device being awake while the screen is off. I suggest two tools to narrow it down:
1. Cpu Spy, Market, free, displays how much time the CPU spent in the different power states. During the night it should almost completely be in deep sleep.
2. BetterBatteryStats, Market, ~2.50$, allows to identify apps with wakelocks, apps which prevent the system to enter the deep sleep power state while the screen is off and the device basically is idleing. On CM Spareparts xan do that for free, for Samsung devices I first have to find a free alternative app that works...
No wipe needed (yet), no delete this or do that. First find the villain, then shoot em, not the other way round.
Sent from my GT-N7000
Installed BetterBatteryStats,
but there is lots of information, and I have little clue what these constitute or how to identify what apps cause the issues??
You could post screenshots of all the screens of betterbatterystats and we will try to help you.
Charge the phone to 100% and disconnect it right before you go to sleep, enter cpuspy and reset its counters. Then enter task manager and kill all the programs and clean the memory. Now go to sleep and when you wake up post screenshots of the built in battery stats, betterbatterystats and cpuspy.
Hi
I have a similar problem, my battery keeps draining entirely too much for what I think it should. Mine gets drained about 40% in about 10 hours of very light use.
BetterBatteryStats shows it is WiFi that has a humongous amount of wakelocks, but the thing here is I have WiFi disabled.
Image (BetterBatteryStats): http://antti.vahtera.org/images/SC20111221-020623.png
CPU Spy shows nothing that looks that weird to me, although I rather wonder why so little deep sleep and so much 200MHz, but that might be if deep sleep has a longer "counter" than it did on SGS/SGS2. If I use the phone to check time, or twitter from a widget couple of times per hour, does SGN enter deep sleep during those "breaks"?
Image (CPU Spy): http://antti.vahtera.org/images/SC20111221-020441.png
But, the one that caught my eye, was the stock Battery Info window. During the (almost) entire 10h time the phone was awake?! Why in the whole wide world? Does SGN really have some bug with WiFi keeping it awake even though it is disabled?
Image (Battery Info -window): http://antti.vahtera.org/images/SC20111221-020744.png
I really wanna get behind this. I love this phone, but this battery drainage begins to be a problem for me. I got about 2-5% drain per night with SGS2 and 10-15% per day on similar usage.
AnttiV said:
Hi
I have a similar problem, my battery keeps draining entirely too much for what I think it should. Mine gets drained about 40% in about 10 hours of very light use.
BetterBatteryStats shows it is WiFi that has a humongous amount of wakelocks, but the thing here is I have WiFi disabled.
Image (BetterBatteryStats): http://antti.vahtera.org/images/SC20111221-020623.png
CPU Spy shows nothing that looks that weird to me, although I rather wonder why so little deep sleep and so much 200MHz, but that might be if deep sleep has a longer "counter" than it did on SGS/SGS2. If I use the phone to check time, or twitter from a widget couple of times per hour, does SGN enter deep sleep during those "breaks"?
Image (CPU Spy): http://antti.vahtera.org/images/SC20111221-020441.png
But, the one that caught my eye, was the stock Battery Info window. During the (almost) entire 10h time the phone was awake?! Why in the whole wide world? Does SGN really have some bug with WiFi keeping it awake even though it is disabled?
Image (Battery Info -window): http://antti.vahtera.org/images/SC20111221-020744.png
I really wanna get behind this. I love this phone, but this battery drainage begins to be a problem for me. I got about 2-5% drain per night with SGS2 and 10-15% per day on similar usage.
Click to expand...
Click to collapse
yeah, there's something seriously wrong with your phone. Are you rooted ? would you consider a full wipe and maybe a different ROM ?
Not rooted, not modified in any serious way either. (Using GO Launcher EX, not TouchWiz launcher, that's really the extend of modification on this phone.)
Android version is 2.3.6, Baseband N7000XXKK5, kernel 2.6.35.7-N7000XBKK4
This is what was shipped with the phone. It's unbranded and unlocked.
I haven't really done anything to it but installed apps from Android Market (and a couple with Samsung Apps).
EDIT: This is my day-to-day phone with all settings as I like them and all things set, so I would like if I wouldn't have to do a full wipe. But if nothing else helps, I guess I'll have to, in the end.
I hope someone will be able to help you cause I've never seen anything like that.
Sent from my GT-N7000 using Tapatalk
This might help...
I had the same problem. The first night my Note was dropping from 100% down to about 50% when I was asleep and the screen was off.
In the battery stats I could see that it was the Android core that used all this power.
So I tried a couple things to see if it helped:
1) I went to WiFi-settings and set it to turn off WiFi when screen off. This is a setting that is not on by default, you have to set it yourself.
2) I turned off AutoSync (Google account and so on)
Those to settings removed the overnight powerdrain problem. The next night it only went from 100% to about 98% when I slept
And since I am a serious betterysaver I also turned off autolight on screen, and set it to lowest light possible (still nice picture). I turned on the "Autoadjust screenpower), turned off all animations, turned off all kind of vibrations on the phone.
I left the"System powersetting" alone. It didnt save much power and it made the phone slower.
All in all, now my battery is great, I still have lot of juice left after a full day of using my Galaxy Note
I seem to have fixed my problem, without having to do a full wipe. I don't know which part it was that finally did it, but I'm glad it now behaves like I think it should. (about 2% battery drain in ~5h in pocket, one 1min phonecall and two or three times checking time from lockscreen.)
Anyway, I apparently ALSO had the infamous problem with Mediaserver eating humongous amounts of battery, so I'm not sure if that had anything to do with the WiFi keeping it awake or was just a separate problem.
Long story short, here's what I did:
a) installed JuiceDefender, had it manage Wifi
b) turned Wifi on, restart
c) turned Wifi off, restart
[d) installed nomedia manager and excluded most directories from mediascanner]
e) turned phone off, recharged to 100%.
Seems to be working now. No WiFi wakelocks, no mediaserver eating CPU, deep sleep ~70% of the time.

Never go to deep sleep after 8.6.5.21

Hi all,
I have updated to new FW 8.6.5.21 yesterday. After update, I still saw that can go to deep sleep mode. But after full charge, old problem still happend, never go to deep sleep mode again.
I have no dock.
Does anyone know how to fix????
There was a post about this earlier. Here you go.
blessedswine said:
For those of you that have a transformer that wont deep sleep whether its on or off the dock, doesnt matter you can get a app for that. its called Auto Airplane Mode, and it puts your transformer in airplane mode each and every time you turn the screen off, i have noticed a huge difference in battery life after installing this app. using Cpuspy my transformer went into deep sleep for 10 mins max a night for the last week. installed Auto Airplane Mode and the transformer goes into deep sleep within a min of turning screen off now. I already had the wifi set to turn off when screen is off and everything, the only thing i did was add this app.
Sent from my Transformer TF101 using xda premium
Click to expand...
Click to collapse
Airplane mode wasn't the answer before and isn't the answer now. I haven't charged my transformer since the update so don't know if it is happening to mine but if it is the same as before then it isn't radios that is causing the problem its a bug in the OS that never lets it go into deep sleep after charging. A reboot after charging usually sorted it until the next charge. That is so long as you don't have a dock because the tab thinks it is being charged when on the dock. I hope they haven't introduced this bug again because it was a real PITA when it had it before.
v8code said:
Airplane mode wasn't the answer before and isn't the answer now. I haven't charged my transformer since the update so don't know if it is happening to mine but if it is the same as before then it isn't radios that is causing the problem its a bug in the OS that never lets it go into deep sleep after charging. A reboot after charging usually sorted it until the next charge. That is so long as you don't have a dock because the tab thinks it is being charged when on the dock. I hope they haven't introduced this bug again because it was a real PITA when it had it before.
Click to expand...
Click to collapse
I also installed Auto Airplane app, but I think it is not the solutions, still no deep sleep. Because I have no dock, after charging, I reboot but still no deep sleep. Now I have to charge everyday
Mine is fine. Deep sleep verified with cpu spy.
Sent from my GT-I9000M using Tapatalk
Mine keeps disabling the setting : turn wifi off when screen turns off.
This update is ****ed up!
mine goes into deep sleep perfectly now since the update, it wouldnt before unless I used the auto airplane app. Battery life is much better now.
mine wasn't sleeping, till i did a factory reset. now its sleeping as it should.
I am having the same problem since the update. CPU Spy indicates that it is in Deep Sleep, but I am having constant battery drain in AND out of the dock. Battery says that wifi is doing the damage. I have it clicked to sleep when screen timesout. Auto Airplane Mode worked. I am not happy though. I should not have to use it.
Mine doesn't sleeping whether install Auto Airplane mode or not. I'll try to factory reset....
Happy to say mine is still OK after the update. It till goes into deep sleep as it should.
v8code said:
Happy to say mine is still OK after the update. It till goes into deep sleep as it should.
Click to expand...
Click to collapse
Lucky guy....
I tried fatory reset, but nothing change. Still not sleep...
How come my transformer instead of going into a completely dormant sleep mode it goes into a sleep mode where every one minute according to the clock it flashes on the screen for a few seconds just to show the time on the lock screen???
Assdikes said:
How come my transformer instead of going into a completely dormant sleep mode it goes into a sleep mode where every one minute according to the clock it flashes on the screen for a few seconds just to show the time on the lock screen???
Click to expand...
Click to collapse
Damn, this looks like the problem I'm having: when I check what's draining the battery, the first place with 58% is Screen! I didn't see the screen flash, though.
Upd. Yes! This is exactly the issue I'm having! I checked - the screen turns on from time to time, not every minute, but still... so no deep sleep for me here
skeve said:
Damn, this looks like the problem I'm having: when I check what's draining the battery, the first place with 58% is Screen! I didn't see the screen flash, though.
Upd. Yes! This is exactly the issue I'm having! I checked - the screen turns on from time to time, not every minute, but still... so no deep sleep for me here
Click to expand...
Click to collapse
Need to check permissions on your apps as they change with updates. some apps keep the TF from sleeping others wake it up periodically to check for mail or other syncs. Need to check them all as some things you might never expect like free games keep it alive.
I'm really stuck with this problem. After full reset and only one app installed (Dual Battery Widget) Transformer spends some time in deep sleep, then suddenly wakes up. You can see it on the attached screenshot. I have no idea what happened around 3 am when the device woke up and never went to deep sleep after that.
skeve said:
I'm really stuck with this problem. After full reset and only one app installed (Dual Battery Widget) Transformer spends some time in deep sleep, then suddenly wakes up. You can see it on the attached screenshot. I have no idea what happened around 3 am when the device woke up and never went to deep sleep after that.
Click to expand...
Click to collapse
I think mine have the same problem. Sometime it go to sleep mode, but I don't know when. Event after reboot, no application running, still not sleep....
I had this problem with mine, it turned out to be some of the apps kept waking it, and then it wouldn't go back into deep sleep. I uninstalled some of them and haven't looked back since. Specifically Facebook was a big problem, even with no syncing.
JoshX said:
I had this problem with mine, it turned out to be some of the apps kept waking it, and then it wouldn't go back into deep sleep. I uninstalled some of them and haven't looked back since. Specifically Facebook was a big problem, even with no syncing.
Click to expand...
Click to collapse
The only app installed is Dual Battery Widget (I did a factory reset). Could it be the reason?
Maybe with this you can see more.

How to find apps keeping device awake?

Okay so, most people are saying that ICS Aurora battery is awesome.. clearly not my case.. After opening up CPU Spy, I noticed that phone was on for over 40 hours, and only in sleep mode for 24hours (64 hours: 41 mins uptime).. so it was mostly awake.
Now, I would like to find the culprit of this... my question is.. how can I? Is there anything that will show me how which app is keeping my phone up running at 368Mhz instead of Deep Sleep?
I have BetterBAtteryStats... but can't make sense of the things.
Thanks.
after battery charging routine the phone keeps wroking in lowest frequency and does not enter deep sleep.
If you reboot after recharching you will see that deep spleeps like a baby.
Its annoying I know but it works and I don't know any other way.
Never heard of the problem before. Thanks.

[Q] Nexus 4 battery drain while device is sleeping

Hi,
I have a new Nexus 4.
Sometimes when I check my device in the morning, I see that it lost ~40% at night.
This happens even if I turn off wifi and mobile data.
When I look at the battery settings I see that the device was sleeping the whole night.
So if the device is sleeping and there were no wake locks, what else can cause him to loose battery?
Thanks.
rm9 said:
Hi,
I have a new Nexus 4.
Sometimes when I check my device in the morning, I see that it lost ~40% at night.
This happens even if I turn off wifi and mobile data.
When I look at the battery settings I see that the device was sleeping the whole night.
So if the device is sleeping and there were no wake locks, what else can cause him to loose battery?
Thanks.
Click to expand...
Click to collapse
FB-Messenger, Skype, WhatsAPP to name a few candidates.
Try the cpuspy AP, this will tell you in which activity staus your phone is in and how long it is in deep sleep e.g.
torsin said:
FB-Messenger, Skype, WhatsAPP to name a few candidates.
Try the cpuspy AP, this will tell you in which activity staus your phone is in and how long it is in deep sleep e.g.
Click to expand...
Click to collapse
Thanks, I installed CPU Spy.
Seems like 46% was in deep sleep and 44% in a low frequency (384 MHz).
So how can I tell what caused it to get out of deep sleep?
Only one example is the monitor included in Android Assistant (useful APP in general IMO)
"Report location from this device" was the culprit in my case. Caused massive battery drain even when everything else was turned off.
Ysalamiri said:
"Report location from this device" was the culprit in my case. Caused massive battery drain even when everything else was turned off.
Click to expand...
Click to collapse
Thanks but it's already disabled on my phone.

Phone won't enter deep sleep....

Setup: running latest stock image (mhc19i). Rooted, xposed, ElementalX kernel with ghost pepper script, and I run naptime with aggressive Doze.
Issue: fell asleep with my phone around 50% battery remaining. Woke up seven hours later and it had 30 something. I typically don't see more than 1-2% idle drain over night so this got my attention. I checked better battery stats and I obviously have a wakelock issue. Not sure what it could be. Powermanagerservice was running at something ridiculously high, like 96%. Audiomix is the other wakelock running rampid. See screenshots below. Any input appreciated!
Pain-N-Panic said:
Setup: running latest stock image (mhc19i). Rooted, xposed, ElementalX kernel with ghost pepper script, and I run naptime with aggressive Doze.
Issue: fell asleep with my phone around 50% battery remaining. Woke up seven hours later and it had 30 something. I typically don't see more than 1-2% idle drain over night so this got my attention. I checked better battery stats and I obviously have a wakelock issue. Not sure what it could be. Powermanagerservice was running at something ridiculously high, like 96%. Audiomix is the other wakelock running rampid. See screenshots below. Any input appreciated!
Click to expand...
Click to collapse
Have you tried rebooting and then monitoring it to see if it happens again? It could just be a one-time bug, you'd need to reboot to confirm that though.
I was thinking that as well. I did recently reboot. I'm going to accumulate a good amount of up time and then check the stats again. As of now, battery drain seems to be normal.
Something is still keeping my phone awake while the screen is off...
Pain-N-Panic said:
Something is still keeping my phone awake while the screen is off...
Click to expand...
Click to collapse
I've seen this Audio Mix wakelock happen before on the OnePlus One, from memory I think it was kernel related, so switching kernels might be worth a try. You could also try using Wakelock Detector to see if it'll shed any more light on it, maybe it's an app rather than the kernel.
Hmm....think I solved my issue. I got audiomix wakelock to completely disappear. Simply going into settings and turning off all notification sounds did the trick. For me it's not an issue, however, for others who don't constantly keep their device on vibrate I could see this being a massive dilemma. I'm assuming "powermanagerservice" is a normal wakelock to observe?
Pain-N-Panic said:
Hmm....think I solved my issue. I got audiomix wakelock to completely disappear. Simply going into settings and turning off all notification sounds did the trick. For me it's not an issue, however, for others who don't constantly keep their device on vibrate I could see this being a massive dilemma. I'm assuming "powermanagerservice" is a normal wakelock to observe?
Click to expand...
Click to collapse
Yes, powermanagerservice is perfectly normal for when the phone is in use (or some background operation is running). You'll see it roughly correlates with your screen-on time.
I recently decided to check the huge battery drain during night and I found out that my phone would not go in deep sleep. Can anyone please help with that? Also, the 'jio' app I have been using was installed 50 days back and the battery drain similar before that too. Would be really great if I could find a solution for the deep sleep issue. I am trying to load the screenshots of betterbatterystats but not able to.
vikalp4jain said:
I recently decided to check the huge battery drain during night and I found out that my phone would not go in deep sleep. Can anyone please help with that? Also, the 'jio' app I have been using was installed 50 days back and the battery drain similar before that too. Would be really great if I could find a solution for the deep sleep issue. I am trying to load the screenshots of betterbatterystats but not able to.
Click to expand...
Click to collapse
Use gsam form the play store to find out what app is keeping your phone awake.
Uninstall said app.

Categories

Resources