Nexus 7 Not Entering on Deep Sleep - Nexus 7 (2013) Q&A

I've got my 2013 Nexus 7 last week and i unlocked the bootloader and rooted. The battery used to be amazing but last night it drained 30% with wifi off, i checked and it wasnt going on deep sleep. Tried cyanogenmod but it doesnt gets in deep sleep too. Anyone else?

Install any apps?
I think there are programs that can monitor your tabs deep sleep and list which apps are keeping it awake or waking it up.
I'm running CM Kanged and just checked mine. I have about 89% deep sleep state.
Is something running in the background? How are you seeing deep sleep statuses? Or you just going by battery life/battery life?
Maybe a new app update?
Sent from my Nexus 7 using XDA Premium 4 mobile app

player911 said:
Install any apps?
I think there are programs that can monitor your tabs deep sleep and list which apps are keeping it awake or waking it up.
I'm running CM Kanged and just checked mine. I have about 89% deep sleep state.
Is something running in the background? How are you seeing deep sleep statuses? Or you just going by battery life/battery life?
Maybe a new app update?
Sent from my Nexus 7 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
No apps are causing the wake lock because I factory reseted it. Besides, I used better battery stats and the tablet was being wakelocked by the kernel, specifically this service:

Use the googles, Luke.
http://productforums.google.com/forum/#!topic/mobile/c4HRzEUNmFk

Related

No deep sleep?

So after using about 3 GB kernels (Nubecoder, mkasick, IAP) for the past few days, I've noticed that my CPU Spy app has not detected any deep sleep frequencies whatsoever. Is this normal? Because from what I can remember, past Froyo kernels I've run have always used deep sleep frequencies when left idle.
Sent from my SPH-D700 using xda premium
From what I've read, we don't literally use deep sleep, but I believe it can be done by a kernel dev taking source from a modified nexus kernel. To my knowledge, our epics aren't really ever entering deep sleep (unless you count shutting off your phone as deep sleep, lol) just a hibernation-ish sleep? Like a pre-quel to deep sleep, but no 'true' deep sleep with the kernels we have at the moment. I sure do wish a kernel dev looked into it though. The battery savings would be insane that it even makes ME want to cook the code into the kernel if I had the proper experience.
Sent from my SPH-D700 using XDA App
No that is not normal. If you have the phone off charge, screen off and not using it for about 15 minutes, some deep sleep should be seen in CPUSpy. It does not sleep while on charge. If you cannot obtain deep sleep according to CPUSpy you should Odin back to stock and move forward from there or get better battery stats and try to find out what is keeping your phone awake. Perhaps a bad sync or chat app like gtalk, google + or something like that.

[Q] How do you find out which app is causing a WAKE LOCK?

How do you find out which app is causing a WAKE LOCK?
same question. If someone knows, please enlighten us.
Thanks
There are a few apps that are available in the market to single it down if it's not obvious like facebook
Better battery stats is one off my head, you can single it down by seeing what's using battery usually by going to settings > battery and seeing what's at the top... If it's not display then you've got a wake lock usually.
.. unless you're doing standby battery tests
sent from my googletron
The best way to check if you even have any wakelocks is to check the battery graph under settings and see if your phone's awake time is greater than it's screen time (I attached an example of my phone's graph while asleep a few nights ago)
If it's like mine you obviously have some wake locks...and to find out what services are waking up your phone, already recommended Better Battery Stats shows you what woke your phone via partial and kernel wakelocks...partial wake locks are what you're really looking for since kernel wake locks are obviously at the kernel level and if you're using a halfway decent one it shouldn't really be a problem
From here you just need to track down what services are initiating the partial wake locks (the service name is listed) and either turn it off or uninstall the associated app
EDIT: The Galaxy Nexus (for me at least) has been causing issues with wakelocks at least on 4.0.3 (see my stats attachment) but it's looking like a core OS thing and since 4.0.3 hasn't even been pushed out OTA yet it would make sense that they're ironing a few things out. Though I still am trying to troubleshoot what the services are specifically
Sent from my Galaxy Nexus using xda premium
Better battery stats allows you to see partial wakelocks
Sent from my Galaxy Nexus using xda premium
joshnichols189 said:
Better battery stats allows you to see partial wakelocks
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
+1
Sent while thinking about my Galaxy Nexus

Battery drain

I am losing about 2-3% battery an hour even when tablet is just sitting there. I've put it in airplane mode to see if it was the wireless but it has not helped. I've even done a factory reset and let it sit there in airplane mode without any of my apps installed and it was still losing about 2%/hr. I monitor the usage and it seems that three different kworker/u:0 process is constantly taking up CPU even during sleep. All I can find on Google is that it is a swapping process. Why it is swapping when system is sitting there is beyond me.
Anyone having similar issue?
Sent from my A500 using Tapatalk
Are you on the gen2 build? My tablet ate battery life like crazy when I first picked it up. I tried removing bloat, airplane mode, even factory reset. It didn't go away until I downgraded to gen1 and removed all the un-needed apps, now it will sleep all day in my car in airplane mode and be at 99 to 97% when I get home.
I was on gen2 but I downgraded to Gen1 with all the updates. I only froze all the bloat with titanium backup. Guess I'll uninstall to see if that makes a difference.
Sent from my HTC Glacier using Tapatalk
Try installing auto airplane mode by don and CPU spy so you can see if your tablet is going into deep sleep
By the way I have gen1 on my tablet
Have you tried the tweaked build.prop by crossix? It did quite a difference for me. He did some tweaks in there to lower the battery drain.
I am using the new buld.prop. I just need to track down whatever process is using kworker/u:1. Seems to be the main battery killer.
Sent from my A500 using Tapatalk
I used betterbatterystats on my GB phone to find the source of a battery drain at one point, it shows what apps are holding the CPU in a wakelock and what percentage of time they are held. Don't know if it works with HC though. Haven't had a reason to try it. :-\
Sent from my A100 using Tapatalk
madman_sle said:
I used betterbatterystats on my GB phone to find the source of a battery drain at one point, it shows what apps are holding the CPU in a wakelock and what percentage of time they are held. Don't know if it works with HC though. Haven't had a reason to try it. :-\
Sent from my A100 using Tapatalk
Click to expand...
Click to collapse
ditto. i get amazing battery life. im at 2 days 3hours and at 55%
Sent from my SGH-I897 using xda premium
Gonna check that app out. I did find one source of battery drain though. It was the Google docs app. Look like it was waking up every once in a while to sync. Uninstalled it and only losing about 1-2% /hr now. Getting better.
Sent from my A500 using Tapatalk
Disabling auto-sync and the Background data under settings>accounts & sync can help save some battery as well. You could only enable background data if you really need it (with Market, etc).
Sent from my A100 using xda premium
Autosync is disabled. Not sure why but Google docs just seems to wake the tablet up every once in a while from deep sleep.
Sent from my A500 using Tapatalk

(unrooted)100-79% in 2.5hrs standby battery drain :(

as the screenshots say, the battery drain is weird, can anyone tell me why this happened ..
multi picture live wallpaper is on, could it be that ?
sync is off, google now is off
Maybe your phone isn't deep sleeping because of wakelocks, it could be your wifi, but that shouldn't really be a problem, especially on standby for only 2.5 hours. If you wanna make sure your phone enters deep sleep mode, download the "CPU spy" app on the market.
Edit: oh i see your unrooted, i dunno if that app works on unrooted phones, but the off your live wallpaper and see if that helps.
Sent from my Galaxy Nexus using xda premium
Fire n mage said:
Maybe your phone isn't deep sleeping because of wakelocks, it could be your wifi, but that shouldn't really be a problem, especially on standby for only 2.5 hours. If you wanna make sure your phone enters deep sleep mode, download the "CPU spy" app on the market.
Edit: oh i see your unrooted, i dunno if that app works on unrooted phones, but the off your live wallpaper and see if that helps.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
would work without root ?
EDIT : oh you edited after i posted lol, alright ill try turning off the wallpaper, but i doubt a live wallpaper can drain so much
http://forum.xda-developers.com/showthread.php?t=1179809
somethings wont be available without root access.
sent from my i9250

Poor battery life in 5.1 due to kernel

I updated to 5.1 a few days ago and noticed that the battery was draining quite a bit faster than in 5.02. I'm rooted and have gsam battery monitor installed and the kernel is accounting for about 20% of the battery drain...more than any other app and even more than the android system. Wondering if anyone else is having the same problem and what I might try to fix it.
Sent from my Nexus 5 using XDA Free mobile app
Not here. Same (great) battery life as 5.0.2.
"kernel is accounting for about 20%" doesn't tell anything. Install better battery stats and check the kernel and partial wakelocks to see what's keeping it from deep sleep. There's a free version here for xda members.
I installed BBS but it will probably be until this weekend before I have the time to figure the app out. Looked a little complicated in the few minutes I've messed with it so far.
Sent from my Nexus 5 using XDA Free mobile app
It's pretty easy. Enable watchdog in the setting and set it to "screen off" in the dropdown menu then just shut the screen off for a couple hours. Turn it on and check the cpu states and your kernel and partial locks to get an idea of what's keeping it up. You want a your deep sleep in the 90's. You can do that with all google services turned on. If ya got facebook or something installed theres your problem.

Categories

Resources