[Possible solution] Google maps wakelock - Nexus 4 General

I have been in trouble for a past month. Google maps was holding partial wakelocks on sleep with all settings sync check boxes cleared in Google maps app. But it didn`t help. Settings->Battery always had google maps in here for lower or higher percentage. A day ago I started using better battery stats and noticed networklocationpassivecollector holding wakelock. So i dig into Settings->Locaion access-> Access to my location switch is on. If i switch it to off and then again back to ok dialog "Locations consent" appears when I pressed disagree the problems went away. Dialog message: Allow Google`s location service to collect anonymous location data. Some data may be stored on your device. Collection may occur even when no apps are runing.
Can somebody with google maps wakelock problem confirm this?

Open maps and then location settings in that and disable the report from this device option.
Sent from my Nexus 4 using Tapatalk 2

If you disagree in that dialog, then your location discovery will be less accurate, because one of the 2 checkboxes on that screen will not be set.

This appears to be a location settings bug. This also happened to me but with the Facebook app.

vukis said:
Can somebody with google maps wakelock problem confirm this?
Click to expand...
Click to collapse
I had Google Maps related wakelocks as well. They went away when I turned off everything that had to do with
Location reporting form Google Maps, Account Settings and GPS Settings. I'm not sure which "feature" was
causing it but there is indeed a problem.

Can anybody with this wakelock problem install Greenify app from play store. I had this problem but as soon as I hibernated maps they no longer cause wakelock and GPS and all the location settings are on. Maybe it will help same as me without a need to switch anything off.
Sent from my Nexus 4 using xda app-developers app

Hi
vukis said:
I have been in trouble for a past month. Google maps was holding partial wakelocks on sleep with all settings sync check boxes cleared in Google maps app. But it didn`t help. Settings->Battery always had google maps in here for lower or higher percentage. A day ago I started using better battery stats and noticed networklocationpassivecollector holding wakelock. So i dig into Settings->Locaion access-> Access to my location switch is on. If i switch it to off and then again back to ok dialog "Locations consent" appears when I pressed disagree the problems went away. Dialog message: Allow Google`s location service to collect anonymous location data. Some data may be stored on your device. Collection may occur even when no apps are runing.
Can somebody with google maps wakelock problem confirm this?
Click to expand...
Click to collapse
Google uses Android phones to keep its Wi-Fi database up to date, saves driving around in a car and getting into trouble for collecting data This is why they state it may use some data even if you aren't using Maps or location services.
Disabling reporting of locations from Maps doesn't change the wake locks, as it isn't the reporting causing most of them.
So Google will use your device to scan for Wi-Fi points, plus enable your GPS if it can to get a location fix to update it's location database of Wi-Fi points. To further confuse things Google seems to have some adaptive way of using devices, perhaps after a time they give individual phones a rest from reporting, or they use more of your phone the more you use more of the service, sort of our cost for getting free location services. This means different people see different battery usage from Google Maps, and the same person will see loads one day then it suddenly stops another.
The best way of stopping it is if you have root access download an application that lets you disable apps, and then disable Google Maps, only turning it on when you need it.
Regards
Phil

PhilipL said:
Hi
Google uses Android phones to keep its Wi-Fi database up to date, saves driving around in a car and getting into trouble for collecting data This is why they state it may use some data even if you aren't using Maps or location services.
Disabling reporting of locations from Maps doesn't change the wake locks, as it isn't the reporting causing most of them.
So Google will use your device to scan for Wi-Fi points, plus enable your GPS if it can to get a location fix to update it's location database of Wi-Fi points. To further confuse things Google seems to have some adaptive way of using devices, perhaps after a time they give individual phones a rest from reporting, or they use more of your phone the more you use more of the service, sort of our cost for getting free location services. This means different people see different battery usage from Google Maps, and the same person will see loads one day then it suddenly stops another.
The best way of stopping it is if you have root access download an application that lets you disable apps, and then disable Google Maps, only turning it on when you need it.
Regards
Phil
Click to expand...
Click to collapse
Interesting. Is this an assumption or the fact? If former, could you link up the source please?

What about this app ? https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts
Envoyé depuis mon Nexus 4 avec Tapatalk

Follow the link in Q2 in this post: http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3

Hey guys. Thanks for great advises I will try auto starts (or greenify), because after disagreeing to Google passive collector Google Now stopped working. But maps wake locks are still away
And yes Google do collects Wi-Fi routers information. I noticed that when I bring my router to other place all connected laptops web based Google maps showed that our current location is my home

Related

[Q] Latitude Doesn't Update

Hey all,
For some reason my location in Latitude doesn't update in the background unless I go into the app. I've got it set to update automatically.
Any ideas?
- Brent
BrentNewbury said:
Hey all,
For some reason my location in Latitude doesn't update in the background unless I go into the app. I've got it set to update automatically.
Any ideas?
- Brent
Click to expand...
Click to collapse
Mine was working for a few weeks then just stopped. Not sure if it's because I'm usually only running on 2G? (since Froyo 3G is unreliable in the house).
I nearly always have a 3G connection. It can't be that for me, surely.
Bumping for sweet justice
Does anyone have any idea why Latitude won't automatically update my location unless I launch the app?
Two things:
Have you checked your latitude security/privacy settings in the menu? You need to have that set to update in the background.
Also, enable the google latitude location history http://www.google.com/latitude/apps and check, i have found that my phone reports in the maps app as if it had not been updating but it in fact had. It just does not refresh the icon in maps when it does that.
If not those two items, then I do not know what.
Thanks snlu178,
I had enabled background updating. I've managed to see my location history now that's it's built up (you don't get to see it right after signing up) and I can see that it's updating in the background. Thanks a lot for the advice.
- Brent
I had the same problem and I just cleared all Maps data from the Applications menu in Settings, and made sure I tapped Join Latitude instead of just enabling the Latitude layer.
G0belet said:
I had the same problem and I just cleared all Maps data from the Applications menu in Settings, and made sure I tapped Join Latitude instead of just enabling the Latitude layer.
Click to expand...
Click to collapse
Oh, just tried that, lets see how it goes
Remember it only uses cell tower location while in the background, not true gps satellites. So you won't see your location move in real time, it will only update once every 10 minutes or so.

Location reporting in Google services for 4.4 KK Sense roms

Recently I found the NLP wakelocks have used up much of the battery and can't a way to switch of Google location reporting. Any thoughts? I don't want to switch off all location services as I may need them for Maps or so...
I experienced exactly the same problems leading to a ton of wakeups from Google service. The only solution for me until now was to switch off all locations even though the weather and everything doesn't work properly anymore..

[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.

Massive battery drain by google service with fresh install of CM11 nightly

After a fresh install, i experienced massive battery drain (50%+ over night).
the culprit was google service, easily identified in the battery overview.
It prevents the phone from going to sleep mode.
i searched for the problem and found
http://forum.cyanogenmod.org/topic/...ce-wakelock-on-cm11-m7-massive-battery-drain/
"it's a new ota update service that was added in a recent Google Play Services update."
Solution:
http://forum.xda-developers.com/showpost.php?p=53739230&postcount=5031
quote:
Finally I was able to block the SystemUpdateService wakelock, using this app:
https://play.google.com/store/apps/details?id=com.rs.autorun (Autorun Manager)
go to settings, enable the option to show system entries
(refresh services)
find google play services and disable:
SystemUpdateService$Receiver
SystemUpdateService$ActiveReceiver
SystemUpdateService$SecretCodeReceiver
done... no more wakelock and it didn't break anything, syncs all work ok
I know this app doesn't look the best, but I tried others like "Android Tuner Free", "Disable Services", "Gemini App Manager", etc, but they allowed me to only disable the main service and didn't show the other receivers that had to be disabled.
Click to expand...
Click to collapse
One thing to add: If you clicked too much in Autorun Manager, it stops working and says "only changing of 10 entries allowed in the free version".
I wont give tipps to bypass this behaviour, so first think, then click.
the app can reset your services status from the menu, if you misclicked.
well, im not sure if this worked out well..
after 6 hrs, still google service takes a huge chunk of my battery. will report tomorrow.
installed latest nightly over this one, flashed google apps zip again, did not wipe anything, did not deactivate any google apps nor services, problem gone.

Categories

Resources