Fix Battery drain in 4.4.2 (Xposed) - Sony Xperia ZL

OK, so by now a good deal of us will have 4.4.2 installed, either via PCCompanion, OTA, or more likely by flashing an ftf because Sony is terrible at rolling out updates. And if you do have it you'll have noticed that Sony have done a bang up job of making it one of the laggiest and shortest experiences you've ever seen on a flagship.
One of the biggest setbacks is the battery drain issue, originally we all thought that the perpetrator was Google Play Services, which kept waking our phone, so we tried to fix that with blocking its wakelocks. I did that too, and it did help, the battery didn't drain as much and would actually last till the evening.
However, I checked battery consumption again, and noticed that since I blocked Google Play Services, the Media Storage was draining more than 60% of my battery.
I've fixed it, here's how:
For this you'll need
Root
the latest GApps, or just the Services part
Xposed,
Wakelock Terminator (free to block one app, pro version blocks more)
If you're not rooted, root your phone, just follow the super easy instructions in the above link.
OK, you need to install the latest Services, for some reason it wouldn't automatically update for me on my XZL, this release fixes the issues, yes this was not a Sony mistake, it was just Google.
Once you did that install Wakelock Terminator, the free version only blocks one app, if you want to block more you'll have to pay. This is an Xposed module so you need Xposed, if you don't already have it, follow the above link and install it.
Now if you're rooted, have xposed, updated services, and have Wakelock Terminator installed, open Wakelock Terminator. Here search for "Media Storage", or just "media", then select it and block its wakelocks.
Then reboot and you're done. A lot of work, but that's our fault for buying Xperia.
My battery is currently at 59% after 9 hours 51 minutes, not fantastic, but much better than before.

Dead Metal said:
OK, so by now a good deal of us will have 4.4.2 installed, either via PCCompanion, OTA, or more likely by flashing an ftf because Sony is terrible at rolling out updates. And if you do have it you'll have noticed that Sony have done a bang up job of making it one of the laggiest and shortest experiences you've ever seen on a flagship.
One of the biggest setbacks is the battery drain issue, originally we all thought that the perpetrator was Google Play Services, which kept waking our phone, so we tried to fix that with blocking its wakelocks. I did that too, and it did help, the battery didn't drain as much and would actually last till the evening.
However, I checked battery consumption again, and noticed that since I blocked Google Play Services, the Media server was draining more than 60% of my battery.
I've fixed it, here's how:
For this you'll need
Root
the latest GApps, or just the Services part
Xposed,
Wakelock Terminator (free to block one app, pro version blocks more)
If you're not rooted, root your phone, just follow the super easy instructions in the above link.
OK, you need to install the latest Services, for some reason it wouldn't automatically update for me on my XZL, this release fixes the issues, yes this was not a Sony mistake, it was just Google.
Once you did that install Wakelock Terminator, the free version only blocks one app, if you want to block more you'll have to pay. This is an Xposed module so you need Xposed, if you don't already have it, follow the above link and install it.
Now if you're rooted, have xposed, updated services, and have Wakelock Terminator installed, open Wakelock Terminator. Here search for "Media Server", or just "media", then select it and block its wakelocks.
Then reboot and you're done. A lot of work, but that's our fault for buying Xperia.
My battery is currently at 59% after 9 hours 51 minutes, not fantastic, but much better than before.
Click to expand...
Click to collapse
Testing now!

Dead Metal said:
OK, so by now a good deal of us will have 4.4.2 installed, either via PCCompanion, OTA, or more likely by flashing an ftf because Sony is terrible at rolling out updates. And if you do have it you'll have noticed that Sony have done a bang up job of making it one of the laggiest and shortest experiences you've ever seen on a flagship.
One of the biggest setbacks is the battery drain issue, originally we all thought that the perpetrator was Google Play Services, which kept waking our phone, so we tried to fix that with blocking its wakelocks. I did that too, and it did help, the battery didn't drain as much and would actually last till the evening.
However, I checked battery consumption again, and noticed that since I blocked Google Play Services, the Media server was draining more than 60% of my battery.
I've fixed it, here's how:
For this you'll need
Root
the latest GApps, or just the Services part
Xposed,
Wakelock Terminator (free to block one app, pro version blocks more)
If you're not rooted, root your phone, just follow the super easy instructions in the above link.
OK, you need to install the latest Services, for some reason it wouldn't automatically update for me on my XZL, this release fixes the issues, yes this was not a Sony mistake, it was just Google.
Once you did that install Wakelock Terminator, the free version only blocks one app, if you want to block more you'll have to pay. This is an Xposed module so you need Xposed, if you don't already have it, follow the above link and install it.
Now if you're rooted, have xposed, updated services, and have Wakelock Terminator installed, open Wakelock Terminator. Here search for "Media Server", or just "media", then select it and block its wakelocks.
Then reboot and you're done. A lot of work, but that's our fault for buying Xperia.
My battery is currently at 59% after 9 hours 51 minutes, not fantastic, but much better than before.
Click to expand...
Click to collapse
No results found for media or media server.

supaflyx3 said:
No results found for media or media server.
Click to expand...
Click to collapse
Lol, just switched my phone to English, and here it's called Media Storage.

Putting the location service to only GPS ("Device only") worked way better and fixed all the battery drain. With this method it was still a lot higher than it should be.
Using App Ops (xposed) and denying the keep awake seems to work better than Wakelock Terminator for me with no downsides.

NamenIos said:
Putting the location service to only GPS ("Device only") worked way better and fixed all the battery drain. With this method it was still a lot higher than it should be.
Using App Ops (xposed) and denying the keep awake seems to work better than Wakelock Terminator for me with no downsides.
Click to expand...
Click to collapse
Well, with this method media only uses 7% of battery, and I have locations deactivated by default.
I'll try the App Ops version though, even if I can't see any downsides to my method, just to compare.

I have location services on by default, and this completely fixes the 95% Google Play Services battery drain issue.
Thanks!

NamenIos said:
Putting the location service to only GPS ("Device only") worked way better and fixed all the battery drain. With this method it was still a lot higher than it should be.
Using App Ops (xposed) and denying the keep awake seems to work better than Wakelock Terminator for me with no downsides.
Click to expand...
Click to collapse
So I tried the App Ops tip, and it uses more battery, with it there are two media services running each at the same time, one 7% and the other 5%, with Wakelock Terminator there there is only the media server. But your tip did do something, before I used it media server used 7%, now that I switched from your method back to mine, it only uses 3%.

It didn't work here... still draining battery. I'll set location service to "device only" to see if it helps. Not sure if apps like waze and google maps will work fine after that, though.

Related

Rooting issue

OK so I rooted my Note2 yesterday. Fairly straight forward and fairly quick folowing details on http://galaxynote2root.com.
Just came across it on a video on youtube and it seemed quick and easy.
Anyway It worked a treat and I have superuser rights, I installed Network spoof and wifikill and both programs run as stated.
I have just noticed that my battery seems to be on a constant drain since either (A) I done the Root (B) I installed either of the two programs.
My memory usage is also always tipping over the 1G mark.. I usually always close apps when I remember and clear the memory
I just cleared the memory and it closed 51 applications and reduced the memory to 650, And by the time I finished typing the memory usage is back up to 750 and nothing has happend! the screen had not even turned off.
Is there something happening?
Thanks
OTA Updates
Also noticed that the OTA updates doesn't work. Can updates still be applied via kies?
No pal. You won't be able to receive Kies or OTA updates. At first Kies wil download the new firmware if available but later just before flashing it will stop by saying you have modified your device or something like that. So in case of an update just download the ROM from sammobile.com or elsewhere, and flash it via Odin, pretty easy.
And I don't think rooting is hampering your battery backup, it might be those two apps, or other apps. Install BetterBatteryStats and monitor. You have NO idea how much juice could be drained by hidden ads in a free app.
jujuburi said:
No pal. You won't be able to receive Kies or OTA updates. At first Kies wil download the new firmware if available but later just before flashing it will stop by saying you have modified your device or something like that. So in case of an update just download the ROM from sammobile.com or elsewhere, and flash it via Odin, pretty easy.
And I don't think rooting is hampering your battery backup, it might be those two apps, or other apps. Install BetterBatteryStats and monitor. You have NO idea how much juice could be drained by hidden ads in a free app.
Click to expand...
Click to collapse
Cheers Dude...
I installed BetterBatteryStats and Monitor but not exactly sure what it does?
I removed the last couple of apps I installed and it seems to of slowed down the battery drain,
If you can give me a brief run down on BetterBatterStats that would be great, If not thanks again for your input.
Thanks Again
Smokie365 said:
Cheers Dude...
I installed BetterBatteryStats and Monitor but not exactly sure what it does?
I removed the last couple of apps I installed and it seems to of slowed down the battery drain,
If you can give me a brief run down on BetterBatterStats that would be great, If not thanks again for your input.
Thanks Again
Click to expand...
Click to collapse
In BBS the stats you should be looking at are Kernel Wakelocks and Partial Wakelocks, more so the latter. Set the time to Since Boot or Since Unplugged.
This tells you what is preventing the phone from going into deep sleep when screen is off.
Don't let it become an obsession like many on XDA do though :silly:

Google services battery drain!!

Last two days my battery usage shows nearly 60% battery drain through google services. This is really odd because I haven't charged it in two days until now. I used it to watch some videos/surf for the last two days and then just left it on standby. I figured screen would eat up a lot more, but Google services?
My location settings are all turned off, same with WiFi auto scan or whatever.
Same here. No location services, no wi-fi scanning, extended (minor) use with sudden drain due to Google Services (mine was closer to 70%) recently
i noticed it first on my s4 a few weeks ago. then on my gn2 and finally my gn8 and gn10.1 (haven't checked my daughter's hd7 or my wife's phones). seems on nov5 google rolled out an update to google play services that's killing a lot of people's batteries. my phone would lose 50% in 12 hours doing NOTHING!
quick fix - you gotta be rooted, though and use greenify. either purchase the dev version of greenify or get titantium backup. if you use the dev version of greenify you'll need xposed installed to to allow dev option that allows you to greenify system apps. after doing that select google play services and greenify it. you should be fixed.
another way is to use titanium. first backup google play services. next long press on google play services and make it a user app. then use regular (non donation version) of greenify to greenify google play services.
after doing this all my devices are back to normal. i wonder what the hell google is doing by force updating our crap and screwing up battery life and cause wear and tear on our batteries.

[Q] EntriesRefresh_Wakelock

Hi everyone, it is the first time I post to this forum and any help will be appreciated.
As you can imagine I am having problems with battery drains and wakelocks on my Samsung Galaxy S4 on T-Mobile. The phone is Rooted. The battery drain started on October 3rd or 4th. Before that everything was working correctly (as far as I know). The battery drain all pointed to Google Services. (At first it was Google Play Services, but now it is just plain Google Services) Up to 35% or more of my battery plus making my phone really hot. Research said it has to do with the location services and google now.
To avoid that battery drain I followed a lot of tips and the only one that kind of helped (if I want to keep google now active or my GPS running) has been: Disabling the network and wireless location option. And removing from my places any one I had saved associated to a specific network or wifi. This reduced and almos eliminated my NLP and NLPCollector wakelocks. But now I have an EntriesRefresh_Wakelock that is keeping my phone awake about 30% of the time (Wakelock Detector). Although this is not consuming as much of my battery as before, this is clearly not the way it should work.
Can anybody explain a bit more what is this EntriesRefresh_Wakelock and how it can be eliminated? I appreciate your help.
Thanks,
biggaboss said:
Hi everyone, it is the first time I post to this forum and any help will be appreciated.
As you can imagine I am having problems with battery drains and wakelocks on my Samsung Galaxy S4 on T-Mobile. The phone is Rooted. The battery drain started on October 3rd or 4th. Before that everything was working correctly (as far as I know). The battery drain all pointed to Google Services. (At first it was Google Play Services, but now it is just plain Google Services) Up to 35% or more of my battery plus making my phone really hot. Research said it has to do with the location services and google now.
To avoid that battery drain I followed a lot of tips and the only one that kind of helped (if I want to keep google now active or my GPS running) has been: Disabling the network and wireless location option. And removing from my places any one I had saved associated to a specific network or wifi. This reduced and almos eliminated my NLP and NLPCollector wakelocks. But now I have an EntriesRefresh_Wakelock that is keeping my phone awake about 30% of the time (Wakelock Detector). Although this is not consuming as much of my battery as before, this is clearly not the way it should work.
Can anybody explain a bit more what is this EntriesRefresh_Wakelock and how it can be eliminated? I appreciate your help.
Thanks,
Click to expand...
Click to collapse
The EntriesRefresh_Wakelock is a google search/now wakelock. You can temporarily fix it by force closing Google now after you use it, and also by stopping auto sync, if you really don't need Google Now to be updated often. Other than that im trying to come up with a real solution myself.

[Q] google analytics and battery

hi i have one m9 with firmware 1.32.709.15 which is an asian version.
i have problem with its overheating and battery.
when i check power usage there is always Google Play Services at the top. when i look at into it i see that GoogleAnalyticsService is running and device is overheating. when i kill this service device temperature became more acceptable and battery lasts longer a lot.
but then this service of course appears again and i have to control always and kill it to use phone smoothly.
anyone with advices will make me so happy.
thanks in advance.
Try downloading this app
https://play.google.com/store/apps/details?id=cn.wq.disableservice
as there is a known issue with Google play services constantly running. Download this app
and disable systemupdateservice in Google services and see if that helps. You need root I believe though.
brittoking said:
Try downloading this app
https://play.google.com/store/apps/details?id=cn.wq.disableservice
as there is a known issue with Google play services constantly running. Download this app
and disable systemupdateservice in Google services and see if that helps. You need root I believe though.
Click to expand...
Click to collapse
Thanks for your reply but i dont have root access and i dont want to unlock bootlader i had some warranty problems with my m8 due to bootloader unlock.
Maybe any other Solutions?

Android System drains battery

I've had an LG G4, model H815 at Android 5.1 for the past two months. So far extremely satisfied, but it's been acting up for the past few days - battery drains for over 20% while I sleep for ~7 hours, and apparently Android System (specifically the GPS) keeps it awake and drains over 60% of the battery.
I keep GPS on high accuracy and I use the smart settings the phone has, but up until a week ago or so it didn't do any harm and it only lost about 2-5% every night - Same goes (more or less) for my previous phone. LG's subsidiary in my country just pushed an update a few days ago, so it may be relevant, but I don't recall if it happened before it or not (sorry).
I'm attaching a few pictures to this post, if there's any app you want me to run and post its output just let me know.
Any idea why this is or how to solve it?
Here is mine:
Okay...? So any idea why it happens to me but doesn't to you? This is a troubleshooting thread.
Same here. GPS in Android System seems to be nearly always on (up to 8 hours GPS usage, while I left the phone idle, without any App started) - with a huge battery drain.
I also suspect the firmware update received recently, since I became aware of this issue only some days ago. Using the phone, the GPS icon comes up every 2 Minutes or so and stays on for about 20 Seconds. That's definitely something I never observed before.
I googled a lot and found some articles describing similar problems. However, no working solution was given.
Here is what I did with nearly no impact:
- motion sensor and compass calibration
- cache wipe
- termination of the google app process, since I thought this might be the culprit (even cleared data)
- switched off google location tracking and smart lock
- switched off Android Device Manager under Device Administrators
Then, I did something that looks promising:
- I de-installed the updates of Google Play services and re-installed the latest version from Play Store. It was the Version 7.8.99 (2134222-220).
This solved the problem at least temporarily. I had a whole day where the system behaved as it should. However, this morning the problem came back.
- I de-installed the update of Google Play services once again, but this time without updating to a newer Version. I currently run version 7.5.71 (1955121-448).
To my surprise, even after reboot, the system does not ask me to update, so I leave it now as it is.
And the problem - again - seems to be gone. However, I am not sure whether this - again - will only be temporarily...
I think a good starting point for problem analysis might be to compare the running Versions of Google Play Services. What do you think?
Thanks,
toshiuser
I'm currently running Google Play services v. 7.8.99 (2134222-440). While writing this I'm clearing its cache and data and uninstalling updates, brings it back to the same stock version you mentioned. I'll see if it helps and keep you updated. Thanks a lot!
I think this has to do with carrier iq.. Not 100% sure though, but maybe you guys should look into it. I know my android system usage was really high also. Then I removed carrier iq and it went way down.
idowolf said:
I'm currently running Google Play services v. 7.8.99 (2134222-440). While writing this I'm clearing its cache and data and uninstalling updates, brings it back to the same stock version you mentioned. I'll see if it helps and keep you updated. Thanks a lot!
Click to expand...
Click to collapse
I also run Google Play services v. 7.8.99 (2134222-440) and also noticed GPS is On ever now and then even @ home. I wanted the latest Google Play Services and I enabled this Google Play Services drain fix. So far have not seen the GPS turn On without reason. Hope this will solve my overnight 20 % battery drained.
我從使用Tapatalk的LG G4 H815 US 4G LTE TMO發送
I had the same issue you're having. If you're rooted, it's an easy fix. Download any app ops application from the play store, and go in and disable the location permission for Android System. Has no effect on the device knowing your location whatsoever, and fixes the wakelock/battery drain from Android System.
Hope this helps!
uly609 said:
I think this has to do with carrier iq..
Click to expand...
Click to collapse
Thanks, but I cannot find a process called carrier iq on my phone (probably because my phone is an unbranded european retail version?).
rogconnect said:
I also run Google Play services v. 7.8.99 (2134222-440) and also noticed GPS is On ever now and then even @ home. I wanted the latest Google Play Services and I enabled this Google Play Services drain fix. So far have not seen the GPS turn On without reason. Hope this will solve my overnight 20 % battery drained.
我從使用Tapatalk的LG G4 H815 US 4G LTE TMO發送
Click to expand...
Click to collapse
Sorry, but I do not understand. Version 7.8.99 (2134222-440) has the problems (see post from idowolf). What did you enable as the "Google Play Services drain fix"?
mcnick0495 said:
I had the same issue you're having. If you're rooted, it's an easy fix. Download any app ops application from the play store, and go in and disable the location permission for Android System. Has no effect on the device knowing your location whatsoever, and fixes the wakelock/battery drain from Android System.
Hope this helps!
Click to expand...
Click to collapse
This sounds promising, but I'm not planning to root my phone (at least as long as there are chances for other solutions).
One update from my side: Still running Google Play Services Stock version 7.5.71 (1955121-448) and everything still seems to be ok. No battery drain from GPS. However, I am still not convinced that this will last long...
Thanks,
toshiuser
toshiuser said:
Thanks, but I cannot find a process called carrier iq on my phone (probably because my phone is an unbranded european retail version?).
Sorry, but I do not understand. Version 7.8.99 (2134222-440) has the problems (see post from idowolf). What did you enable as the "Google Play Services drain fix"?
This sounds promising, but I'm not planning to root my phone (at least as long as there are chances for other solutions).
One update from my side: Still running Google Play Services Stock version 7.5.71 (1955121-448) and everything still seems to be ok. No battery drain from GPS. However, I am still not convinced that this will last long...
Thanks,
toshiuser
Click to expand...
Click to collapse
if you don't intend to root i got nothing much to say.
uly609 said:
I think this has to do with carrier iq.. Not 100% sure though, but maybe you guys should look into it. I know my android system usage was really high also. Then I removed carrier iq and it went way down.
Click to expand...
Click to collapse
No carrier iq here and I've had the same issue a while back.
Update: No Problems with Stock Version of Google Play Services. Everything worked flawlessly the past few days - no battery drain.
Now reinstalled the current Version 7.8.99 (2134222-440) from Play Store to see if problems come back. I will keep you updated...
Last Update:
Google play Services 7.8.99 (2134222-440) is definitely faulty, at least in my configuration. “GPS always on“ and the huge battery drain almost immediately came back after reinstalling it. I was only able to achieve SOT of 2 and a half hours while GPS was active for several hours (in idle mode!).
Switched back to 7.5.71 (1955121-448), which works great, and will stay there with double SOT.
I did not see many posts regarding problems with Google play Services 7.8.99 (2134222-440), so this is either a rare problem or this is the reason why we read the many complaints about LG G4's supposedly “poor“ battery...
Hope that Google is aware of this problem and fixes it soon...
toshiuser said:
Last Update:
Google play Services 7.8.99 (2134222-440) is definitely faulty, at least in my configuration. “GPS always on“ and the huge battery drain almost immediately came back after reinstalling it. I was only able to achieve SOT of 2 and a half hours while GPS was active for several hours (in idle mode!).
Switched back to 7.5.71 (1955121-448), which works great, and will stay there with double SOT.
I did not see many posts regarding problems with Google play Services 7.8.99 (2134222-440), so this is either a rare problem or this is the reason why we read the many complaints about LG G4's supposedly “poor“ battery...
Hope that Google is aware of this problem and fixes it soon...
Click to expand...
Click to collapse
Did you tried (448) latest version..at least its same as 7.5.71(448)
faizalotai said:
Did you tried (448) latest version..at least its same as 7.5.71(448)
Click to expand...
Click to collapse
Google play Store only offers me (440). How can I change to (448) in play store?
toshiuser said:
Google play Store only offers me (440). How can I change to (448) in play store?
Click to expand...
Click to collapse
GmsCore (448)
This Night, I received Updates for Google Maps and Photos and a notification that these versions require an update of Google Play Services, perfect...
Therefore, I will give the Version (448) a try. Hopefully it does something better than the (440)...
mcnick0495 said:
I had the same issue you're having. If you're rooted, it's an easy fix. Download any app ops application from the play store, and go in and disable the location permission for Android System. Has no effect on the device knowing your location whatsoever, and fixes the wakelock/battery drain from Android System.
Hope this helps!
Click to expand...
Click to collapse
Thanks for this. It brought my Android System under control and significantly improved my battery life...well, closer to where it was before I rooted!
No luck,
even with Version (448) the problem persists.
I examined the problem again:
When I disconnect the phone from the power supply in the morning, it usually works normally. During the course of the day, at some point (not predictable), the GPS icon shows up for 2 minutes, grays out, disappears and comes back after a short time. Being in this state, Android system drains the battery due to high GPS usage (even if no app is active and even if locked in idle mode).
Now the interesting part:
If I open Google maps being in the problem state, it just takes 1 or 2 seconds to obtain a GPS fix. If I close it right after the fix, the GPS icon is gone and the phone behaves normally - sometimes for several hours. When GPS icon comes again and stays, I simply repeat the process.
For me it seems, that location service in Google play services is faulty since it sometimes cannot obtain a GPS fix whereas the algorithm in Google maps does it instantly.
toshiuser said:
No luck,
even with Version (448) the problem persists.
I examined the problem again:
When I disconnect the phone from the power supply in the morning, it usually works normally. During the course of the day, at some point (not predictable), the GPS icon shows up for 2 minutes, grays out, disappears and comes back after a short time. Being in this state, Android system drains the battery due to high GPS usage (even if no app is active and even if locked in idle mode).
Now the interesting part:
If I open Google maps being in the problem state, it just takes 1 or 2 seconds to obtain a GPS fix. If I close it right after the fix, the GPS icon is gone and the phone behaves normally - sometimes for several hours. When GPS icon comes again and stays, I simply repeat the process.
For me it seems, that location service in Google play services is faulty since it sometimes cannot obtain a GPS fix whereas the algorithm in Google maps does it instantly.
Click to expand...
Click to collapse
Very well described, I am seeing the exact same problem. I even upgraded to play services 448 like you.

Categories

Resources