5,596,179 Members 34,056 Now Online
XDA Developers Android and Mobile Development Forum

Solution to Google Services and Android System battery drain [UPDATED Nov 23, 2013]

Tip us?
 
Galaxo60
Old
(Last edited by Galaxo60; 22nd November 2013 at 07:20 PM.)
#1  
Galaxo60's Avatar
Senior Member - OP
Thanks Meter 315
Posts: 832
Join Date: May 2012
Location: Mexico City
Battery Low Solution to Google Services and Android System battery drain [UPDATED Nov 23, 2013]

Google Services Battery Drain
To all of you having Google Services battery drain, I think I found a fix.

With last Google Services update and the last Google Maps update, sometimes it drains almost half of total battery.

I myself have spent the last week trying to see what is happening with this topic, trying to find in every thread or forum across the internet: XDA, HTCMania, AndroidCentral and even Google official forums for this annoying topic. Posted in every forum I could and tried to find an easy way, but for some people, this bug doesnt exist.

When I write "No Google Services battery drain", I mean that this is not appearing in the battery graph.

I made a clean install of my ROM with no sync from Google, so I could see whats the source of such battery drain. I started to disabled the "Location Access" at Settings.

I started to install only Google Search and use device a couple of hours with it. Google Search/Google Now ask for the Google Services, so I installed and used it. The Google Settings app(the one with the green icon) had disabled the "Location History" and "Reporting Location". No Google Services battery drain.

I enabled the last two to see if this could be the culprit of the battery drain and used device for a couple of hours more. No Google Services battery drain.

Then I installed Google Maps and just enabled GPS in "Location Access" and used the device again. No Google Services battery drain.

After that, I enabled "Wi-Fi & Mobile Network Location" on "Location Access" and then... Voil!. Google Services started to appear in the battery graph.

I discovered that the drain come specifically from this option in Location settings: Settings > Location Access > Wi-Fi & Mobile Network Location.

I left GPS Satellites checked and even with that, no more Google Services drain. All the drain come from the other option, and is more noticeable when you are connected to WiFi.

No need to disable other Location services nor other settings about locations, just leave that option unchecked and Google Services wont even appear in the battery graph.

I have been running my device with all Locations settings enabled except the "Wi-Fi & Mobile Network Location" and Google Services is not even show on battery graph.

Hope it helps.



= = = = = = =

Android System Battery Drain
About Android System battery drains, I have found 2 posts that could help of people who made tests and possibly resolved the issue:
http://forum.xda-developers.com/show...06&postcount=7
http://forum.xda-developers.com/show...18&postcount=5

= = = = = = =

UPDATES
Aug 01, 2013 - I tried to install new Google Play Store and new Google Services framework and still is the same.

Aug 07, 2013 - Updated Google Services Framework to 3.2.25(Although Play Store says 3.0.25 is the last one) to test if enabling WiFi location has impact on battery. Reporting Location and Location History are disabled for this test.

Aug 08, 2013 - The battery drain has decreased a lot with latest update, it is now just 5% of total battery life until now(22hrs since charged). I m going to leave battery discharges and then make a new battery cycle with Reporting Location and Location History enabled to see if the problem is totally gone about location battery drains.

Aug 09, 2013 - Its been 5 hours since I unplugged phone from charger, I have Google Services at 10% of my battery and my Screen with 30 mins. At first, Google Services drain showed 20% on the battery graph for the first hour I think, and then it seems to decrease and stay normal again. I will post tomorrow the final results. Remember that for this test Im having enabled all the possibly Location settings on phone(both Google Now settings and Location Access settings).

Aug 10, 2013 - The first battery cycle was ok, with all the Location settings enabled both in Settings and in Google Now, gave me a total of 8% battery drain in a full day, most of the time in 3G and not in WiFi like the other tests I did. It seems that new update of Google Play Services helped a lot with this drains, because the drain of Google Services is still below of the System itself. I will report later when the battery life improve, because first cycles are always bad in terms of battery life.

Aug 12, 2013 - It seems that the battery drain problem is fixed with last update. I made 2-3 battery cycles and the drain at the end is the same, around 7%-10%, something that looks normal and below when comparing to the "Phone Idle" or "Android System" battery drain. Of course you can disable the Location options, specially the WiFi Location option to make the Google Services battery drain be lower, but people is reporting Google Now and other apps not working properly. Maybe is the way that Android 4.3 works now. Still the battery is still improved from Android 4.2.2, so Im quite happy right now with the tests and the results.

Aug 13, 2013 - Here are the results for the tests. I maybe should call these results the final ones, until something else happens. The screenshots are pretty self explanatory. The first one is about the battery drain over night, and the other two about the battery life at the end of the day.

Aug 21, 2013 - I made a full wipe and clean installation of PA 3.97 to test if drain could be also ROM sided fro any reason, but the news is that with a clean installation and latest updates for every Google product, the drain is the same fro Google Services(around 5%-8%). For all the previous test I was using pure AOSP build.

Sep 09, 2013 - Some users reported that latest updates are making the problem reappear, so I link the post with the latest free drain version of Google Now: http://forum.xda-developers.com/show...&postcount=161.

Sep 13, 2013 - I have installed PSX ROM with PSX GAPPS(based on BaNkS) and the Google Services drain is the same, around 5%-8% after a normal usage day. I don't report any problem.

Sep 20, 2013 - I have flashed Purity ROM and Purified Kernel and the Google Services drain is a little bit higher, around 10%, but still have good battery and performance.

Sep 24, 2013 - The opportunity now is for PSX v7 with default kernel(SiMa). Google Services drain is behaving normally, around 10%. It seems that the last update from September increased a little the Google Services wakelock. Still is performing well and it is a decent drain.

Sep 30, 2013 - Added some useful information and solution from user 511pf: http://forum.xda-developers.com/show...&postcount=227

Oct 24, 2013 - I flashed PSX 8.2 with default kernel, a very battery friendly and balanced kernel. Google Services drain is good, around 8%.

Oct 30, 2013 - I make a clean install of PSX 8.5 with new kernel and Google Services still are around 8%. No major problems with them.

Nov 12, 2013 - I came back to stock to wait for the Android 4.4 update, and the Google Services remain the same: around 7%. No major issues presented and battery drain over night is around 5% for 9 hours.

FINAL UPDATE: Nov 23, 2013 - I flashed stock image for Android 4.4 and Play Services drain reappeared. The problem is, after some researching, that KitKat has "modes" for location settings. There are 3 modes: high precision, battery friendly and device only. The first two drain battery as hell, but the third one makes the Play Services drain completely gone. With this in mind, widgets and Google Now are still fully functional, just Near Places is not available as well as some apps that need location, because it will work with just the GPS. My battery has greatly increased after I made this change.

I won't be continuing with this thread because I already sold my Nexus 4 and I got a Nexus 5, so I'm moving on. I will ask a moderator if it possible to make this thread a sticky thread so it will continue to be available to all the Nexus 4 users.

= = = = = = =

NEW GOOGLE PLAY SERVICES - https://play.google.com/store/apps/d...le.android.gms

= = = = = = =

Credits
@elpino.rv
@Calebz
@agriff
@511pf
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-08-13-07-45-07.jpg
Views:	13653
Size:	32.3 KB
ID:	2187531   Click image for larger version

Name:	Screenshot_2013-08-13-22-50-08.jpg
Views:	12129
Size:	31.2 KB
ID:	2187532   Click image for larger version

Name:	Screenshot_2013-08-13-22-50-12.jpg
Views:	10326
Size:	24.8 KB
ID:	2187533  
Phone: LG Nexus 4
ROM: JellyBeer
Android Version: 4.2.2
Kernel: Matrix V10
Recovery: TWRP

= = = If you find the information here to be helpful, take a moment to press the Thanks button = = =
The Following 80 Users Say Thank You to Galaxo60 For This Useful Post: [ Click to Expand ]
 
rirozizo
Old
#2  
rirozizo's Avatar
Recognized Contributor
Thanks Meter 1071
Posts: 2,202
Join Date: Jul 2010
Location: wonderland... soon
sweet! i'll test and confirm that soon.

i'll leave the GPS on, but the wifi off. (GPS will stay off even if checked because i barely use it)

and yes, you are right, in betterbatterystats, i get alot of location checking, and my country doesn't even support location reporting :P

ISOCK youtube channel
ROM Specific Q&A/T Thread Template on the PORTAL

Get a (battery) Life!

Memeber of Slim Team (Support is never via PM)

Currently working on: Building slimkat from source.

Phone: Google Nexus4 LG E960 Mako 16GB Black | ROM: SlimKat 4.4.2 | Kernel: AK | CPU: 0.08GHz-1.7GHz | Recovery: TWRP/MultiROM
Dropbox link <--- click this to get extra space!

My Blog

 
 
Srikks
Old
#3  
Srikks's Avatar
Junior Member
Thanks Meter 2
Posts: 20
Join Date: Dec 2012
Location: Bangalore
Is your device running latest 4.3 ? I remember reading that 4.3 has a fix for this issue.

Sent from my Nexus 4 using xda app-developers app
 
rirozizo
Old
#4  
rirozizo's Avatar
Recognized Contributor
Thanks Meter 1071
Posts: 2,202
Join Date: Jul 2010
Location: wonderland... soon
Quote:
Originally Posted by Srikks View Post
Is your device running latest 4.3 ? I remember reading that 4.3 has a fix for this issue.

Sent from my Nexus 4 using xda app-developers app
mine no, I'm waiting for the stable versiob of PAC ROM.

So meanwhile, I'm going for this solution

-----------------------------
^this bar means im on phone

ISOCK youtube channel
ROM Specific Q&A/T Thread Template on the PORTAL

Get a (battery) Life!

Memeber of Slim Team (Support is never via PM)

Currently working on: Building slimkat from source.

Phone: Google Nexus4 LG E960 Mako 16GB Black | ROM: SlimKat 4.4.2 | Kernel: AK | CPU: 0.08GHz-1.7GHz | Recovery: TWRP/MultiROM
Dropbox link <--- click this to get extra space!

My Blog

 
 
Galaxo60
Old
(Last edited by Galaxo60; 31st July 2013 at 03:04 PM.)
#5  
Galaxo60's Avatar
Senior Member - OP
Thanks Meter 315
Posts: 832
Join Date: May 2012
Location: Mexico City
Quote:
Originally Posted by Srikks View Post
Is your device running latest 4.3 ? I remember reading that 4.3 has a fix for this issue.

Sent from my Nexus 4 using xda app-developers app
Quote:
Originally Posted by Riro Zizo View Post
mine no, I'm waiting for the stable versiob of PAC ROM.

So meanwhile, I'm going for this solution

-----------------------------
^this bar means im on phone
Yesterday I did a full wipe of my phone(even sdcard) and restored everything from scratch to stock 4.2.2 image, and then update came to 4.3 few minutes later.

As far as I know, the problem still persists because in the time I was making wizard and setting up all the options for every app I have, I was seeing battery drain with the WiFi Location option enabled and when I finished setting up all, the Google Services drain was about 20% in a time of 2 hours.

I disabled the option, and currently I dont have this drain again, but it is just the first day, so I will enable it today and will report tonight with results.

It is 9:00AM exactly now, Im enabling the option now.

Phone: LG Nexus 4
ROM: JellyBeer
Android Version: 4.2.2
Kernel: Matrix V10
Recovery: TWRP

= = = If you find the information here to be helpful, take a moment to press the Thanks button = = =
 
Galaxo60
Old
#6  
Galaxo60's Avatar
Senior Member - OP
Thanks Meter 315
Posts: 832
Join Date: May 2012
Location: Mexico City
Quote:
Originally Posted by Srikks View Post
Is your device running latest 4.3 ? I remember reading that 4.3 has a fix for this issue.

Sent from my Nexus 4 using xda app-developers app
Quote:
Originally Posted by Riro Zizo View Post
mine no, I'm waiting for the stable versiob of PAC ROM.

So meanwhile, I'm going for this solution

-----------------------------
^this bar means im on phone
These are the results, the drain is still there although it is not much in 4.3. I have say to say that battery improvement is huge in this new version, so maybe this could matters directly with the drain.

I think still that is better to uncheck that option is not needed, so 10% of your battery or more won't be affected by this wakelock.

Attached Thumbnails
Click image for larger version

Name:	Screenshot_2013-08-01-07-31-57.jpg
Views:	5683
Size:	31.4 KB
ID:	2157597   Click image for larger version

Name:	Screenshot_2013-08-01-07-32-15.jpg
Views:	4584
Size:	36.4 KB
ID:	2157598  
Phone: LG Nexus 4
ROM: JellyBeer
Android Version: 4.2.2
Kernel: Matrix V10
Recovery: TWRP

= = = If you find the information here to be helpful, take a moment to press the Thanks button = = =
 
Miasmic
Old
#7  
Miasmic's Avatar
Senior Member
Thanks Meter 1618
Posts: 682
Join Date: Feb 2011
Location: Hong Kong
Guys I am facing such extremely annoying Google Services (DownloadManager in BBS) battery drain + mobile/wifi data usage issue and I have been searching for some hours.

First of all I have tried the most answered solution - clearing the data of all those stuffs related to Google Services - well it did not work so well.

Then I don't think freezing download manager / factory reset / restrict background data / disabling google services framework are good solutions as I myself did not make changes related to this recently so a factory reset should not be needed, plus the other mentioned solutions would cause syncing issues with Google and this doesn't suit my lifestyle of heavily depending on various google services.

Many of you have proposed that the massive download / repeated downloads are related to downloading the 4.3 OTA and that might be possible according to the similar file sizes as well as logcats you have found. But on the other hand one of the solution - disabling Network Locations settings has also stopped the "download" triangle from constantly staying there when my wifi is on. Therefore we can conclude that it is partially related to the 4.3 OTA download which cannot be disabled on our custom ROMs, as well as partially about the stock Network Location settings.

Fortunately after many posts that do not provide a feasible answer I have found this xda post which addresses the issue related to the Google Play Store 4.1.6. Some of the users have reported that 4.1.10 has fixed the issue and some even said the newest version 4.2.9 is over the internet since 25/7 together with 4.3 update.

Not sure why such critical update did not roll out to the unluckily bunch of us from Google, but I have found the Android Police source about 4.1.10 fixing the "Network Location bug which hogs the battery" and hopefully this will stop the DownloadManager wakelock as well as the crazy battery drain + data drain by Google Services.

I haven't tested this thoroughly because I will probably need a day to check out whether it stops the crazy behaviour but I would just like to share with you guys my founding as soon as possible so you guys can try it out together with me. The latest Google Play Store 4.2.9 apk can be downloaded from Android Police here.

Hope I have helped! Good luck to you and me!

PS sorry for the duplicating post in the same Q&A forum of N4 but I really want to help as many people as possible.


Let's protect our ears

Google Nexus 4
TWRP 2.6.3.3 | Cataclysm | franco.Kernel
PVS: Fast | UV -50 | input boost 1350 / 800000 | timer rate 20k

Google Nexus 7 2013
TWRP 2.6.3.0 | PA | franco.Kernel
PVS: 3 | No UV | input boost 1350 | suspend 1026

 
Docomo Galaxy Nexus
CWM-T 6.0.2.3 | Cataclysm | franco.Kernel

LG Optimus One | Amon_RA 3.0.6
Family CM10 b7 | 480/748 Smartass v2

My Apps missing in Play Store
The Following 2 Users Say Thank You to Miasmic For This Useful Post: [ Click to Expand ]
 
rirozizo
Old
#8  
rirozizo's Avatar
Recognized Contributor
Thanks Meter 1071
Posts: 2,202
Join Date: Jul 2010
Location: wonderland... soon
downloading latest playstore... will test... and btw, greenifying google services won't break sync

-----------------------------
^this bar means im on phone

ISOCK youtube channel
ROM Specific Q&A/T Thread Template on the PORTAL

Get a (battery) Life!

Memeber of Slim Team (Support is never via PM)

Currently working on: Building slimkat from source.

Phone: Google Nexus4 LG E960 Mako 16GB Black | ROM: SlimKat 4.4.2 | Kernel: AK | CPU: 0.08GHz-1.7GHz | Recovery: TWRP/MultiROM
Dropbox link <--- click this to get extra space!

My Blog

 
 
Galaxo60
Old
#9  
Galaxo60's Avatar
Senior Member - OP
Thanks Meter 315
Posts: 832
Join Date: May 2012
Location: Mexico City
Quote:
Originally Posted by Miasmic View Post
Guys I am facing such extremely annoying Google Services (DownloadManager in BBS) battery drain + mobile/wifi data usage issue and I have been searching for some hours.

First of all I have tried the most answered solution - clearing the data of all those stuffs related to Google Services - well it did not work so well.

Then I don't think freezing download manager / factory reset / restrict background data / disabling google services framework are good solutions as I myself did not make changes related to this recently so a factory reset should not be needed, plus the other mentioned solutions would cause syncing issues with Google and this doesn't suit my lifestyle of heavily depending on various google services.

Many of you have proposed that the massive download / repeated downloads are related to downloading the 4.3 OTA and that might be possible according to the similar file sizes as well as logcats you have found. But on the other hand one of the solution - disabling Network Locations settings has also stopped the "download" triangle from constantly staying there when my wifi is on. Therefore we can conclude that it is partially related to the 4.3 OTA download which cannot be disabled on our custom ROMs, as well as partially about the stock Network Location settings.

Fortunately after many posts that do not provide a feasible answer I have found this xda post which addresses the issue related to the Google Play Store 4.1.6. Some of the users have reported that 4.1.10 has fixed the issue and some even said the newest version 4.2.9 is over the internet since 25/7 together with 4.3 update.

Not sure why such critical update did not roll out to the unluckily bunch of us from Google, but I have found the Android Police source about 4.1.10 fixing the "Network Location bug which hogs the battery" and hopefully this will stop the DownloadManager wakelock as well as the crazy battery drain + data drain by Google Services.

I haven't tested this thoroughly because I will probably need a day to check out whether it stops the crazy behaviour but I would just like to share with you guys my founding as soon as possible so you guys can try it out together with me. The latest Google Play Store 4.2.9 apk can be downloaded from Android Police here.

Hope I have helped! Good luck to you and me!

PS sorry for the duplicating post in the same Q&A forum of N4 but I really want to help as many people as possible.
Quote:
Originally Posted by Riro Zizo View Post
downloading latest playstore... will test... and btw, greenifying google services won't break sync

-----------------------------
^this bar means im on phone
Don't lose your time with that article. Drain happened to me with Google Play Store 4.1.10 and also with Google Play Store 4.2.9. I was a completely week trying to install every Play Store I could and never worked.

Indeed most of test were made with 4.2.9, and the only way I could stop Google Services to appear in the battery graph was unchecking the option I mentioned before. At least for me, this is the only thing it worked to stop this.

Phone: LG Nexus 4
ROM: JellyBeer
Android Version: 4.2.2
Kernel: Matrix V10
Recovery: TWRP

= = = If you find the information here to be helpful, take a moment to press the Thanks button = = =
 
zero26800
Old
#10  
zero26800's Avatar
Senior Member
Thanks Meter 19
Posts: 128
Join Date: Oct 2010
Quote:
Originally Posted by Galaxo60 View Post
Don't lose your time with that article. Drain happened to me with Google Play Store 4.1.10 and also with Google Play Store 4.2.9. I was a completely week trying to install every Play Store I could and never worked.

Indeed most of test were made with 4.2.9, and the only way I could stop Google Services to appear in the battery graph was unchecking the option I mentioned before. At least for me, this is the only thing it worked to stop this.

Same here. Only way was to disable the WiFi location. No fix in sight until Google decides to fix it themselves

Sent from my SCH-I545 using xda app-developers app

Tags
battery, drain, google, nexus 4, services
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes