[Q] No deep sleep with Lollipop (plenty of screenshots inside!) - ONE Q&A, Help & Troubleshooting

Hey everyone,
I was just hoping you guys can help out a OPO newbie like myself. I recently just got the phone after switching over from a Nexus 5. However, as a Nexus 5 user, all I have known for months was Lollipop so the first thing I did when I got the OPO was to throw on a Lollipop ROM. However, I've seem to run into an issue regarding deep sleep.
First, I want to say that before Lollipop, I did use the phone for a day or two with CM11S and the battery was great (screen on and standby). Since it was great, I've never tried to see if deep sleep was working, but I assume it was since the battery was great.
Onto the Lollipop ROMs, the first one I threw on was LiquidSmooth and the idle battery drain was not good. I also threw on the CM12 alpha modem that was floating around to fix the double tap to wake issues. Anyways, I installed BBS and CPU Spy to see that the phone never went into deep sleep (off the charger). I even tested this over night and it was not in deep sleep for more than a few seconds. To try to fix this, I fresh installed LiquidSmooth without the modem (used CM11S modem) and the same issue persists (I did not install any apps, just CPU Spy so it cannot be any rouge apps). Thinking it was the ROM, I went to SlimLP and the same issue persists. Thinking it could be a kernel problem, I flashed the AK kernel and still the same. Again, all of these were clean flashes with only CPU Spy installed.
My last resort was to go to CM12 to see if it was an issue there and it unfortunately is. According to CPU Spy, the lowest it ever goes is 300 MHz. In the battery settings, it appears that "Android OS" is what's consuming the battery. Please take a look at the screenshots below of my phone off the charger while I was sleeping (note: with the WLD screenshots, I did install a few apps but it clearly isn't any of those that are causing the issue). Also note that I began sleeping at 95% and you can see that it drained about 40% overnight.
TL;DR -- my OPO simply refuses to go into deep sleep which causes massive idle battery drain (as reported by CPU Spy and BBS). Tried clean wiping and installing a different Lollipop ROMs, kernels, and radios without any solution. Cannot be a rouge app because I tested it with a fresh install. I would hate to have to go back to CM11S. Can anyone help please? I'm fairly savvy with flashing and all since I've come from a Nexus but I'm pretty stumped here.
Thanks!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

I came across this old post today, after seeing the exact same problem as you on the 20150317 build of CM12 stock. I tried installing the same apps as you, and got the same results. I am so confused, I never noticed this before. I am getting like a day and a bit battery life, which means if I fix this I should get around 2 days no problem.

Related

[Q] How to eliminate GTALK_ASYNC_CONN wakelocks?

I have a Nexus S 3G, and installed bone-stock, and got it to idle for 3 days 19 hours, give or take.
I wanted to try CyanogenMod, installed the latest stable (7.1), disabled Data Syncing, have a single GMail account, no apps installed and lose about 2-3% per hour battery life sitting still. I'm using the GladDOS 1.8 Kernel, which is what I used to get the 3 day idle before.
BetterBatteryStats shows that I have 11m23s of GTALK_ASYNC_CONN partial Wakelocks (this is over a 1 hour time period).
I used Titanium Backup to uninstall Google Talk, and still get the Wakelocks.
I'm going to re-install stock and re-verify stock idles fine.
Any ideas? I've searched high-and-low, and it appears it's a known issue, but I've yet to stir up an answer.
Anyone?
Thanks!
-Dan
I know its been a few weeks guys and apologies for pulling this back up but i suppose its better than starting a new thread.
I have pretty much the exact same problem as plymptop above, i installed betterbatterystats and after only 2 hours its chewing through battery power and pointing to GTALK_ASYNC_CONN"my email address" /android_talk etc and beside this it says "Count: 94.
I had my phone returned to stock 2.3.3 a week or so ago and this wasnt a problem but it seems no matter what custom rom i install, i still get high battery consumption. Anything from 6-12 hours with little or no use.
Anyone got any pointers on what i can do to correct this? Thanks in advance.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Surely we cant be the only ones having this problem?
I'm loosing the will to live because of this phone. If i dont get it sorted soon im gonna shoot it and buy the new one.
Spectre Nine said:
I know its been a few weeks guys and apologies for pulling this back up but i suppose its better than starting a new thread.
I have pretty much the exact same problem as plymptop above, i installed betterbatterystats and after only 2 hours its chewing through battery power and pointing to GTALK_ASYNC_CONN"my email address" /android_talk etc and beside this it says "Count: 94.
I had my phone returned to stock 2.3.3 a week or so ago and this wasnt a problem but it seems no matter what custom rom i install, i still get high battery consumption. Anything from 6-12 hours with little or no use.
Anyone got any pointers on what i can do to correct this? Thanks in advance.
Click to expand...
Click to collapse
Disable automatic backup in Privacy settings. Report back after this.

Kernel Wakelock at 100% 24/7 Driving me Crazy!!

See attached photo:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
No matter what ROM I flash or kernel I flash I always seem to have this show up. Only once I flashed a ROM/Kernel and it wasn't there. I made a nandroid backup of the ROM and then tried a different ROM. Same issue popped up again. So I ran superwipe and then restored my nandroid and it's doing it again!! I am using BetterBatteryStats to monitor and this shows up under Kernel Wakelocks. I have no clue what's causing it and it's draining my battery at an incredible rate. I've tried wiping cache and dalvik, reflashing kernels, reflashing ROMs!! I can't tolerate this anymore and it's driving me nuts!!! How do I get rid of it and what the hell is causing it!?! THANK you to anyone in advance who has ANY idea what this is or how to stop it!!!!
So freaking weird. This exact thing happened to my girlfriends phone out of nowhere a couple days ago. The weird thing? It is an Optimus V not a Sensation. I fixed it by just wiping everything and re-installing.
I am coming from a T-Mo G2x and NEVER had this happen once and I owned that phone for a year.
Anyone have any ideas I've been troubleshooting this forever and I am so close to slamming it against a wall!!!
Mine says the same thing but there isn't any battery drain for me. Are you sure 0 s doesn't mean 0 seconds? And that it's used 100% of the kernel wakelocks since there isn't any other wakelocks?
boodee0110 said:
Mine says the same thing but there isn't any battery drain for me. Are you sure 0 s doesn't mean 0 seconds? And that it's used 100% of the kernel wakelocks since there isn't any other wakelocks?
Click to expand...
Click to collapse
When I had one flash with 6.5.4 that kernel wakelock wasn't showing at all ever...and battery lasted over a day. When that kernel wakelock does show it's always at 100% and I'm lucky to get 5-6 hours out of a 100% charge.
I have now ran superwipe on my phone at least 20 times and also manually formatted everything through 4ext recovery and re-flashed ARHD 6.6.0 with all of the different options and yet I still continuously get this kernel wakelock and it's sucking my battery about 10% every 20 minutes!! When I had the last version of ARHD the same thing happened but I just ran superwipe a few more times and it stopped and as soon as it didn't show in kernel wakelocks anymore my battery life was amazing! Can anyone else confirm they have this under their kernel wakelocks using betterbatterystats? You can download it free right from XDA http://forum.xda-developers.com/showthread.php?t=1179809 I'm using 1.7.1...someone please help!!!
Yeah dude.. Nothing wrong at all.
0s means zero seconds of wakelock...
Check the built-in battery stats.
Is the "Awake" section a solid blue streak?

kworker/Android OS Battery Issues

Hello all,
I'm hoping someone can help me figure out what exactly is causing these issues as I've tried all sorts and I can't figure it out.
I'm getting battery drain via android OS (kworker process according to BBS) and I don't know what's causing it. I've attached some screen shots to highlight the problem;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see my phone isn't even awake according to the battery summary screen.
Does anyone know what could be causing this? Or how I can figure out what (app?) is using the kworker process?
I've restored my phone to stock, clean flashed mahdi and installed an earlier version of AK kernel (v068) that I know for certain I didn't have these issues on. However, I'm still getting the issue on a setup I know for certain I wasn't having any issues on a couple of weeks ago.
I've also tried restoring a nandroid from a few weeks ago that I know for certain didn't have any issues (I keep a backlog of 5 previous nandroids each time I update my kernel etc to try and ensure I always have 1 stable version) but I'm still getting the issue on that too.
Thanks for any advice/suggestions.
Anyone? It's driving me crazy! Haha
I'm still getting decent battery life despite this process error, it's just before this I was averaging 0.2% per hour while idle, I'm now averaging 0.6%
Should I be looking for an app as a culprit or is it the kernel/rom or something else completely? I'm guessing it's not the kernel/rom as I've ran this setup before without issues, but what I have managed to find on the kworker process online is that it's kernel related. :s
Just for information for anyone who finds this thread after having similar issues, I've solved it, I still have some kworker CPU time but that's to be expected - its MUCH lower than it was in the screenshots above.
One of or all of the following reduced my kworker process CPU times to a reasonable amount.
Set Wifi Ip address to static rather than dhcp on home network
Changed CPU governor from smartmax to intellimm (ak kernel)
Disabled all services in "Google play services" containing "location.reporting"
Powered by Bacon

Android System draining battery on lollipop, but only under wifi

the title says almost everything. I updated to last cmos12 release, flashed again, clean flashed again, wiped everything and fastboot super clean flashed again. nothing. Android system drains the battery on par with display. i have approx 3 hours cpu uptime for android system in a discharge cycle. but this behaviour simply disappears if i don't use wifi and only rely on mobile connectivity. ofc i have better battery stats and wakelock detector installed, so please ask me for things you need to help me understand and troubleshoot the issue and i'll provide them.
thanks in advance
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I have the exact same problem, although I'm not working on a rooted phone. Working on LTE goes ok, but the moment I switch on wifi the phone gets very very hot and drains the battery. Other than 'Android system' I cannot see any other process draining.
no hot phone for me. i get lots of wakelocks but they're 1-2 sec each so nothing to worry about. the phone deepsleeps well too. but those 3 hours of cpu uptome for android system drive me crazy.
any suggestion out there ?
Most likely it is a bug from Cyanogen os 12.
As it is still an initial build, I think you will get a more stable build in near future.
I will suggest you to check the following option under wifi > advanced settings > keep wi-fi on during sleep option.
I have this set as always.
If you have the same then you can try with the other options.
tried but ofc i need data connection while sleeping and relying on mobile data is more power consuming so no, wifi has to be always active during sleep ^^
arjov said:
the title says almost everything. I updated to last cmos12 release, flashed again, clean flashed again, wiped everything and fastboot super clean flashed again. nothing. Android system drains the battery on par with display. i have approx 3 hours cpu uptime for android system in a discharge cycle. but this behaviour simply disappears if i don't use wifi and only rely on mobile connectivity. ofc i have better battery stats and wakelock detector installed, so please ask me for things you need to help me understand and troubleshoot the issue and i'll provide them.
thanks in advance
Click to expand...
Click to collapse
Try this, it worked for me. Wifi settings seemed to be the problem. Changed the frequency from 'automatic' to '2.4 Ghz only' in the advanced wifi setting.. Now all Normal. I almost returned the phone thinking of a hardware issue.

Terrible idle battery drain!

I have a terrible battery drain when my phone is idle. Tried everything, but nothing solved it. Ever since Lollipop I have this issue.
Clean flashed MM and still nop. Flashed ElementalX 6.04 yesterday which still couldn't solve it. This is frustrating :crying::crying:
I have disabled everything too. No Wifi, data, bluetooth, location...etc (My phone is not a smart phone anymore)
Only adaptive brightness is enabled.
Yesterday I fully charged and went to sleep to find out it has drained 28% after a 7 hours sleep. Removed all the unpopular apps (suspicious apps) as well. BetterBatteryStatus says my phone has been in DEEP SLEEP throughout the whole time too.
Please give me a solution
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How old is your phone?? You might need to replace the battery. Especially you've already done everything from kernel, to clean flash to disabling apps and settings
your bstats also tells no abnormality? how about its partial wakelocks? can you post those so we can check it out?
Mojar7070 said:
How old is your phone?? You might need to replace the battery. Especially you've already done everything from kernel, to clean flash to disabling apps and settings
Click to expand...
Click to collapse
My phone is 18 months old. Yeah I guess my battery has run out of its course
Thank you for the reply
phantom146 said:
your bstats also tells no abnormality? how about its partial wakelocks? can you post those so we can check it out?
Click to expand...
Click to collapse
According to BBS my phone has been in deep sleep throughout the whole time. I'm assuming its the battery, I need to replace it may be.
I charged my phone again. I will post partial wakelocks too in few hours time.
Thanks alot
Even though it may not make a huge difference but you can try draining the battery out to 0 (until the phone can't stay on even after a force power on) and a full charge (30 mins to an hour overcharging after you see full battery indicator).. Gluck.
I replaced my battery, I was getting hard reboots as well. But wow with a new battery and marshmallow my nexus is like a new device.
99% no or unknown signal.
That could be the cause of your drain, when the phone has no signal or poor signal it will use a lot of battery to keep the connection alive. Set aeroplane mode on
Sent from my Nexus 5 using Tapatalk
maccboy2010 said:
I replaced my battery, I was getting hard reboots as well. But wow with a new battery and marshmallow my nexus is like a new device.
Click to expand...
Click to collapse
Glad it was fixed

Categories

Resources