huge mediaserver/audioout_2 wakelock hogging battery life - Nexus 4 Q&A, Help & Troubleshooting

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

Related

Bad battery life.

I only get 3 hours on screen time.
I used to get 6 hrs on my 8gb.
I got a 32gb now.
mk92595 said:
I only get 3 hours on screen time.
I used to get 6 hrs on my 8gb.
I got a 32gb now.
Click to expand...
Click to collapse
Cool story bro
Sent from my Nexus 7 using xda app-developers app
strafe_dog said:
Cool story bro
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Stfu if you don't wanna help, leave.
mk92595 said:
Stfu if you don't wanna help, leave.
Click to expand...
Click to collapse
You didn't ask a question...how is anyone supposed to help you with no details?
Sent from my Nexus 7 using xda app-developers app
It could be for a number of reasons. For one, is 3g on a lot? Do you game? Read Twitter, Facebook or Google+? Live WP, ect. We need more details please.
Saturny said:
It could be for a number of reasons. For one, is 3g on a lot? Do you game? Read Twitter, Facebook or Google+? Live WP, ect. We need more details please.
Click to expand...
Click to collapse
Stock everything, rooted. Wifi model. Use it for web and 15 min of gaming daily.
Try flash franco kernel or flash other rom !
mk92595 said:
Stock everything, rooted. Wifi model. Use it for web and 15 min of gaming daily.
Click to expand...
Click to collapse
Better battery stats for the wakelocks and cpu spy to see if your device is deep sleeping
Sent from my Nexus 7 using xda premium
kilometers4 said:
Better battery stats for the wakelocks and cpu spy to see if your device is deep sleeping
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
I agree with kilometers4. Better battery stats & cpu spy work well. I also suggest you download a battery calibration app. When I updated to Jelly Bean on my S3, the battery life sucked. But once I calibrated for a few cycles, it's great now. Same for my Nexus 7.
try switching to official CM10.1. Im getting 9hrs screen on time with it
strafe_dog said:
You didn't ask a question...how is anyone supposed to help you with no details?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I'm gonna hafta concur with this guy. However, I was having the same problem.
I used my keyboard to type into the search bar "bad battery life",
I looked at some similar titled threads and decided to look through this one
http://forum.xda-developers.com/showthread.php?t=1783390&page=3&highlight=nexus+7+not+charging
I followed the directions.
I did profit.
Next time use the search bar, and don't get butthurt when someone teases you a little. It's called the internet get used to it. And your a senior member you should know that.
When my nexus was brand new, i also had a few battery issues. But got it fixed after fully discharging the device a few times. Make sure it charges to 100% inbetween.
Verstuurd van mijn Nexus 7 met Tapatalk
If you are running 4.2 i would reccomend you switch back to 4.1
Inverro route
Try to disable NFC
It has to be a rogue app, I'm getting way over that on my stock n7 32gb, stock 4.2.1
jc
Sent from my Nexus 7 using xda app-developers app
Are toy charging with the OEM charger. I know there is a deep sleep
Bug on some devices where you have to reboot after reaching a full charge
Sent from my Nexus 7 using XDA Premium HD app
I find it kinda strange you only getting 3 hours out of it. On my Nexus 7 I can get little over 24 hours on a full charge. That's with basic web surfing, xda app, twitter and few YouTube videos.
Course if I do something more demanding like playing games I get less runtime on the battery.
Sent from my Nexus 7
I flashed Francis kernal and Cm10.1. Right now battery is 43% with 2 hours on screen time. So I format it and restore my apps using titanium backup?
Sent from my Nexus 7 using Tapatalk 2

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

Google Services Battery Drain

Today I noticed that Google Services is draining battery by using some services but unlike before it is using it a lot.
Did any one experience this strange issue?
Turn off GPS and auto sync.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Turn off GPS and auto sync.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I'm pretty sure that's one of the ways we can take in order to save a bit more battery, but then again, why are we buying high-end devices with GPS tracking for whatever apps or security as I have (cerberus app) or real-time mails of work, social feed, etc.
Someone will say that they don't need instant mails on the device or don't want the GPS; point is, having GPS/push notifications should not be an issue for any user since those are the features we can, want, could use..
Only thing I really miss on blackberry devices...
This did not happen before which makes it strange, well at least not having that much percentage.
Sent from my Nexus 4 using xda app-developers app
andyabc said:
This did not happen before which makes it strange, well at least not having that much percentage.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
X2. I agree, google services wasn't that bad for me before. But the last week or 2 its been quite bad. Im running rootmax v4 and am struggling to make my phone last 24 hours on one charge now, whereas before I could do it. GTALK_ASYNC_CONN.... is the bugger thats causing wakelocks for me!
Razuddin said:
X2. I agree, google services wasn't that bad for me before. But the last week or 2 its been quite bad. Im running rootmax v4 and am struggling to make my phone last 24 hours on one charge now, whereas before I could do it. GTALK_ASYNC_CONN.... is the bugger thats causing wakelocks for me!
Click to expand...
Click to collapse
Just to update on this. I done some reading online and found a few people mentioned that it was the latest play store update causing the battery drain. I went ino the app manager and deleted the update an went back to the original playstore apk that came with the rom.THis seems to have reduced my google services drain and my phone is lasting longer now
Razuddin said:
Just to update on this. I done some reading online and found a few people mentioned that it was the latest play store update causing the battery drain. I went ino the app manager and deleted the update an went back to the original playstore apk that came with the rom.THis seems to have reduced my google services drain and my phone is lasting longer now
Click to expand...
Click to collapse
Awesome, thanks for the update.
Sent from my Nexus 4 using xda app-developers app

Android OS wakelock draining battery

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

Less than 5 hours on a full charge?!

I know I'm a heavy phone user, but how are people saying they get 9+ hours of constant use, like watching videos, and I'm getting half that from texting, using Hangouts, and a couple social networking apps? My screen uses between 45-50% of that and the rest is apps, primarily the ones I use most.
Sent from my SM-N900V using xda app-developers app
cowboyaryk said:
I know I'm a heavy phone user, but how are people saying they get 9+ hours of constant use, like watching videos, and I'm getting half that from texting, using Hangouts, and a couple social networking apps? My screen uses between 45-50% of that and the rest is apps, primarily the ones I use most.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Mind posting battery stats?
cowboyaryk said:
I know I'm a heavy phone user, but how are people saying they get 9+ hours of constant use, like watching videos, and I'm getting half that from texting, using Hangouts, and a couple social networking apps? My screen uses between 45-50% of that and the rest is apps, primarily the ones I use most.
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
And how much screen time are you showing?
Sent from my SM-N900V using xda app-developers app
I unplugged from a charger about 330pm, it's now almost 8 with the following stats. This is driving me crazy, I feel like I can't unplug it. So today I get almost 6 hours to almost 10%
Sent from my SM-N900V using xda app-developers app
What launcher were you using? I unplugged at 7-8 am this morning and attached are my stats. Sometimes it drains more than others but overall the battery life is pretty amazing.
cowboyaryk said:
I unplugged from a charger about 330pm, it's now almost 8 with the following stats. This is driving me crazy, I feel like I can't unplug it. So today I get almost 6 hours to almost 10%
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
Well, for starters wifi is at 0% which means ur constantly using 4G which can suck ur battery dry especially if you're in an area with bad reception.
frieked said:
Well, for starters wifi is at 0% which means ur constantly using 4G which can suck ur battery dry especially if you're in an area with bad reception.
Click to expand...
Click to collapse
My wifi always shows it's connected as a solid blue line, but I've been on LTE all day.
Might be a rogue app running in the background or something? I use the Active Apps widget and randomly end programs from time to time while clearing up the RAM as well. Hopefully it's just a rogue app or bad battery?
cowboyaryk said:
I unplugged from a charger about 330pm, it's now almost 8 with the following stats. This is driving me crazy, I feel like I can't unplug it. So today I get almost 6 hours to almost 10%
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
You're definitely not getting what you should. Look at my stats, a lot of wifi but also not as much held awake time on my phone considering what I have as Battery time. Take a look around there's things you can disable like bloatware that may be holding your phone from sleeping. Also see if you can reconfigure that one app, maybe it updates to often. I don't usually have any app drain more then kernel and the android system.
Or its your battery if you've done all that.
Sent from my SM-N900V using xda app-developers app
Are you rooted?
thedoseofdopeness said:
Are you rooted?
Click to expand...
Click to collapse
If you are asking me, no.
Sent from my SM-N900V using xda app-developers app
I was having that same problem when first got my phone. I'm pretty sure it was the new themer application it, worked fine until I uninstalled it, then my battery constantly needed to be charged. To originally fix it I backed up and factory reset it then it seemed to be working fine but now that I'm rooted I have been using greenify and it works like a dream. It tells you in better detail what's draining your battery and what wakes it up in your background as it tries to sleep. Now I get about 22 hours with pretty regular usage
With 56 minutes on screen time, I should get close to ten hours... you must have an app that is killing your battery or that uses data alot
Sent from my SM-N900V using Xparent Green Tapatalk 2
Sorry uploaded wrong pic
Here is how mine is looking today so far, I would say my Note 3 outlasts my other phones no problem.. biggest offenders I noticed that wrecked mine was Google Settings>Location Reporting turned that off, and when I dont need it turn everything off in Settings>Location Reporting.. when I go out or want to use Google Now I turn it on .. I greenified a lot of the stupid apps like My Magazine or disabled them outright
[/COLOR]
NeoMagus said:
Here is how mine is looking today so far, I would say my Note 3 outlasts my other phones no problem.. biggest offenders I noticed that wrecked mine was Google Settings>Location Reporting turned that off, and when I dont need it turn everything off in Settings>Location Reporting.. when I go out or want to use Google Now I turn it on .. I greenified a lot of the stupid apps like My Magazine or disabled them outright
Click to expand...
Click to collapse
Three things, one are you rooted. Two if not, is the beginning of it while you are sleeping or using it? If using it, what other things have you tweaked If not rooted.
And third but completely unrelated, I see you have a sense clock, if you want a great one that is pretty much a perfect copy of sense, take a look at "sense v2 flip click and weather". I use that and love it
Sent from my SM-N900V using xda app-developers app
MACHEK said:
[/COLOR]
Three things, one are you rooted. Two if not, is the beginning of it while you are sleeping or using it? If using it, what other things have you tweaked If not rooted.
And third but completely unrelated, I see you have a sense clock, if you want a great one that is pretty much a perfect copy of sense, take a look at "sense v2 flip click and weather". I use that and love it
Sent from my SM-N900V using xda app-developers app
Click to expand...
Click to collapse
I can't speak for Neo but I'm rooted, but before then I still had amazing battery life because I disabled most if not all the bloatware.
I've disabled most of the bloat ware, I think. I'm it rooted. I'm just always plugging this thing in
Sent from my SM-N900V using xda app-developers app
I do want to root though
Sent from my SM-N900V using xda app-developers app

Categories

Resources