Post Reply

[GUIDE][PSA] Google Play Services battery drain fix

OP timmaaa

30th July 2014, 09:09 AM   |  #1  
timmaaa's Avatar
XDA: ASSIST
OP Recognized Contributor
Flag Melbourne
Thanks Meter: 8,499
 
17,662 posts
Join Date:Joined: Jun 2011
Donate to Me
More
If you're running a recent CM based or aosp ROM you've most likely encountered some pretty severe battery drain from Google Play Services (or Android OS as it sometimes shows up as). Below is a procedure that will halt the battery drain, but will not affect the running of your device.

Enter Privacy Guard through Settings/Security or Settings/Privacy, then click Advanced or Show Built-In Apps (depending on which ROM you're running). From here you can select Google Play Services and deny the Wake Up, Keep Awake, and Auto-Start options. This should drastically reduce the amount of battery that Google Play Services and Android OS consume.



Please note: I've removed the second part of this guide as it seems to be causing problems for some users, it was unnecessary 99% of the time anyway.


Donate To Me

Transmitted via Bacon
Last edited by timmaaa; 30th January 2015 at 11:12 AM.
The Following 198 Users Say Thank You to timmaaa For This Useful Post: [ View ]
30th July 2014, 11:37 AM   |  #2  
Senior Member
Flag Viborg Denmark
Thanks Meter: 5
 
112 posts
Join Date:Joined: Nov 2010
I can vote for this, I did have massive battery drain from google services, but now, none.
30th July 2014, 11:45 AM   |  #3  
timmaaa's Avatar
XDA: ASSIST
OP Recognized Contributor
Flag Melbourne
Thanks Meter: 8,499
 
17,662 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Glad to help.

Sent via Bacon
30th July 2014, 11:49 AM   |  #4  
EddyOS's Avatar
Recognized Contributor
Flag Liverpool, Merseyside
Thanks Meter: 3,525
 
14,252 posts
Join Date:Joined: Jan 2010
More
Do you need root access for this?
30th July 2014, 12:12 PM   |  #5  
timmaaa's Avatar
XDA: ASSIST
OP Recognized Contributor
Flag Melbourne
Thanks Meter: 8,499
 
17,662 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Yes. I'll add that information to the OP.

Sent via Bacon
The Following User Says Thank You to timmaaa For This Useful Post: [ View ]
30th July 2014, 07:27 PM   |  #6  
Calkulin's Avatar
Recognized Developer
Thanks Meter: 7,819
 
1,494 posts
Join Date:Joined: Sep 2008
Donate to Me
More
This guide is a little excessive, the biggest battery killer for that app, especially if you use Google Now, is the wake ups permission, so denying just that will fix most of the battery drain. If you want to go the extra mile, denying the keep awake permission also which fix the other minor part and none of these fixes require root

EDIT: Just noticed you said AOSP, which doesn't have the wake up or keep awake permissions to deny IIRC, so what I said only applies to the CM ROMs
Last edited by Calkulin; 30th July 2014 at 07:30 PM.
The Following 5 Users Say Thank You to Calkulin For This Useful Post: [ View ]
30th July 2014, 09:05 PM   |  #7  
timmaaa's Avatar
XDA: ASSIST
OP Recognized Contributor
Flag Melbourne
Thanks Meter: 8,499
 
17,662 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by Calkulin

This guide is a little excessive, the biggest battery killer for that app, especially if you use Google Now, is the wake ups permission, so denying just that will fix most of the battery drain. If you want to go the extra mile, denying the keep awake permission also which fix the other minor part and none of these fixes require root

EDIT: Just noticed you said AOSP, which doesn't have the wake up or keep awake permissions to deny IIRC, so what I said only applies to the CM ROMs

While this may seem excessive, the fact is it works. My personal experience was that after changing the things mentioned that don't require root I still had Google Play Services draining my battery. As with anything though, mileage may vary. I'll add a note that the root section may or may not be required.

Forgive me for using a term (AOSP) that most XDA users associate with anything that's CM based. While it may not technically be 100% correct, it seemed to be in keeping with the vernacular used by your average XDA member.

Thanks for your input, I appreciate it.

Sent via Bacon
The Following 5 Users Say Thank You to timmaaa For This Useful Post: [ View ]
30th July 2014, 09:29 PM   |  #8  
Senior Member
Thanks Meter: 329
 
898 posts
Join Date:Joined: Dec 2011
A much simple process (that doesn't require root) worked for me:

1. I used Privacy Guard to deny Google Services "Wake up," "Keep awake" and "Auto start."

2. Under Settings > Apps > Running I stopped all instances of Google Play services.

They still come back but aren't killing my battery with wakelocks. It seems to accord with what Calkulin said above.
Last edited by CafeKampuchia; 30th July 2014 at 09:31 PM.
The Following 2 Users Say Thank You to CafeKampuchia For This Useful Post: [ View ]
30th July 2014, 09:50 PM   |  #9  
Junior Member
Thanks Meter: 3
 
24 posts
Join Date:Joined: Jul 2014
Thanks a lot, I have done everything in the OP, will report back
30th July 2014, 09:58 PM   |  #10  
timmaaa's Avatar
XDA: ASSIST
OP Recognized Contributor
Flag Melbourne
Thanks Meter: 8,499
 
17,662 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by CafeKampuchia

A much simple process (that doesn't require root) worked for me:

1. I used Privacy Guard to deny Google Services "Wake up," "Keep awake" and "Auto start."

2. Under Settings > Apps > Running I stopped all instances of Google Play services.

They still come back but aren't killing my battery with wakelocks. It seems to accord with what Calkulin said above.

Like I said just above, mileage may vary. It's awesome if doing just that worked for you, but for others it isn't enough for some reason.

Sent via Bacon

The Following User Says Thank You to timmaaa For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes