Android OS wakelock draining battery - Nexus 4 Q&A, Help & Troubleshooting

I've seen people here and there say they've seen this too, but no one seems to have an answer. My battery isn't lasting until work ENDS, a far cry from when I used to plug it in after work, at home, at 20-30%. It just randomly started happening.
Noticed this on both 4.2.2 and 4.3. I've tried .48 radio and .83, stock and PA, stock kernel and Franco, heard it's common on CM also.
Anyone actually know anything about this? I'd love to last an entire day not having to turn off sync when I'm not using my phone, and other battery salvaging methods.
Sent from my Nexus 4 using XDA Premium 4 mobile app

jphilippon said:
I've seen people here and there say they've seen this too, but no one seems to have an answer. My battery isn't lasting until work ENDS, a far cry from when I used to plug it in after work, at home, at 20-30%. It just randomly started happening.
Noticed this on both 4.2.2 and 4.3. I've tried .48 radio and .83, stock and PA, stock kernel and Franco, heard it's common on CM also.
Anyone actually know anything about this? I'd love to last an entire day not having to turn off sync when I'm not using my phone, and other battery salvaging methods.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This is < 9 hours unplugged and < 2 hours SOT.
Sent from my Nexus 4 using XDA Premium 4 mobile app

lets see a screenshot of your whole battety stats page, with all the apps listed and usage. that android os by itself means nothing.

jphilippon said:
I've seen people here and there say they've seen this too, but no one seems to have an answer. My battery isn't lasting until work ENDS, a far cry from when I used to plug it in after work, at home, at 20-30%. It just randomly started happening.
Noticed this on both 4.2.2 and 4.3. I've tried .48 radio and .83, stock and PA, stock kernel and Franco, heard it's common on CM also.
Anyone actually know anything about this? I'd love to last an entire day not having to turn off sync when I'm not using my phone, and other battery salvaging methods.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Download wakelock detector and greenify from Play store. Wakelock detector will tell u what exactly is keeping ur phone awake and freeze it with greenify
Sent from my Nexus 4 using xda app-developers app

simms22 said:
lets see a screenshot of your whole battety stats page, with all the apps listed and usage. that android os by itself means nothing.
Click to expand...
Click to collapse
Meant to include both sorry.
Sent from my Nexus 4 using XDA Premium 4 mobile app

jphilippon said:
Meant to include both sorry.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
your android os looks normal. seeing that you didnt use the phone much, your screen on percent is lowered. since your screen on percentage is lower, all others will appear higher than you would think they should be. but if your screen was using 50-65% of the battery as it would for normal use, then your other percentages would be lower. anyways, your android os is normal. what i would look for is an app in the background behaving badly, or disable a notification or two if you have many. if you have root, i would install greenify and then greenify a bunch of apps.
my android os usually hangs between 4-8%, but my screen is usually around 60%(with heavy use).

simms22 said:
your android os looks normal. seeing that you didnt use the phone much, your screen on percent is lowered. since your screen on percentage is lower, all others will appear higher than you would think they should be. but if your screen was using 50-65% of the battery as it would for normal use, then your other percentages would be lower. anyways, your android os is normal. what i would look for is an app in the background behaving badly, or disable a notification or two if you have many. if you have root, i would install greenify and then greenify a bunch of apps.
Click to expand...
Click to collapse
I think the proportions seem right but I've never had 1-2 or more HOUR wakelocks, it just caught my attention.
Sent from my Nexus 4 using XDA Premium 4 mobile app

jphilippon said:
I think the proportions seem right but I've never had 1-2 or more HOUR wakelocks, it just caught my attention.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
i never look at wakelocks, that is how our device is supposed to work. granted, occasionally an app will create a wakelock that gets stuck, but thats just bad coding on the app by that developer. watching wakelocks will waste more of your time than its worth. take control of your apps instead, dont let them run rampart.

Neither BBS or Wakelock Detector is helpful in diagnosing Android OS battery usage. Most of the time it shows as PowerManagerService.Wakelock in Kernel Wakelocks, and pages from google state that is it a sum of Partial Wakelocks adding to PowerManagerService.Wakelock. But there was one time I had a 15 hour wakelock from PowerManagerService.Wakelock and looking in Partial there wasn't anything really significant, most entries being 20mins or something at the top of the list, 10 minutes on the next, and so on.
Whatever it is, it's particularly bad on 4.3 both on my Nexus 4 and Nexus 7.

So I listened to some music for roughly 20 minutes in the car. Set my phone down to watch TV. Came back 45 minutes later and it dropped ~25%. This is WITH 3.5 hours SOT. android somehow still takes top spot. Help?
sent from my Mako using XDA Premium

jphilippon said:
So I listened to some music for roughly 20 minutes in the car. Set my phone down to watch TV. Came back 45 minutes later and it dropped ~25%. This is WITH 3.5 hours SOT. android somehow still takes top spot. Help?
sent from my Mako using XDA Premium
Click to expand...
Click to collapse
sent from my Mako using XDA Premium

Everything was fine after the 4.4.2 update until a couple of days ago. I noticed a heavy battery drain during the night - approx. 20%. The conclusion I made: Android OS is back. The WiFi was on, but the router was off, so I though it might have something to do with it trying to establish a connection.
This past night I turned the WiFi off and left the 3G on. 10+ hours of wakelock from Android OS and 30% drain. So, what am I missing here?
The worst part is that those f"%^* from Android developers team has disabled any reporting from the running processes in the latest version.

Torque77 said:
Everything was fine after the 4.4.2 update until a couple of days ago. I noticed a heavy battery drain during the night - approx. 20%. The conclusion I made: Android OS is back. The WiFi was on, but the router was off, so I though it might have something to do with it trying to establish a connection.
This past night I turned the WiFi off and left the 3G on. 10+ hours of wakelock from Android OS and 30% drain. So, what am I missing here?
The worst part is that those f"%^* from Android developers team has disabled any reporting from the running processes in the latest version.
Click to expand...
Click to collapse
You can use the stock google app to find what google app is running during the wakelocks. Just go into Settings -> Apps -> Running tab and see what google process are running. Then download and use "Disable Service" from the playstore to find and disable the suspect google apps.
My phone would stay wakelocked after a call or gmail check all because of gcm_google service. I disable it under Playstore services using Disable Service and my google wakelocks went away. Worth a try.

same problem here

misuse of wake locks can easily lead to energy waste

"Android os" usually is the kernel while "Android system" is, well the system. Try changing kernel, it fixed the issues for me.
Hit thanks if I helped you

Related

Battery issues

Hi guys. Need some help. Very happy with my nexus 4 but, and its a big but, i am having some serious issues with the battery. I am struggling to even get 2 hrs of screen time on my nexus 4. The battery cant be this bad. Is there any way i can see what is exactly causing my battery drain? Sync, nfc is turned off. No widgets r running. Cant understand it. May have to rma this thing.
Help please.
Sent from my Nexus 7 using xda app-developers app
This is probably the cause of your problem.
http://forum.xda-developers.com/showthread.php?t=1999368
Sent from my Nexus 7 using xda premium
didi you root the phone? if so what rom/kernel are you using?
Sent from my Nexus 4 using xda app-developers app
KyraOfFire said:
didi you root the phone? if so what rom/kernel are you using?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Stock. Not done anything to it
Sent from my Nexus 7 using xda app-developers app
What kind of apps do you have?? Like apps that you think might drain some battery. Also use betterbatterystat app to monitor what's waking your device.
Sent from my Transformer Pad TF300T using xda app-developers app
moghm said:
Stock. Not done anything to it
Click to expand...
Click to collapse
With stock, around 2 hours of screen on time is typical. You can prolong the battery life by disable Google Now, location service, email sync, Playstore auto update, etc. Check your battery stats (try better battery stats from the store) to see if any third-party apps drain your battery.
The better way to do it is to unlock bootloader, root your phone then flash a custom kernel. I recommend franco.Kernel. 3-4 hours of screen on time is typical with franco.
KyraOfFire said:
With stock, around 2 hours of screen on time is typical. You can prolong the battery life by disable Google Now, location service, email sync, Playstore auto update, etc. Check your battery stats (try better battery stats from the store) to see if any third-party apps drain your battery.
The better way to do it is to unlock bootloader, root your phone then flash a custom kernel. I recommend franco.Kernel. 3-4 hours of screen on time is typical with franco.
Click to expand...
Click to collapse
Might as well flash a custom ROM with it if you're going to use a custom kernel IMO. When a new OTA, OP will have problems updating to it because he is using stock + custom kernel + custom recovery.
Here is how to fix your battery problem.
1. Turn off location access in Google Maps settings.
2. Wait about a week for the battery to go through its charge cycle 6-10 times. Let it get as low as possible without the battery dying (this is really bad) and be sure to let the battery sit at 100% for atleast a half hour or so when fully charged.
Each day you will see your battery life increase and when done, you should be getting around 5 hours screen on time.
Well dramatic change in battery life as displayed below. Now after having a read in several topics it seems like a fix is to have the wifi on. How strange as this goes against the ethos of all previous smartphones i have owned i.e. wifi on drains battery. I have uninstalled a few apps and also switched of location access, so to be sure that the fix is wifi related i will switch wifi off the next time i do a full charge and see how that behaves. By the way android os is way down in battery consumption now.
Sent from my Nexus 4 using xda app-developers app

Massive battery issues

Hello folks.
I'm currently on Aokp 4.2.2 unofficial with Francos r90 Kernel, bootloader and Radio are both updated. I'm suffering from massive battery draining. I guess something isnt letting my CPU sleep properly, as i always get messages like "100% awake while screen off" from battery stats plus. I'm just getting up to 2 hours screen on time, and battery is falling by about ~7% / hour With normal usage (whatsapp, News, xda) and like 15 Minuten screen on time in that hour. Also, see the attached Images. I sometimes have wakelocks by audioOut_2 and as you can See, maps is using more battery than the Display itself.
On an additional Note, GPS is always off, im using Taster to locate, but with cell near only.
Would be very Kind to help me out of this issues, thank you a bunch!
Sent from my Nexus 4 using xda premium
Turn off Location Services for a little bit to see if that helps.
You should try a program like autostarts, and don't allow things to run unless explicitly started by yourself. This way it'll help identify if there is an misbehaving program.
I saw you were using franco r90 which could be an issue. Try going back to the last stable
I think you will like this application.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
This simple application will make your annoying applications to go to sleep. Therefore your phone can finally go to sleep like it should when it's not in use. I see that Google maps seems to be the culprit in your battery drain. You can use titanium backup and delete it and install it back again from the play store. After that you can use the application that I've given you and force it to go tot sleep.
Here's the forum for the application:
http://forum.xda-developers.com/showthread.php?t=2155737
AW: Massive battery issues
Thanks guys! I disabled some Autostarts and greenified some apps. I'll Report the outcomes later today.
Sent from my Nexus 4 using xda premium
JoeBananas_ said:
Thanks guys! I disabled some Autostarts and greenified some apps. I'll Report the outcomes later today.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
If that doesn't work I recommend you flash the matr1x kernel I'm on it and I get very good life on this phone so yeah give it a try if u want
sent from my Nexus 4 in Equestria
Click it I dare you?
http://forum.xda-developers.com/showthread.php?t=1784401
AW: Massive battery issues
Thanks for your reply. Yeah im already thinking about flashing matr1x or trinity Kernels. How much screen on time Do you get with matr1x?
I reinstalled maps, greenified maps and facebook. Updated to Franco 92. Already getting better results with greenified maps, but i get following wakelocks:
"pm8921_eoc", "msm_otg" and AudioOut_2 and still notifications from bbs: 100% awake.
Apps running are: astrid, avast, Francos updater, Rom toolbox, Tasker
Sent from my Nexus 4 using xda premium
AW: Massive battery issues
Does anyone have some knowledge about How to identify why Android OS is consuming so much battery Life? While screen off some process is waking up the Device, up to 1.5 GHz.
Sent from my Nexus 4 using xda premium
I also have MASSIVE draining issues. Took my phone off charge around 9am this morning... 1hr screen time... 8% battery left and its only 13:45 Pacific time...
Latest Faux running in dual core ECO MODE underclocked to 1.3Ghz with Stock 4.2.2,,,, still get ****ty ass battery life...
AW: Massive battery issues
Do you see any wakelocks using the better battery stats app? Which apps are running?
Sent from my Nexus 4 using xda premium
JoeBananas_ said:
Do you see any wakelocks using the better battery stats app? Which apps are running?
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I just bought it ( for $3), sooo now I have to wait and see what is causing this....
stealthj said:
I just bought it ( for $3), sooo now I have to wait and see what is causing this....
Click to expand...
Click to collapse
Cannot wait til you update us!
Coming from the iphone 4, good battery life is the most important thing i miss. I need a rock solid reliable phone or else would have started to mess around a read about Kernels to see how they may help with better battery life. My iPhone would last me 3-4 days of general use. To me General use is very light use..! With nexus it lasts max 1-2 days but more importantly i need to be concious what the battery level is. With th eiphone i never really bothered as i knoew i would get at least 2 days if not more.
AW: Massive battery issues
Still got audioOut_2 wakelock. Except that onr, everything is fine After Kernel update, greenifying and disabling Autostarts
Sent from my Nexus 4 using xda premium

High battery consumption by stock kernel

Hi guys,
Last night I had 15% drop at the battery, wifi was off, gps was on.
From gsam i saw that the kernel drained the most.
Does anyone have any ideas how to avoid this kind of battery draining?
Few days after I got the phone I had 0%(!) battery drain at night and it was along few night, for some reason i cant reach same level of battery drain at night now.
Thanks in advance.
You have some weird apps keeping your phone awake, nova launcher? Have never seen that one in my list. Install betterbatterystats to see the wake locks in detail.
Sent from my Nexus 4 using xda app-developers app
kwibis said:
You have some weird apps keeping your phone awake, nova launcher? Have never seen that one in my list. Install betterbatterystats to see the wake locks in detail.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I don't think that's a wakelock list buddy, it's just listing which processes used the battery the most.
Apex, run this for a few hours and post a screenshot.
Betterbatterystats is an app that shows into detail the wakelocks, alarms, frequencies etc. Don't know the app you gave, maybe it does the same.
http://forum.xda-developers.com/showthread.php?t=1179809
ok so here are the findings:
I froze news&weather since i dont use it and put taptalk on 3 hours intervals of checking.
I'll read more into BBS analysis to retrieve further information
anyone?
It doesn't seem like there are any weird wakelocks. How many hours of screen on time do you get?
Sent from my Nexus 4 using xda app-developers app
Turn off your GPS.
Why do you need it on when you're sleeping? do you sleep walk? Don't answer that. Lol
I recommend downloading this app called "greenify" and find that app and hibernate it.
Sent from my Nexus 4 using Tapatalk 2
I also installed greenify, but it just doesnt seem to work well... every now and then, when I check on greenify, I need to re-freeze the Maps App, even though I didnt start it in the mean time.
Speaking of which, why does Maps keep the phone awake that long (or wake it that often) and drain so much battery at all?
anyone got an answer to this?

huge mediaserver/audioout_2 wakelock hogging battery life

Today i want to work and put the device in a drawer. never touched it during the whole shift but one phone call. during a five hour period 30% of the battery was wasted. bbs showed audioout_2 wakelock took place for 5 hours. screen time was 30 minutes. I haven't kept any screen shots from bbs but i did capture on system battery usage.
what could have caused it?
Sent from my Nexus 4 using xda app-developers app
I'm having the same issue here
, couldn't find the sollution yet..
Sent from my Nexus 4 using xda app-developers app
weird. ain't nobody here aware of this?
Sent from my Nexus 4 using xda app-developers app
op, perhaps a little enlightenment on your setup(rom/kernel) would yield helpful information from someone running similar setup
good luck
Sent from my Nexus 4 using xda premium
QUIETLYloud said:
op, perhaps a little enlightenment on your setup(rom/kernel) would yield helpful information from someone running similar setup
good luck
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
STOCK EVERYTHING .
not even rooted or bootloader unlocked. An out of the box Nexus 4 16GB (301k),.
Perhaps there's a corrupted media file somewhere in the storage system.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Perhaps there's a corrupted media file somewhere in the storage system.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I have no media files on my storage, all my music is via GOOGLE PLAY.
(the wakelock is not caused by google play because since I booted the phone I have not listened to any music)
There seems to be a fix for the problem, haven`t used it myself though. Link http://forum.xda-developers.com/showthread.php?t=2050252. Its a init.d script at boot and you need root.
I wish to avoid rooting my device. when I bought the nexus I wanted to have a vanilla Google experience.
Also I don't wanna void my warranty.
michel9501 said:
I wish to avoid rooting my device. when I bought the nexus I wanted to have a vanilla Google experience.
Also I don't wanna void my warranty.
Click to expand...
Click to collapse
Not rooting a Nexus is like forbidding the Pope to pray But to each his own.
Yeah I know, I think I'll root if i hear reports that rooted devices can receive official google updates
michel9501 said:
Yeah I know, I think I'll root if i hear reports that rooted devices can receive official google updates
Click to expand...
Click to collapse
Look here for flashing OTA`s when rooted http://forum.xda-developers.com/showthread.php?t=2145848.
and what of the audio out 2 wakelock? I'm still getting high wakelock times because of it
Sent from my Nexus 4 using xda app-developers app
I remember one time, I left a game without closing the game. 5 hours later my battery dipped and I tried to figure out why. I realized that the game was still running in the background and drained a good 30% of my battery because of the mediaserver. I know it was still actice cuz when I hit recent it picked up exactly where I left off with no lag jumping back into it.
I'm guessing the game isn't coded to freeze in the background when you leave it. I could be wrong, but this is one possibility I think.
I'm on PA, with the matrix kernel. The game is called PAD in case anyone wants more info. I say, just be sure to exit games or generally certain apps when you finish playing them.
This only happened once and since then never again since I started closing that particular app correctly. Also, I don't mess with any music volume booster mods. Just get some noise isolating earbuds/headphones. The volume booster mods definitely killed battery much quicker than it was worth with my first nexus 4
I close everything and still got 1.5h of AudioOut_2 and AudioOut_3 wakelock overnight . 20% battery drain overnight. normally my battery drains 5-6% overnight.
up
Maybe there is a corrupt file on your phone, it doesn't have to be music, could also be a ringtone or a video.
considering you don't want to root I would consider factory reset then reinstall 1 app at a time until you find the culprit. I know it's time consuming but it's either that or keep your charger handy
Sent from my Nexus 4 using xda premium

[Q] Nexus10 battery life with KitKat4.4

My N10 has this 1 issues where the device keeps awake when the screen is on.
Is this normal ?
Can anyone help me
The device is stock unrooted.
ahodil55 said:
My N10 has this 1 issues where the device keeps awake when the screen is on.
Is this normal ?
Can anyone help me
The device is stock unrooted.
Click to expand...
Click to collapse
Did you mean when the screen is off? Because obviously it status awake while the screen is on. But there may be an app keeping it awake. Make sure all your apps are trusted
Sent from my Nexus 5 using xda app-developers app
when the screen is on. ive never experienced this when its on Jellybean 4.3
and all the apps ive downloaded are from Google Play Store of course.
anyone ???
ahodil55 said:
anyone ???
Click to expand...
Click to collapse
I'd go for a wakelock detecting app like "better battery stats" or "wakelock detector" to see which app could be the culprit. "Greenify" could then be used to block that app from keeping your tablet awake.
I personally do have no issues with standby whatsoever. I'd say I lose about 3-4% of battery during the day on 4.4. (WLAN and sync on all day, but I'm taking it to work where I have no WLAN I could use). I guess I had the same mimimum drain on 4.3. So standby couldn't be better on N10 in my opinion.
I only had one issue so far, where at about 25% of battery left it suddenly began to drain like 10-15% an hour, thus leading to my N10 shutting off after about 2 hours. No idea what caused that drain in standby.
I second that, get better battery stats or something similar to see what's keeping it awake.
Sent from my SGH-I747M using xda app-developers app
AFAIK, BBS needs root in order to use em. And i cant root the N10 as it belongs to my mother
You don't need root for bbs
Sent from my SGH-I747M using xda app-developers app
Same here...very bad battery after moving to kitkat..
This is what I get...which is atleast 50% worse off
Update :- the charging time seems to have gone up significantly for both USB and power socket.
Sent from my Nexus 10 using xda app-developers app
meletios said:
Same here...very bad battery after moving to kitkat..
This is what I get...which is atleast 50% worse off
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
mhm ... will not install 4.4 if the battery life is that terrible. Did you guys control the typical Google apps, which usually like to eat a lot of battery?
I have this since 4.4.2 on my Nexus 10 and 7v2. Not on the 5. My N10 uses almost every juice for Android OS. Before it used 5% for 1-2 days for standby. Now 3 hours. See screenshot. Is this normal?
And it wasn't awake. See other screenshot.

Categories

Resources