Fixing Google location wakelocks - One (M7) Q&A, Help & Troubleshooting

I noticed that Google Services was causing an insane amount of wakelocks when I let Google Apps use my location, especially Google Now. Thousands of wakelocks within hours seemed kind of insane - specifically NLPWAKELOCK AND NLPCOLLECTORWAKELOCK. After researching the issue a bit, I found that some people in other forums had success by installing the Play Store version of Play Services, replacing whatever came with the ROM.
So, what I did was uninstall Google Play Services through Titanium. I then launched Maps, which immediately said I needed Play Services and it sent me to the store. I installed the latest Play Services and noticed a dramatic drop in the wakelocks. Now, I get about 50 location wakeups per hour and much better battery performance.
Sent from my HTC One using xda premium

let me try it too

Related

[Q] Google Services wakelock kills battery

Google Services is killing my battery with its incessant wakelocks! How do I get rid of this?
I flashed my phone a few days ago... from ICS to JB 4.1.2.... I also loaded NOPE kernel and overclocked to 850 MHz. I thought it was the overclocking that was killing my battery but it looks like it's some of the google services.... they keep cpu wakelocking the phone while it should be sleeping. I mean come on, 6444 wakes in 15hrs?
I see that it's a common issue but there doesn't seem to be an easy fix. Can anyone walk me through what they did to solve? attached are my battery/wakelock stats for reference
You can always greenify it (play store -> greenify). Mind it does restart quite often, so it is a real pain, but most of the google apps depend on it. You could also go to google settings on the phone, and in the location section disable location reporting and location history. This is the main battery killer in google services.
P.S. What's the rom you're using on the pictures?
I read that turning off both GPS and network location services will help fix this.... but then all my apps become dumb. I'm looking at the Google Services screen in Wakelock Detector (image first post) and I can see the wake count for different functions or programs. e.g. NetworkLocationLocator woke 206 times, but GTALK_CONN woke 1668. Is there any way to disable certain aspects of the Google Services app or is it an all or none scenario?
P.S. What's the rom you're using on the pictures?
Click to expand...
Click to collapse
It's Speed Droid by addictz10 with the Samsung S5 skin (it's called CM11 CM10.2 TouchWiz 5.0 theme in the Store). The first green pic is using Wakelock Detector and the other 2 are the OS Battery screen.
Well, as for gps, you can turn it off, because it is rarely needed for your phone to have that precise information on your whereabouts. As for network location service, don't turn it off, just turn location reporting and location history in google settings (not phone settings). As for gtalk, well, you'll have to uninstall hangouts and to disable/remove google talk to stop that behavior. I don't think that there is a way of stopping certain wakelocks, and I agree that it would be great if it could be done...

stop Google play services auto update

Hi guys, i have a question. Is there any way to stop Google play services auto updates? I ask, because suddenly my battery drain problem on kit kat came back, and lookin i found that Google ps was on versión 5.x, so i uninstalled updates an left it on versión 4.x, and everything came back to normal.
settngs/apps/all apps , google playstore service... go to manage n clear all data... den uninstall...den disapble
Then he won't have Google Play services at all. It's not what he's asking for.
OP - no, unfortunately there is no way to stop it from auto-updating. However, if you clean the data as I wrote here - you might get lucky and not have any drain with version 5.x. I have it and it's fine.
Jack_R1 said:
Then he won't have Google Play services at all. It's not what he's asking for.
OP - no, unfortunately there is no way to stop it from auto-updating. However, if you clean the data as I wrote here - you might get lucky and not have any drain with version 5.x. I have it and it's fine.
Click to expand...
Click to collapse
Thanks man, i'll try that
Wakelock Termination....
There is only one way perfectly working for me so far with all updates for Google play services....
Install Xposed Framework
Install Wakelock Terminator Wakelock Terminator on Play Store
Activate it in Xposed
Open the Wakelock Terminator and look for google play services
Activate Wakelock Terminator for Google Play Services (In free version only 1 can be added to wakelock).
Add these values in the Filter for Google Play Services
NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator
Restart.... You can even check it in app and running menu in settings that you would only see 1 process running for play services and it won't be keeping your CPU awake..... Check it using Wakelock Detector....
Go ahead and give it a try and enjoy.... :good:
Share this info if this helps you..... Let as many people know about it.....
Press Thanks if I helped....
camileind said:
Hi guys, i have a question. Is there any way to stop Google play services auto updates? I ask, because suddenly my battery drain problem on kit kat came back, and lookin i found that Google ps was on versión 5.x, so i uninstalled updates an left it on versión 4.x, and everything came back to normal.
Click to expand...
Click to collapse
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
medovici said:
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
Click to expand...
Click to collapse
I don't see any setting at all???
medovici said:
Yes there is the way to do it...your device must be rooted...there is an app...here on xda... called LBE security master..in settings there is an option to stop automatically installed software...device still download updated app but LBE stops installation..50 times in 3 days...don't dowload Lbe from play store cos app is in Chinese language. There is one here on xda translated...V5.3.7506 works for me...i an on kitkat 4.4.2
Click to expand...
Click to collapse
nikhilkaushik said:
There is only one way perfectly working for me so far with all updates for Google play services....
Install Xposed Framework
Install Wakelock Terminator Wakelock Terminator on Play Store
Activate it in Xposed
Open the Wakelock Terminator and look for google play services
Activate Wakelock Terminator for Google Play Services (In free version only 1 can be added to wakelock).
Add these values in the Filter for Google Play Services
NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator
Restart.... You can even check it in app and running menu in settings that you would only see 1 process running for play services and it won't be keeping your CPU awake..... Check it using Wakelock Detector....
Go ahead and give it a try and enjoy.... :good:
Share this info if this helps you..... Let as many people know about it.....
Press Thanks if I helped....
Click to expand...
Click to collapse
It is not working. Google Play Services still updates.
Upgrade your ROM to 4.4.4
evrycard said:
It is not working. Google Play Services still updates.
Click to expand...
Click to collapse
Sony has ultimately resolved this problem. Simple solution, upgrade to 4.4.4....
I am using it since long and don't find any issues....:good:
nikhilkaushik said:
Sony has ultimately resolved this problem. Simple solution, upgrade to 4.4.4....
I am using it since long and don't find any issues....:good:
Click to expand...
Click to collapse
I think with the advent of Google Play Services 6.5.99 (or perhaps a bit earlier) the auto-update issue has become a problem again.
According to my recent observations Google Play Services 6.5.99 performs periodic location pings (every 15min) or so. With my settings ("Device only" location mode, but "Location reporting" and "Location history" turned "Off"), it is using GPS and thus unnecessarily drains the battery.
I don't see the problem with Google Play Services 6.1.05 so I'd rather wish Google would not auto-update Google Play Services.
Call me a newbie (I'm fine with that because I am as far as Android is concerned) but I find it outrageous that Google can update a core component on my phone without my consent, introducing phone issues, sub-par performance, or undesired behaviour at their whim. An opt-out facility for the auto-updates would be the least one would expect.
The Google Play Store allows one to opt out of automatic updates to downloaded applications so why isn't this setting not consulted when it comes to "Google Play Services"? I realise that probably no one here knows the answer, but I found it very hard to find a place to actually provide Google with feedback regarding "Google Play Services".
TomKay said:
According to my recent observations Google Play Services 6.5.99 performs periodic location pings (every 15min) or so. With my settings ("Device only" location mode, but "Location reporting" and "Location history" turned "Off"), it is using GPS and thus unnecessarily drains the battery.
I don't see the problem with Google Play Services 6.1.05 so I'd rather wish Google would not auto-update Google Play Services.
Click to expand...
Click to collapse
I ve faced the same isse with the repeated gps activities since the last update from the play Services.
But i think the cause of this phenomenon is the Google search! Ive disabled the google search app, and now I dont have this strange gps requests!
wihushae said:
I ve faced the same isse with the repeated gps activities since the last update from the play Services.
Click to expand...
Click to collapse
Thanks heaps for confirming.
I wasn't sure whether my (stock) system got messed up somehow.
I wonder why there hasn't been more of an outcry over the new location pinging behaviour. I find it unacceptable and can only believe it is due to a bug rather than intended.
I hope that future versions of "Google Play Services" will behave differently and found it frustrating that I couldn't locate a forum where Google developers would be listening to "Google Service Play" concerns. I made a post in a "Google Search" thread at a Google forum (not allowed to link to it yet) but I'm afraid it is off-topic there.
wihushae said:
But i think the cause of this phenomenon is the Google search! Ive disabled the google search app, and now I dont have this strange gps requests!
Click to expand...
Click to collapse
I first believed "Google Search" to be the culprit as well because disabling it got rid of the location pings.
However, that only worked once and later attempts to kill the pings by disabling "Google Search" were unsuccessful. Perhaps you should check once in a while whether the pings are coming back because it appears to me that it really is "Google Play Services" and it is just being triggered by various sources.
Also, being able to initiate a google search by just wiping up the home button, is a rather crucial feature to me. Disabling "Google Search" would force me to fire up a browser instead which would be a lot more cumbersome. Given that a different version of "Google Play Services" does not perform the pings even while "Google Search" is available, I'd say one should attempt to tackle the problem by addressing "Google Play Services" not "Google Search".
BTW, I opted out of "Google Now" just to make sure that there aren't any location based cards that request location updates.

[Q] Google services issues anyone

hey everyone , I got my phone on the 7th and since I've had it I've been having issues with battery drain. and Google services is causing this issue. I am going to attach a screenshot so u guys can check it out. Anyone having this problem as well? I already tried factory reset but that didn't help.
Google Services doesn't even show up on mine, I am assuming Google Play Services is the same thing, and it's 8% on mine, a little high I would think, do you have a bunch of accounts that sync all the time?
androidoholic said:
Google Services doesn't even show up on mine, I am assuming Google Play Services is the same thing, and it's 8% on mine, a little high I would think, do you have a bunch of accounts that sync all the time?
Click to expand...
Click to collapse
I don't use much other than Google and Facebook accounts and I don't think that's enough to justify the amount of battery Google services is taking up

Battery Drain from Google Play Store on 5.1.1

Has anyone noticed a lot of battery drain from Google Play Store since updating to 5.1.1? the only way I can stop the drain, is to disable Google Play Store.
I am happy to report that the problem was with apps not being able to update in the play store! After trying the troubleshooter I found in the Play Store I had Google call me and after trying a few other things, she had me delete my Google account and reinstall it. That was the last step before a factory reset! It corrected the problem I was having, and I hope it helps some of you, too!
It does this to me if you have updates that need to install. Hopefully marshmallow will fix how often it tries to sync. It's very active in the background. I believe you can choose to not have it sync in your settings menu. It may help. Mine still last a long tie but you are dead on with drainage. I noticed this right away when I updated to 5.1.1
I figured out that I can no longer update or download ANYTHING from play store
My battery life is back to normal.

Battery Drain Google Play Services

Hi there,
i'm using a S3 Mini rooted with a stock rom, and i was watching the things that drains my battery the most and found out that
Google play services is draining 48% while the display is draining 22%. I've uninstalled Google play services updates and download the latest, and now it's draining 44%.
I've also found that there's an app called "app ops" that could fix this but couldn't install the apk file, seems like it's not compatible with my phone.
So is there any solution to stop google play services from draining such a huge amount of battery?
Thanks in advance people.

Categories

Resources