User-agent: Mediapartners-Google Disallow: User-agent: * Disallow: /search Allow: / Sitemap: http://nano7mobile.blogspot.com/sitemap.xml Nano Mobile: mediaserver
Affichage des articles dont le libellé est mediaserver. Afficher tous les articles
Affichage des articles dont le libellé est mediaserver. Afficher tous les articles

mediaserver, google play services and battery drain topic






hey everyone. I noticed recently that my battery life on my m7 was really poor. The battery was draining at 6-8% per hour idling in my pocket, so I decided to see what was up. I noticed my cpu usage never went below 80%. I checked my app usage, but nothing specific was showing under battery usage in settings, so I did some googling. I downloaded a bunch of apps including Gsam and better battery life and saw mediaserver was thrashing the cpu nonstop, as well as logcat, and google play services was constantly waking the device.

I tried all sorts of things from the common reboot to adb commands. Finally, I found something that at least partially worked.

I downloaded an app from the play store called system tuner, which let me kill mediaserver, and instantly my cpu usage went from 80% to 7%. logcat also stopped when I stopped mediaserver. I have noticed no side effects from doing this. I hope this can help someone out there.

Now I just need to figure out 2 things:
1) prevent play services from wakelocking (up to 46 times per hour, wow!)
2) automate killing mediaserver on startup, as I noticed the issue returns everytime I reboot the device.

If someone out there can help me, it would be appreciated, and if I find out on my own, I will share this info here for all the people with the same problem.






[Q] mediaserver battery drain. topic






My AT&T Moto X was on standby for 1 day and 22 hr while I was using a different phone for other reasons. Anyways, it started off with 100% and after nearly 2 days of not using the phone, it was drained to 28%. I checked the battery stats and it listed Mediaserver at the top of the list for battery use. I clicked on the graph and it shows that the phone was awake for the entire time it was off the charger. Mediaserver says it kept the phone awake for 1 day and 20 hrs. My phone isn't rooted because it's the AT&T model which has a locked bootloader. It's on KK 4.4.4 and on Nova Launcher. Does anyone know how I can fix this? Thanks.