[Q] Mediaserver battery drain issues - Nexus 4 Q&A, Help & Troubleshooting

I have a brand new 8GB Nexus 4 running Stock Android 4.2.2 with Mediaserver battery drain issues. I started noticing it about 3 days after I got the device last week. I did a complete factory reset, formatted user data partition/cache/dalvik cache and even reinstalled 4.2.2 and I still get the MediaServer battery drain. I don't have any music or pictures on the phone and I only have a handful of apps installed. I have disabled Google Currents Sync and Music Sync as I don't use either one of those. I have nothing on the "SDCARD", no pictures, music, nothing. I sitll see the battery drain though at a rate of about 10-15% per hour. Is there anyway I can find out what is causing the Mediaserver battery drain?
Apps I have installed:
Beautiful Widgets
Bejeweled Blitz
Candy Crush Saga
Facebook
Dashclock Widget

Please use the search function.
Sent from my Nexus 4 using Tapatalk 2

Related

Massive battery drain

Hey guys. Recently my battery has been dying at an alarming rate. According to BBS it's from a process called diagnostics.client.Wakelock, does anyone have an idea what could be causing this?
I started noticing the drain after setting up my Galaxy Gear, don't know if that may have something to do with it.
Thanks!
Dan
Sent from my SAMSUNG-SM-N900A using xda app-developers app
dankind64 said:
Hey guys. Recently my battery has been dying at an alarming rate. According to BBS it's from a process called diagnostics.client.Wakelock, does anyone have an idea what could be causing this?
I started noticing the drain after setting up my Galaxy Gear, don't know if that may have something to do with it.
Thanks!
Dan
Sent from my SAMSUNG-SM-N900A using xda app-developers app
Click to expand...
Click to collapse
Same issue here. Not sure what it is. Google didn't help much either (besides finding this post)
schwiing said:
Same issue here. Not sure what it is. Google didn't help much either (besides finding this post)
Click to expand...
Click to collapse
I am seeing the same wakelock keeping my device awake and hence draining the battery while in standby. Found nothing else on the web other than this forum
Why don't you ask in the BBS thread, i think you'll get more responses there.
Sent from my Galaxy Note 3 using Tapatalk
uf21 said:
Why don't you ask in the BBS thread, i think you'll get more responses there.
Sent from my Galaxy Note 3 using Tapatalk
Click to expand...
Click to collapse
Thanks! I'll give that a shot.
I am facing a huge battery drain as well after the recent update was pushed. I don't have the "diagnostics.client.Wakelock" in BBS but Samsung Push Service was hogging a lot so I turned that off. It was 80% at 11PM and today morning it was down to 59% .. that's 21% in standby mode. Is it not going into sleep mode or is something else causing this? I have almost everything turned off. Any ideas guys? Thank you.
MJ7? (not sure why but like other people remarked - the battery life looks to have somewhat declined - 30-60% less?)
svyr said:
MJ7? (not sure why but like other people remarked - the battery life looks to have somewhat declined - 30-60% less?)
Click to expand...
Click to collapse
Yes MJ7. I hope this is a bug that can get fixed sooner than later. It's horrible. I just got 1h 37mins of screen time and now I am down to 12%. Just a few calls and some Instagram. Nothing else. Would removing the battery for a while or something help? I haven't installed any app since updating to MJ7 (2 days ago).
I've had this issue with MI7 and MJ7 so the update is not the problem. My guess is me freezing most of the samsung bloat on the phone through Titanium is causing this. Maybe there's a process trying to find something thay I froze?
Sent from my SAMSUNG-SM-N900A using Tapatalk
I fixed it by charging my battery up to 90% then removed the battery and kept it aside for a while ~10 mins and then plugged it back in and charged it to 100%. Now it seems to be normal again. No drain last night. Moved only 1% from 12AM to 9PM. Cheers!
I have the same issue with MJ7 firmware; the phone sometimes doesn't get into deep sleep while the screen is off.
A possible cause of the issue: switch off wifi when data are off.
So now I switch data on before turning wifi off.
Anyone ever find a solution to this? It's killing me.
Same here, my battery declines almos 1% every 5 minutes just texting via Whatsapp and I know Whatsapp is not the guilty. Using Wakelock monitor shows 30% Android System usage with a lot of entries in Gpslocationprovider (even with GPS off and everything on Location settings off), SyncloopWakelock and AlarmManager... MJ7 here too... My Note2 wasn't like this... I finished the day with 5% of baterry after heavy use from 8am til 10pm (including 45' watching videos)... With my Note3 at mid-day I have my battery death!! I can't believe it! and I don't know what is happening (I only have 4 days with my new Note 3) and I have tried almost everything (deactivating) except wipe data/factory reset (I've tried soft reset and nothing)
Anyone ever find a solution to this wakelock?
anyone find a solution?
Delete Google search from system apps and deleted Google play services. Redownload both from play store. Seems to help.
Sent from my SM-N9005 using XDA Premium 4 mobile app
pham818 said:
anyone find a solution?
Click to expand...
Click to collapse
I noted that my GN3 would have great and then poor battery drainage. It seemed to happen right after my first long call of the day. I noted in my wakelock app that diagnostics.client.wakelock was using a lot of time.
I decided to take more drastic action by doing a factory reset and restoring apps one by one. I first used Kingo Root to root my GN3. I had to uninstall Kies and the Samsung driver to get the rooting to work.
Then I backed up with Helium and Titanium backup.
After a factory reset, my battery usage was about 0.2 percent per hour. I use only data and no wifi.
I have now restored most of my apps and still have 0.3 percent per hour usage. I have not updated any Samsung or ATT apps.except for ATT code scanner. i have not "used" any of the google apps except for gmail, search, google+ (signed out). Google music is turned off.
Diagnostics.client.wakelock still shows up but with low time now.
After twelve hours, the GN3 is at 96 percent including a two minute phone call and email updates.
------
After a long phone call, I once again saw my battery usage increase and stay up after the phone call.
-----
I re-started with a factory reset and only restored the minimum apps that I use to browse, email, text, phone, and backup.
So far it is performing well in battery usage.
I will be adding more apps until I find the one that breaks the good performance.
-----
So far I have been able to make it through 24 hours using only TEN percent battery usage. I have added TextPlus, BofA, drippler, Helium, Titanium Backup Pro, CPU Spy Plus, Wakelock Detector, System Tuner Pro, Battery Monitor Pro, AutoBluetooth, Maps, Youtube, YP, Total Commander, Visual Voicemail, Quick Boot, Root Checker, Turn Off Screen. Everything else is stock without updating AT&T apps or Samsung apps.
I am seeing an idle usage of less than 0.3% and that is with two widgets for Battery Monitor and System Tuner. They and Textplus use up the most power. I also talked on the phone via bluetooth for about 30 minutes.
I still get the diagnostic.client.wakelog but only getting about 5 percent awake time.
-----
I did another factory reset. This time I did not allow any app updates.
I installed Titanium Backup, CPU Spy Plus, Wakelock Detector, Battery Monitor Widget Pro.
I have not seen a diagnostic.client.wakelock at all after one hour of use.
-----
I added TextPlus, System Tuner Pro. I put the widgets to System Tuner pro and Battery Monitor on the home screen.
I have not updated any apps since the reset.
I have counted about 7 diagnostic.client.wakelocks for a total of 4 seconds of wake time. My wake time percentage since yeaterday is around 1 percent.
I plan to update apps one at a time to see which one kills the battery usage with wake locks.
I just added AT&T Visual Voicemail, PayPal, BofA, and Evernote to my GN3.
The diagnostics.client.wakelock started climbing and keeping my phone from sleeping.
Uninstalling the four apps did not help.
I think that the problem is with the Visual Voicemail.
----
Factory reset my phone and am back to 1 percent wake state and very low battery drain.
----
The cause of the bad wakelock was due to restoring APP+DATA in Titanium Backup. I did that to save setup steps.
I had restored BofA and Shazam with data and the wakelocks started up.
After I factory reset again, I installed apps the normal way and have been seeing a 0.3 percent use per hour.
Samsung's own software is most garbage in my opinion.
If you use ChatOn and Samsung Hub, etc, disabling this may have an impact.
Here's how I've solved the problem with this pig of an app.
1) go to application manager under settings.
2) go to the "ALL" tab
3) find that "samsung push service"
4) uninstall - this will only uninstall the updates. Once all the very useful updates are gone, the option changes to disable.
5) disable and good riddance.
On a side note, search for this on the playstore. the reviews are hilarious.
c.
Nothing I had tried up to today has fixed my battery drain and diagnostics.client.wakelock issue.
However, today, I got a software update OTA (nb4) on my phone and it appears the problem is fixed.

Battery problems after 4.3

My battery problem started when I left 4.3
Before 4.4 was out, I switched to Paranoid Android 2.99. When I did this, battery was fine, except I have also installed Fongo app, a VOIP phone (I only have tablet data in my phone). When this was running (app running idle in background, not using it), my battery would drain 30-40% in just 6-7 hours while idle.
On Paranoid Android 2.99, this was the only battery problem, the Fongo app. Everything else (play music) did not kill my battery.
After 2.99 I decided to go back to stock using Nexus Root toolkit. So I installed the latest android rom, 4.4.2.
Well on this rom, the Fongo app is fine, it has almost no battery consumption. However, my battery is being killed by a bunch of other apps, including play music (that comes with google).
I have used play music for 7 hours, and you can see in the 2 pictures taken on 4th Feb it went from over 80% down to 5%.
The 2nd picture taken on 2nd Feb, it's basically from 90% down to 49% while the phone was idling during the night!. basically after charging it to 90%, I listened to google play music for 30 mins (I downloaded a timer to shut off the music), then it idled. In the morning, I see that.
First picture on 28th I believe is a combination of play music (the first dip) and Tunein Radio (the 2nd, very abrupt dip).
Can anyone help me out? Suggestions?
Thanks

[EXTREME BATTERY DRAIN OVERNIGHT] Possible fix and reasons

Hello
PROBLEM
Recently I have been facing issues with my nexus overnight battery drain. The battery drain is quite shocking (30-35% overnight). The irony is that using my nexus over two-three hours drains less battery than keeping it on overnight in deep sleep mode.
BEST SETTINGS FOR CRAZY BATTERY SCREEN TIME
I'm using 4.4.2 with elementalx kernel(2.12) with 800 undervolt, 1350ghz processor with 400 GPU.
I disable all double tap to wake up, slide to sleep features with all default settings except I use battery life extender at 4100mah (83-85% charge).
With these settings I have extremely good screen time over 6+ hours (I never calculated it but watching two movies of 4 hours only drain 32-38:victory:% battery with software decoder using headphones with MX player pro.
The reason for sticking with 4.4.2 is that on 4.4.3/4.4.4 the battery life doesn't reprpduce same for me.Also I face some ghost touches on latter updates.
On dalvik, I experience no problems on 4.4 to 4.4.2 but sometimes ghost touches on art which solve after a restart. In safe mode, there are no ghost touches in art!
Currently I'm on art.
APPS AND SETTINGS HELPING ME WITH GREAT BATTERY
I have greenify, wake lock detecter with Google search frozen(using titanium backup); location turned off, no NFC , no Bluetooth, WiFi only when required, sync on only for contacts, keep, chrome and I am using two gmail accounts.
All other apps like quick office, maps, earth, YouTube, newsletter, currents etc have been disabled! I don't leave WiFi on overnight!
All applications that require root are greenified/frozen until if required which is rare so I refreeze them afterwards.
All applications identified by wake lock detector are greenified! (Not using xposed framework to greenify system apps)
I use "show touches" on my device in dev options to keep track of ghost touches etc!
IRONY :
The irony is, android system and android OS drain about 9+12 % of my overall battery in deep sleep with my screen taking only 27% with over 13 hours time.
This means Google services are draining battery but I can't point out which on!
WHAT I'M THINKING OF DOING
I guess I'll update my Google play services and update with results! Version 4.4.52 is a battery killer !
Tried version 5
http://forum.xda-developers.com/showthread.php?p=53700630
Battery life has considerable improved!
YOUR THOUGHTS
How do you control battery drain overnight, share your thoughts !
UPDATES SOON
-tasker to see if battery life improves
-Google services update
-Organising the guide with snapshots/step by step guide once I find the perfect settings!
FAQ
-Remember if you have touch screen problems like ghost touches/stuck screen or key, this can affect your battery life due to sensor /digitsier to be active even when it's not used!
Turn off Google location under Google settings.
Sent from my Nexus 7 using XDA Premium 4 mobile app
I've fixed this with a complete restore of system.

[Q] Google Services battery drain anyone?

I'm running stock/rooted kitkat and for the last few days I have had dramatic battery drain. I go from fully changed to 10% in less than 4 hours. Has anyone else noticed this lately?
I had this as well. I had to disable location services to get my phone to actually go to sleep.
Sent from my AOSP on Mako using XDA Free mobile app
disabling location services and trying that. thanks
I've had awful battery since i upgraded to 5.0 and Google services are killing the battery. I'll try location services. Will update.
It's definitely not a problem with Location Services. My location is completely turned off 99% (since always) of the time and I also have that topping my battery consumption. Even though, my phone has been deep sleeping without major problems. There's an unknown wakelock that is slowly draining the battery, but anyway I've been getting 4h of SOT everyday without making any sacrifices. If somebody finds out what's the root cause, keep me posted, please.
I've been occasionally getting this for a few weeks too.
If I turn off location, the problem continues for a day or so but then goes away.
This morning I took the phone off charger first thing. I restarted and didn't open screen for two hours. When I checked battery usage it was down 80% and the big consumer was Media and SDcard. Anyone see this before?
It just occurred to me that I may have a corrupt file on internal storage. I'm going to back everything up and start deleting.
Well..I did a factory reset and I still have a major battery drain. It has to be some rogue app but I haven't installed "new" apps lately. Plenty of updates though.

Massive wake lock and battery drain

Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
here's a way to avoid it http://forum.xda-developers.com/galaxy-s2/help/google-c2dm-checkin-services-t1321520
i'll update if i find anything else.
don't tell them your device is rooted. if you go to service center just re-lock the bootloader and its back to normal.[it won't get your warranty back but they don't check that much]
can you post a screenshot of gs sam.
1 - Install BetterBatteryStats (BBS) - this will give you detailed information on what is draining your battery. Get it from XDA v2.2.0.0B6 - this gives you the detailed breakdown in the UI that you are after, the google play version doesn't do it in the UI (older version).
Get baseline results (charge it full, don't touch it for 5-6 hours) I like to do this while sleeping.
2 - Install Greenify (you don't need the Xposed module if you don't want to fiddle with that yet, alto I highly recommend it) set the working mode to root. If applications are still not sleeping, add the widget and force sleep everything before you turn off your screen
Get BBS results (do the 5-6 hours while sleeping) - improved?
3 - Install Naptime from the google play store (by Fransico Franco)
Get BBS results - improved?
Getting anal about battery usage?
4- Read up on Amplify - this yielded even more results for me. But this can take a bit of work to get right. There's a lot of great threads on XDA for setting this up.
5 -Smart network - allows you to control data, networks, wifi, bluetooh, nfc, gps on/off with a ton of great features for auto. management.
I have all the above and yield a 0.4%/hr drain on stand by (see signature for phone build).
Amplify is a god sent app. It has been 4 hours now, and I have been using whatsapp on and off (about 20 seconds each time) and I still have 97% left in the tank.
LaurenceGough said:
Hi guys,
I have been having an issue with my Motorola X Play (UK Single Sim) I have only owned it for a few months from new.... The battery is draining fast and I can see in the battery stats that it's not sleeping, otherwise the battery usage page shows nothing of interest, apart from perhaps Mobile Standby which is quite high, above the screen but the signal bar is all green...
I rooted my phone to better find out what was causing these issues, otherwise stock Marshmallow. Unfortunately Motorola now are not interested as they say my phone is rooted and now has no warranty - useless idiots!
Using GS Sam battery monitor (rooted) I can see that the following is keeping the phone awake, no other app is.
48.3% of battery consumed by Kernel (Android OS)
Keep awake over 2 hours
CPU usage 59m 53s
Number of Wake Locks: 1
Byes sent: 246.21KB
Bytes Received: 5.70MB
App UID: 0
Wakelock Detail:
Google_C2DM 0.0s (1)
I have tried safe mode but it appears to be the same, I have hardly any apps installed apart from Facebook and Facebook messenger and I have even tried it without them...
I have tried turning off/on WiFi / Location / GPS is now disabled. WiFi Scanning is off. Restarts make no difference... I have even done a factory reset about a month ago.
Any ideas, this phone is having the same battery life or less than my Nexus 5 which had a much smaller battery...
Many thanks
Click to expand...
Click to collapse
Facebook app has been known to cause serious battery drain in the past. Uninstall it and test again.
In 99% of the cases it is caused by an app. Try to find out which one is causing the drain.
Hi all,
Sorry for the delay and thanks for the replies. I performed a factory reset again, after clearing the cache etc, the same as I did last time. The only difference is I then installed Android 6.0.1
The battery drain has now gone. I didn't perform a restore of apps etc, and the only apps I have installed so far in addition have been Facebook and Facebook messenger but I have found these have had no effect at all on the battery drain. I haven't even updated the stock apps (apart from the security ones).
I now get two days of use easy. It also seems to be running slightly faster. I will update apps one by one, over the course of a few days to make sure nothing causes it again...
http://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
I use this guide, works really great to limit wake locks.
And I don't use Fb app but use the browser instead, battery lasts easily two days of "heavy" usage !
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
LaurenceGough said:
I found the problem, or at least a major bug. Whenever you cast to Google Chromecast Audio and then stop casting completely there is a massive wakelock until you next restart the phone. My phone was awake all night and down to 20% battery life. Android OS takes a massive portion of the battery life and under keep awake stats it's 9 hours +. It seems that when it says disconnected it is not. A major bug! I'll try and report it using Google's bug reporter...
Click to expand...
Click to collapse
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
pijes said:
not even Doze could kill it? perhaps you could try Servicely and see if it could stop the thing from running.
Click to expand...
Click to collapse
Nope, Doze had no affect at all but it should be as it was sitting stationary overnight - normally the drain overnight is a few percent at the most, last night it was around 65% and I was left with 20% in the morning and this was I think the first time I had used Google Chromecast Audio since the factory reset with great battery life up to last night... I could try Servicely but I am not sure on the service to kill and I'd like to keep it 100% stock for now so I can help out Google to fix the bug (or Motorola if they bother)... What a pain as I just bought 4x Google Chromecast Audios!!
I have reported it here in the Android bug tracker, feel free to comment / star the issue to bring it to Google's attention.
https://code.google.com/p/android/issues/detail?id=208324
However I am not sure if this is a Motorola Issue or a Google Marshmallow / Chromecast issue?? Motorola support have been very unhelpful so no luck if that is the case...
If anyone else with Chromecast Audio could confirm the bug that would be great.
Thanks
Laurence
There's a post on reddit about battery drain with chromecast audio about a year ago, not sure if it's the same issue though.
Sent from my XT1562 using XDA-Developers mobile app
https://forum.xda-developers.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548
maybe this help, on moto g this helped
apart from greenify and naptime...i dont think we have something like amplify yet for nougat devices, also with the governor scripts they are providing better results now
yep
miss5tability said:
i dont have root etc but on my just buy moto x play with stock android 6 i dont have 2 sensors working and deep sleep is gone so battery drain... even after cler cache. reset etc, this phone is pure ****
Click to expand...
Click to collapse
If you bought it brand new just go back to the shop for replacement
pijes said:
If you bought it brand new just go back to the shop for replacement
Click to expand...
Click to collapse
yep

Categories

Resources