Google Play services battery drain - ONE Q&A, Help & Troubleshooting

Hello,
I am facing high battery drain through my google service app, and i disable wake lock in the privacy setting it service is crashing time and time again. Please share any ideas in sorting out the battery drain.
Regards

I am in the same situation as you. I'm on CM11S and I also disabled the wake locks as suggested in the FAQ thread. I have had the Google Play services crash a few times and also I've had the Facebook app and then the messenger app crash on me once after a prompt from the Privacy Guard
Which software version are you using?

If you're rooted try disable service. When installed just disable the active ones under system / Google play services
sent from my watermelon

facing the same problem man !!
tried disabling it from privacy guard settings !
still not working !
i'm sick of this ... waiting for the next cm update !!

ronu said:
facing the same problem man !!
tried disabling it from privacy guard settings !
still not working !
i'm sick of this ... waiting for the next cm update !!
Click to expand...
Click to collapse
There's no idea to wait. Just do as I said in the post above. Works great, almost no standby drain at all.
sent from my watermelon

Roobwz said:
There's no idea to wait. Just do as I said in the post above. Works great, almost no standby drain at all.
sent from my watermelon
Click to expand...
Click to collapse
I have a non rooted phone.
I guess it's high time to root it !
Thanks anyways I'll try that !
---------- Post added at 12:03 PM ---------- Previous post was at 11:18 AM ----------
Roobwz said:
If you're rooted try disable service. When installed just disable the active ones under system / Google play services
sent from my watermelon
Click to expand...
Click to collapse
can you please tell me this in detail ?

ronu said:
I have a non rooted phone.
I guess it's high time to root it !
Thanks anyways I'll try that !
---------- Post added at 12:03 PM ---------- Previous post was at 11:18 AM ----------
can you please tell me this in detail ?
Click to expand...
Click to collapse
Well first of all you gotta root your phone. When that is done, download disable service from the play store (the app icon is a blue android guy). When you're in the app, scroll right and then down to find Google play services. Tap that and disable all the active ones. ( the active ones are marked in blue.
sent from my watermelon

Roobwz said:
Well first of all you gotta root your phone. When that is done, download disable service from the play store (the app icon is a blue android guy). When you're in the app, scroll right and then down to find Google play services. Tap that and disable all the active ones. ( the active ones are marked in blue.
sent from my watermelon
Click to expand...
Click to collapse
Okay, I disabled the active services as u said. I don't find any difference in the battery life. :crying:

Are Google play services still draining battery, or is it something else? Please post some screenshots of your battery usage
sent from my watermelon

Related

Autostarts!

I'm not sure if everybody uses this, but Autostarts is one of my favorite root apps and I recommend it to all of my friends who have rooted. I don't see too many people talking about it anymore so I figured I would remind everyone of this awesome app. It allows you to prevent any apps from running on their own. After using Titanium Backup to debloat my ROM, I then open up Autostarts and run down the list and disable any apps that I don't want to startup without my say so. It does wonders for freeing up RAM. I did this on my Epic 4G Touch and never needed to flash a single custom ROM because I was able to get the stock ROM running flawlessly. It is an invaluable tool to me and I recommend it highly.
https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
broken link?
Maroon Mushroom said:
broken link?
Click to expand...
Click to collapse
My bad, I just fixed it.
I know this is old post, but I bought this app a long time ago also. It's a pretty powerful app and you can modify every reason for an app to start.
I vote to move this to the App section.
rom toolbox also has this feature
expertzero1 said:
rom toolbox also has this feature
Click to expand...
Click to collapse
Yep! I actually like ROM Toolbox's feature a little better now. It's got an easier layout.
Sent from my HTC One X using xda premium
_MetalHead_ said:
Yep! I actually like ROM Toolbox's feature a little better now. It's got an easier layout.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Hahaha! Last night I just found this feature in ROM toolbox and was about to post it here!!
Sent from my HTC One XL using Tapatalk 2
_MetalHead_ said:
I'm not sure if everybody uses this, but Autostarts is one of my favorite root apps and I recommend it to all of my friends who have rooted. I don't see too many people talking about it anymore so I figured I would remind everyone of this awesome app. It allows you to prevent any apps from running on their own. After using Titanium Backup to debloat my ROM, I then open up Autostarts and run down the list and disable any apps that I don't want to startup without my say so. It does wonders for freeing up RAM. I did this on my Epic 4G Touch and never needed to flash a single custom ROM because I was able to get the stock ROM running flawlessly. It is an invaluable tool to me and I recommend it highly.
https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Click to expand...
Click to collapse
Is it able to disable Google Play from starting up at boot? I´ve disabled the event I consider to be associated with Google Play (with Autostarts), but still the app launches by itself at every reboot...
Ricfil said:
Is it able to disable Google Play from starting up at boot? I´ve disabled the event I consider to be associated with Google Play (with Autostarts), but still the app launches by itself at every reboot...
Click to expand...
Click to collapse
no, it will not. more importantly, google maps is a battery hog, and a privacy killer, and it is also unable to be killed. not by gemini app manager, nor in conjunction with autostarts. google maps will report everywhere you go, and there is nothing you can do about it.
if only someone (windows maybe?) would come out with a nifty phone and declare "Hey we won't sell your soul!" i would so be on board. HTC is slowly drowning themselves, so i am finally, after 6 years, ready to move on to a new brand, and wouldn't mind leaving google behind.
wdkingery said:
no, it will not. more importantly, google maps is a battery hog, and a privacy killer, and it is also unable to be killed. not by gemini app manager, nor in conjunction with autostarts. google maps will report everywhere you go, and there is nothing you can do about it.
if only someone (windows maybe?) would come out with a nifty phone and declare "Hey we won't sell your soul!" i would so be on board. HTC is slowly drowning themselves, so i am finally, after 6 years, ready to move on to a new brand, and wouldn't mind leaving google behind.
Click to expand...
Click to collapse
Thanks man.:good:
If your interested I managed to disable Maps from always being on the background on my system . What I did? Used Titanium Backup (Pro edition) to convert it to a user app (because it needs to be so, for the next step). After, used a free app called Greenify (you may find it on the Play Store), to "hibernate" Maps at boot time. Result: No more Google Maps on the background . This app is great! You should give it a try. Maybe you may keep your HTC a few more years using it
Unfortunatly trying the same for Google Play messes with its app update functions... that is why I ask.
Hope it helps you on the Maps issue.
Any other ideas anyone?
i use gemini app manager itll stop it all but also remember that certain actions also stop it from updating the market so be careful which autostart functions u stop: although there are more than just at boot for most apps
Sent from my SAMSUNG-SGH-I997 using xda premium
Ricfil said:
Thanks man.:good:
If your interested I managed to disable Maps from always being on the background on my system . What I did? Used Titanium Backup (Pro edition) to convert it to a user app
Click to expand...
Click to collapse
Mine is already a user app..?
imma reinstall autostarts see if it has stopped working correctly. i know many instances can trigger apps so you can't just disable on startup for it not to run. but i remember disabling maps in like 3-4 places and it stopped starting unless i told it to start.
I have maps disabled completely in both autostarts and Gemini app manager. And maps is still my #1 battery drain. often my phone displays the gps signal when I wake it up, even though I haven't used maps in days.
wdkingery said:
Mine is already a user app..?
Click to expand...
Click to collapse
Ok. Good. But did you follow the rest of my post? Have you used Greenify to stop Maps from loading? It works perfectly for me.
---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------
wdkingery said:
I have maps disabled completely in both autostarts and Gemini app manager. And maps is still my #1 battery drain. often my phone displays the gps signal when I wake it up, even though I haven't used maps in days.
Click to expand...
Click to collapse
I do really advise you to try Greenify
Greenify does the same thing right?
Sent from my One X using xda premium
The_Zodiac said:
Greenify does the same thing right?
Sent from my One X using xda premium
Click to expand...
Click to collapse
You may use both in conjunction. Hell, I´m using Autostarts, Autorun Manager (for its simplicity) and Greenify. You just have to know what apps/events are disabled/enabled in them.
Greenify is a little diferent in the way that it hibernats apps when they are not being used/when with the screen off. It works of boot and is really pretty helpfull on those "stubburn" apps that do wish to always remain in the background. With Greenify on they are gone! For good .
Check it on Play Store for more info. Older versions seemed to have some issues with superuser access, with the new one, that seems fixed. It is a great app IMO, saves LOTS of battery and enables a little more ram available for things that do matter (good specially for phones with low RAM memory chips). In the case of your phone you will mainly notice an improvement in battery life, since RAM seems not an issue.
You should try it out
Ricfil said:
Ok. Good. But did you follow the rest of my post? Have you used Greenify to stop Maps from loading? It works perfectly for me.
---------- Post added at 06:59 PM ---------- Previous post was at 06:57 PM ----------
I do really advise you to try Greenify
Click to expand...
Click to collapse
Yes I did! And it worked well! Thanks a bunch! Battery life has been great since that very moment! Over 24 hours and still 70%!
wdkingery said:
Yes I did! And it worked well! Thanks a bunch! Battery life has been great since that very moment! Over 24 hours and still 70%!
Click to expand...
Click to collapse
Maps, as you said, has got several instances and events triggered for the most crazy things (at least in my book - since I do not need many of them), and that was why it still kept restarting even after all events disabled (there should be hidden ones related to other apps still operating in a complex interconection). At least that is how I imagine it was working. Greenify manages to hibernate it altogether (Titanium style), with the advantage of being "quicker" "unhibernating" it when needed. No complains for me so far
Glad it helped. It seems an excelent app!
See you:good:
Re: Greenify
Just bought titanium backup pro to use in conjunction with Greenify. $6 to stop maps and facebook from eating half of my battery. Totally worth it IMO.
Kudos to whoever suggested the app first.
Sent from my HTC One X using xda premium

Google play services battery drain fix

After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck
skipped said:
After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck
Click to expand...
Click to collapse
Instead of posting a new thread, you could just post it in the main thread so everyone who's subscribed to it will see this possible fix.
bilago said:
Instead of posting a new thread, you could just post it in the main thread so everyone who's subscribed to it will see this possible fix.
Click to expand...
Click to collapse
I thought that, but not everyone will search in the replies of that thread until they find the answer. I can put it there too.
Thanks
skipped said:
After trying everything I found a solution for this without disabling anything.
The google play services battery usage is now decreasing.. It went from 32% to 11% in an hour.
Here is the fix:
Settings - Apps - Google Play Services - disable
Then it will ask you to disable some administrator rights or something (I dont remember). Do it
Then it will ask you to return app to factory version, press yes.
Thats it.
Good luck
Click to expand...
Click to collapse
Great tip ! I now have great (better than with Android 4.3) battery life without doing a factory reset ! Thanks
Does the problem ever come back after you do this? Seems like once Play updates itself again the problem would return.

[Q] Any way to disable OTA (notification and download)

I am not interested in OTAs being auto-downloaded and notifications appeared, since my plan is to flash them via custom recovery.
There's any way to block them on the Nexus 5?
And even if there are, after flashing the ota via CWM/TWRP, the update system will be unabled again?
Thanks a lot in advance.
The otas normally appear long after the flashaholics have updated so you probably won't get an update notification. I was running 4.4 on my N4 at least 3 weeks before the ota.
Sent from my Nexus 5
pepdavies said:
The otas normally appear long after the flashaholics have updated so you probably won't get an update notification. I was running 4.4 on my N4 at least 3 weeks before the ota.
Sent from my Nexus 5
Click to expand...
Click to collapse
Well, from my experiences on the Nexus 7 (grouper) 4.3 (JWR66Y) update, I got the OTA the same day that it got posted here on xda.. which make it download the ota and then ask me to install it (an obvious no). If that had happened on the Nexus 5, it would have stolen some precios data plan just for nothing
Download Disable Service from the play store. Go to Google Services Framework under the "System Apps" tab and un-check SystemUpdateService.
Sent from my Nexus 5 using xda app-developers app
lohanchien said:
Download Disable Service from the play store. Go to Google Services Framework under the "System Apps" tab and un-check SystemUpdateService.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
I used the jrummy rom tools advanced freeze, but thank you for this.
lohanchien said:
Download Disable Service from the play store. Go to Google Services Framework under the "System Apps" tab and un-check SystemUpdateService.
Sent from my Nexus 5 using xda app-developers app
Click to expand...
Click to collapse
it was still unchecked, but i get the update reminder nevertheless....
spottedkangaroo said:
I used the jrummy rom tools advanced freeze, but thank you for this.
Click to expand...
Click to collapse
What did you freeze?
I did this, however, Google Play Services was hogging my battery like really mad.
Wakelock Detector gave me a 95% awake time.
The Disable services is a worthless option!
Gosh...
I don't want 5.0, my gaming FPS on a lot of games have decreased by a lot.
I've tried a lot of Lollipop ROMs but nothing compares to 4.4.4 with ART enabled, nothing.
Try using GravityBox. It is a Xposed module. Will work only if you are rooted. And it is not just limited to achieving this but you can do a lot more.
Goto statusbar tweaks-ongoing notification blocker-tap the apps you want to block notifications from.. It should work after the reboot
But that would require Dalvik right..
And Dalvik just looks slower to me.
I experience that especially in the Gallery app, where Dalvik stutters when scrolling, and ART just flys.
Perhaps that improved? Is it just as fluid as ART?
Disable Service still works. You just have to disable a few extra services now. I have the following disabled with no crazy wakelocks and everything still works on my Nexus 5 running 4.4.4
Google Play Services
UpdateFromSdCardService
SystemUpdateService
Sync Service (won't affect syncing emails, etc.)
CacheUpdateService
ConfigFetchService
Google Services Framework
CheckinService
EventLogService
SystemUpdateService
I also have the following broadcast receivers disabled:
Google Play Services
SystemUpdateService$ActiveReceiver
SystemUpdateService$Receiver
SystemUpdateService$SecretCodeReceiver
Google Services Framework
SystemUpdateService$Receiver
SystemUpdateService$SecretCodeReceiver
I'm running the following shell script at startup using Tasker. This step is overkill but worth doing if you use Tasker:
pm disable com.google.android.gms/.update.SystemUpdateActivity
pm disable com.google.android.gms/.update.SystemUpdateService
pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
pm disable com.google.android.gms/.update.SystemUpdateService$Receiver
pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
pm disable com.google.android.gsf/.update.SystemUpdateActivity
pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity
pm disable com.google.android.gsf/.update.SystemUpdateService
pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver
pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
For over-overkill and if you use the Amplify Xposed module I suggest you restrict the SystemUpdateService wakelock and the com.google.android.gms/.update.SystemUpdateService service.
RusherDude said:
I am not interested in OTAs being auto-downloaded and notifications appeared, since my plan is to flash them via custom recovery.
There's any way to block them on the Nexus 5?
And even if there are, after flashing the ota via CWM/TWRP, the update system will be unabled again?
Thanks a lot in advance.
Click to expand...
Click to collapse
Very Easy! Takes one paid app and easy to undo. After flashing the OTA you'll have to look in Autostarts to see if the two Google Play services are still disabled or not. Back when it was one service in the Google Services Framework that would disable the OTA it would stay disabled after flashing the OTA from a custom recovery but it's different services so I don't know yet if they stay disabled or have to be disabled again. I haven't flashed an OTA in recovery since Google Play Services took control of the OTA updates which is a fairly recent development. I'm sticking with 4.4.4 probably till 5.1 comes out, whenever that is, so I personally won't be flashing any images or OTA's anytime soon.
JRummy Toolbox pro does this. Switches radios
---------- Post added at 08:28 PM ---------- Previous post was at 08:26 PM ----------
Or I. Bet if you alter the build I. D it would kid it

Problem with alarm/wakeup BBS

Hi everyone, y have I have a high percentage for com.google.android.gms
But deep sleep is ok and wakelock ok too.
I wanted to know if I could lower these alarms/wakeup
Thank you in advance for advice
Bradco said:
Hi everyone, y have I have a high percentage for com.google.android.gms
But deep sleep is ok and wakelock ok too.
I wanted to know if I could lower these alarms/wakeup
Thank you in advance for advice
Click to expand...
Click to collapse
Google Play services is your problem, there's an update service in it that runs in the background and eats battery power. You can use an app called Disable Service in the Playstore that can be used to disable the service in Google Play Services. Do some Google searching to find what I'm talking about, the information should be easy for you to find.
Sent from my SCH-I535 using Tapatalk
Thank you very mutch for your reply
I have the disable service, if I disable the service what will it all work always and Will not it cause problems?
And I'm not sure what service I need to disable, in your opinion which is at issue in the list ?
regards
EDIT:
i found this for Android Device Manager
com.google.android.gms.mdm.services.GcmReceiverService
Bradco said:
Thank you very mutch for your reply
I have the disable service, if I disable the service what will it all work always and Will not it cause problems?
And I'm not sure what service I need to disable, in your opinion which is at issue in the list ?
regards
EDIT:
i found this for Android Device Manager
com.google.android.gms.mdm.services.GcmReceiverService
Click to expand...
Click to collapse
You need to disable the "update service", its a service that constantly scans for an updates to the Google Play Services and your other Google apps.
As I said, if you search for using the disable service app to fix google play services you'll find instructions for what I'm talking about. It is a common issue and has been done by many users since 5.1 was released, there should be plenty of information about it and it shouldn't be hard to find.
Sent from my SCH-I535 using Tapatalk
Thanks droidriven,
I found this:
https://www.orduh.com/google-play-services-battery-drain-fix/#disable_google_play_services
but I can not find a tutorial or it is giving the exact name of the automatic update service of google play.
thanks anyway
Bradco said:
Thanks droidriven,
I found this:
https://www.orduh.com/google-play-services-battery-drain-fix/#disable_google_play_services
but I can not find a tutorial or it is giving the exact name of the automatic update service of google play.
thanks anyway
Click to expand...
Click to collapse
I did it months ago, I just can't remember the details. I only had this issue on 5.0-5.1.1, I haven't had this issue on 6.0 and up so I haven't had to do this.
Sent from my SCH-I535 using Tapatalk
Droidriven said:
I did it months ago, I just can't remember the details. I only had this issue on 5.0-5.1.1, I haven't had this issue on 6.0 and up so I haven't had to do this.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
It's weird the deep sleep is good and my kernel wakelock the highest is 3%
Bradco said:
It's weird the deep sleep is good and my kernel wakelock the highest is 3%
Click to expand...
Click to collapse
Did you use wakelock detector to determine that result?
You can also use Alogcat app to run a log to check what your device is doing while idling with all apps closed and recent cleared.
Sent from my SCH-I535 using Tapatalk
Droidriven said:
Did you use wakelock detector to determine that result?
You can also use Alogcat app to run a log to check what your device is doing while idling with all apps closed and recent cleared.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Yes i have wakelock detector, i have this ( in attachement )
I'm not sure to understand the results of alogcat
but I can not find a tutorial or it is giving the exact name of the automatic update service of google play.
Click to expand...
Click to collapse
Maybe this could be the ultimate tutorial you ever dreamed to : https://www.youtube.com/watch?v=0zz57xV3f50
Droidriven said:
Did you use wakelock detector to determine that result?
You can also use Alogcat app to run a log to check what your device is doing while idling with all apps closed and recent cleared.
Sent from my SCH-I535 using Tapatalk
Click to expand...
Click to collapse
Y don't understand anything, I followed this tutorial https://www.youtube.com/watch?v=0zz57xV3f50
Disabled everything about localization and nothing works:
I added screenshot with this post
I'm disappointed
the only thing that allows the phone to switch to depp sleep is airplane mode
It's a realy bad joke

Some apps not present in battery optimisation?

As the title suggest, anyone else find that some apps just aren't available within the battery optimisation menu? For example, I have viper4android installed and when attempting to exclude it, it simply isn't listed there. Same with Google calendar too...
System apps don't show up there. You probably have installed viper4android as a system app.
That's OxygenOS standard.
tWoBrO said:
System apps don't show up there. You probably have installed viper4android as a system app.
That's OxygenOS standard.
Click to expand...
Click to collapse
That's a dam shame! I've not encountered this on other devices. I wonder if there's any workaround?
I noticed that Gmail and Facebook not showing either
hpsauce37 said:
I noticed that Gmail and Facebook not showing either
Click to expand...
Click to collapse
I know Gmail is a system app, not sure about Facebook.
bp328i said:
I know Gmail is a system app, not sure about Facebook.
Click to expand...
Click to collapse
Hmm I do wonder if there's some way around this. I mean for example, the Universal Doze for GMS is a magisk module that allows hibernating a system app. Surely its possible to do the opposite and allow a system app not to be hibernated?
Hopefully some clever dev can work some magic here...
cd993 said:
Hmm I do wonder if there's some way around this. I mean for example, the Universal Doze for GMS is a magisk module that allows hibernating a system app. Surely its possible to do the opposite and allow a system app not to be hibernated?
Hopefully some clever dev can work some magic here...
Click to expand...
Click to collapse
I'm using the one for Gmail I found in the 6t forums and it seem to be working pretty well. I've tested and I get my notification almost instantaneous.
hpsauce37 said:
I noticed that Gmail and Facebook not showing either
Click to expand...
Click to collapse
I use bluemail, far superior to Gmail and works with Enterprise and exchange email servers and you have full control of it and you can add Gmail accounts as well. So I just freeze Gmail and never think about it again.
---------- Post added at 10:22 PM ---------- Previous post was at 10:18 PM ----------
Also, can't you just move the app or if the system dinner and into the regular app folder and change the permissions then just omit from battery optimization? Not sure if Gmail works with those permissions but I'd try that.
Eric214 said:
Also, can't you just move the app or if the system dinner and into the regular app folder and change the permissions then just omit from battery optimization? Not sure if Gmail works with those permissions but I'd try that.
Click to expand...
Click to collapse
This doesn't solve the issue., tried that. Disabling Doze does though :good:
And yes, still amazing low idle drain nonetheless.

Categories

Resources