Over the last few days my battery has been draining faster than usual. I've just noticed that the NetworkLocationLocator Google service is at the top of the BetterBatteryStats list, registering 196 partial wakelocks in 2:37 minutes - 13m 4s.
The problem is that I have location tracking turned off in Google Maps (location reporting, location sharing, location history, automatic check-ins and check-in notifications).
Why is the NetworkLocationLocator service draining my battery when I have location settings turned off?
check under location services in settings
Skickat från min GT-I9300 via Tapatalk 2
I had the same issue. Just disconnect the use networks WiFi on settings location and it will solve this problem. I was experience this on stock ics with stock kernel.
Sent from my GT-I9300 using Tapatalk 2
Google now wastes a lot of battery using the process you've mentioned too.
Best way would be as suggested above, uncheck all location related boxes under location settings
Sent from my GT-I9300 using xda premium
Is there any other way to get rid of the frequent NetworkLocationLocator wakelocks than disabling Wifi and Network based Location. I belive the culprit might be an app that asks the service for location and disabling that app (or the location function inside the app) could solve the problem.
Google now is disabled and I don't have Maps installed. Altough I'm having ~2.5 wakelocks per minute. Ideed, disabling network based location solves the issue, but obviously this will prevent some apps that rationally use location from providing 100% functionality (eg. weather apps).
having the same wake lock issues myself since JB 4.1.2 update on my S2, fed up of it taking the battery now. why it polls so often is beyond me.
Turn off location using wireless network under location services setting
Sent from my GT-I9300 using xda premium
xcly said:
Turn off location using wireless network under location services setting
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
That's a workaround. One might need Network Location, so there has to be a real fix of the issue.
xcly said:
Turn off location using wireless network under location services setting
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
_polimorph_ said:
That's a workaround. One might need Network Location, so there has to be a real fix of the issue.
Click to expand...
Click to collapse
yep i turned it off and within an hour i used an app that needed it!
Is there likely to be a full fix to this problem? I have the same kind of issue - I turn off the Wifi/Network option in location options so that Google doesnt poll my location every x minutes, but I find this gives me options with Facebook. Instead of Facebook getting its location in a couple of seconds by asking Google to get it, Facebook instead initiates the GPS in the phone and takes a few minutes to get a lock because i'm inside the house. I'm running cm10.1 not stock btw.
Same issue - SGS2
Hi,
I had exactly the same problem on my Galaxy S2 with MIUI official:
NetworkLocationLocator wakelock from Google Services(not maps, its important!) was up at 8-20% of the time.
I did some research.
First of all, I did full wipe. Wakelock arrived on second reboot after adding google account, so installed apps are not the problem.
I found an opinion that mysterious Google Checkin Service was behind that wakelock, so I disabled that stuff completely by modifying corresponding values in GServices DB. Wakelock was still there.
I am stuck completely, at this point I have no idea what might cause this.
On another rom, 4.2 Paranoid Android, it's all fine, I get only 1-3% of NetworkLocationLocator from GMaps, but thats another story.
If anyone has any ideas - you are welcome.
If there are another MIUI users here - check your battery stats please(stock android battery graph is ok). Do you have 'barcode' on awake graph? If yes - than we have really global problem here...
Bump
this is terrible.
_polimorph_ said:
Is there any other way to get rid of the frequent NetworkLocationLocator wakelocks than disabling Wifi and Network based Location. I belive the culprit might be an app that asks the service for location and disabling that app (or the location function inside the app) could solve the problem.
Google now is disabled and I don't have Maps installed. Altough I'm having ~2.5 wakelocks per minute. Ideed, disabling network based location solves the issue, but obviously this will prevent some apps that rationally use location from providing 100% functionality (eg. weather apps).
Click to expand...
Click to collapse
have you tried google settings -> location -> off
I had the google services issue on M1 and M2.
This work around fixes it for me, only had to do it once on M2.
I reboot into recovery (I'm running clockwork recovery) flash gapps (3/1) reboot.
I DO NOT wipe cache or davalink.
Seems like Google services does it after a new flash but I never really saw a reliable pattern myself.
I'm having the best battery life on M2!
Hope it helps? Let me know.
Bump
This is a horrible issue that is still very present on latest nightlies, and has been for around two months, as of this posting.
Completely disabling location services is not a solution, and it is not a work-around.
We need some ability to trace the source of these location requests. There is no useful information in the logcat.
Location services should be providing some of its own statistics on which applications are polling for location.
seems to have dropped 90% since the google maps update!
Related
I've always been under the assumption that it's best to turn GPS entirely off when I don't need it to help save on battery life. I was just reading a thread on another site and it gave me the impression that if it's turned on and the icon is not showing on the status bar, like it does when I'm using Maps, then it's not really tying up any CPU time and draining the battery.
Would that be accurate?
Im pretty sure its true, if maps isn't running, GPS doesnt need to fetch data therefore power isn't used by the GPS radio to fetch coodinates
Sent from my LG-P500 using XDA App
Rores said:
Im pretty sure its true, if maps isn't running, GPS doesnt need to fetch data therefore power isn't used by the GPS radio to fetch coodinates
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
Yup, although sometimes if GPS is enabled, an app may turn it on when it really doesn't need to, which can sometimes cause battery drain.
Explicitly turning it off prevents this.
Yeah when I think about it, unlike wifi which can always be looking for a connection and BT will also be listening for a device to pair with, GPS doesn't really seem to 'look' for anything, it simply pulls data down upon request.
Do you guys specifically turn it off when it's not in use and by doing it, have you honestly noticed much of a difference?
I'm getting to the point where I'm micromanaging my phone too much and need to step back and just let the phone... be a phone.
i have a tasker profile set up that only turns on the GPS for the apps that i have it configured for, then turns GPS off after the app closes....
So I just noticed in BBS under partial wakelocks that I have 52mins worth of 'NetworkLocationLocator' with a count of 740. I've been having some odd battery drain today and no clue why. I've also noticed that Maps is in 'Running Services' and sometimes there are 2 of them and they can't be stopped.
I've opened Maps only after noticing this and GPS has been off. I run a weather widget but location is turned off. Nothing else I have installed uses any type of location feature (that I know of).
Any ideas what's causing this 52mins of wakelocks?
Kadin said:
So I just noticed in BBS under partial wakelocks that I have 52mins worth of 'NetworkLocationLocator' with a count of 740. I've been having some odd battery drain today and no clue why. I've also noticed that Maps is in 'Running Services' and sometimes there are 2 of them and they can't be stopped.
I've opened Maps only after noticing this and GPS has been off. I run a weather widget but location is turned off. Nothing else I have installed uses any type of location feature (that I know of).
Any ideas what's causing this 52mins of wakelocks?
Click to expand...
Click to collapse
Did you accidentally turned on Latitude?
Nope, never used it. Not even sure what its for. Lol
Sent from my SAMSUNG-SGH-I777 using xda premium
It is in gmaps. Once you sigbed in, it will use network location all the time. And there is no obvious way to sign out until you dig deep into the menus.
What it does is broadcasting your location to your friend 24/7.
Sent from my SAMSUNG-SGH-I777 using XDA App
dig deep into which menus? i dont seem to have any options in google maps itself, besides a couple map cache options, and labs..
Some where in those menu trees, probably related to latitude, there its a button to sign out the latitude. Google made it so difficult to stop latitude to force you keep using it.
Edit: on latitude screen, menu-> settings. On top of the settings screen, trap on the text 'sign out latitude'.
Sent from my SAMSUNG-SGH-I777 using XDA App
oh, i never use latitude..
i did start it up just to verify i was signed out like you said..
i still have a maps service started that when killed, comes right back..
gps is off, all location based stuff is off, i kill maps service, it comes right back..
i thought maybe this was keeping maps service open, must be something else.
I recently installed Semi V17 and an updated BetterBatteryStats version. With that combination, I noticed that my device was never able to move into deep sleep due to constant location updates, thus causing battery drain. I think I've narrowed down the culprit for my battery drain, however, I'm not sure I know how to resolve it. It appears to be the Latitude support in Google Maps. I'm not enrolled in Latitude, but based on "adb shell dumpsys" output, it appears that it is running and requesting location updates constantly. The following is the registration for location updates from dumpsys. Notice that it is specifying no minimum time or distance, which implies (to me) constant updates.
Code:
Receiver{419e7ad0 Listener [email protected]}mUpdateRecords: {passive=UpdateRecord{421e75a0 mProvider: passive mUid: 10084}}:
passive:
UpdateRecord{421e75a0 mProvider: passive mUid: 10084}
mProvider=passive mReceiver=Receiver{419e7ad0 Listener [email protected]}mUpdateRecords: {passive=UpdateRecord{421e75a0 mProvider: passive mUid: 10084}}
mMinTime=0 mMinDistance=0.0
mSingleShot=false
mUid=10084
Dumpsys identifies the 10084 process as the LocationFriendService:
Code:
*APP* UID 10084 ProcessRecord{41af23e8 13037:com.google.android.apps.maps:LocationFriendService/10084}
class=com.google.googlenav.android.AndroidGmmApplication
Does anyone have any idea how to disable this service without completely freezing/removing the Google Maps application?
Thanks,
Craig
Have you turned off automatic location detection in the Latitude/Maps settings? You can completely disable it or set so it asks you to update it manually.
Also if you have Facebook installed make sure you disable location reporting in your Facebook app settings. That was a big one for me.
One other thing to check is any widgets that use location detection (like weather widgets).
In settings... same place where you enable the GPS.
Strangely, I had to click through to enable Latitude before I could get to the settings to control Latitude and really shut it off. I've now turned off everything I could find related to Latitude and will see if that "sticks". Previously, it would seem to work for some period of time and then all of the sudden start running like crazy, so until I've run like this for at least 24 hours I'm just not going to know if I've truly managed to disable this service.
Next time, check here first.http://www.chucknorrisfacts.com/
Sent from my SAMSUNG-SGH-I777 using Tapatalk 2
csetera said:
Strangely, I had to click through to enable Latitude before I could get to the settings to control Latitude and really shut it off. I've now turned off everything I could find related to Latitude and will see if that "sticks". Previously, it would seem to work for some period of time and then all of the sudden start running like crazy, so until I've run like this for at least 24 hours I'm just not going to know if I've truly managed to disable this service.
Click to expand...
Click to collapse
It appears like disabling all things Latitude has cured my battery drain. If only they hadn't hidden those settings, it would have been way more obvious. Thanks for the tip.
What's the difference between having location services on or off? I know this might be a dumb question, but the little compass icon seems to always be in the notification bar on my DNA. I can't remember if it was always like that or if it only started after downloading Tasker last week. I tried uninstalling Tasker, but it's still there all the time. I know I can turn it off in settings, but should I? Do I need Verizon, Standalone, and Google location services?
Also- lately Maps has been showing up at the top of the list for battery usage. Every day it shows like 60-70% usage with the next closest in the teens. I haven't used maps a lot, and it hasn't really seemed to affect battery life, but I'm wondering if this is related to location services. Has anyone else seen this? Thanks!
For me personally, when I left Verizon Location Services on my battery drained extremely fast and the little location services icon showed that it was active (three lines coming off the right side). When I turned Verizon services off and disabled location updating in Maps my battery increased enormously and the icon no longer showed activity constantly.
I now leave only Google location services on and manually turn on GPS when I need it. No issues since.
Sent from my HTC6435LVW
Thrillhouse847 said:
For me personally, when I left Verizon Location Services on my battery drained extremely fast and the little location services icon showed that it was active (three lines coming off the right side). When I turned Verizon services off and disabled location updating in Maps my battery increased enormously and the icon no longer showed activity constantly.
I now leave only Google location services on and manually turn on GPS when I need it. No issues since.
Sent from my HTC6435LVW
Click to expand...
Click to collapse
My battery actually hasn't been draining all that fast, it just seems to show that "maps" uses 60-70% of the battery even in a day where I don't open the application once. I leave gps on but as others have mentioned the phone only uses it when it needs to (evidenced by the satellite icon in the notification bar). I have had gps on since I got the phone but in the first few weeks maps showed as using more like 5-10% of the battery. Can anyone explain what I lose by turning off each of Verizon, Google and Standalone location services?
Standalone is for actual GPS navigation I believe. Where as Google location service is used for getting location for weather and whatnot. I leave Google on all the time and only use standalone for navigation. But I may be completely wrong lol
Sent from my HTC6435LVW using Tapatalk 2
DbZ Gokuu said:
Standalone is for actual GPS navigation I believe. Where as Google location service is used for getting location for weather and whatnot. I leave Google on all the time and only use standalone for navigation. But I may be completely wrong lol
Sent from my HTC6435LVW using Tapatalk 2
Click to expand...
Click to collapse
Nope, you're correct.
I had issues with the weather widget showing incorrect location if Verizon Services is enabled. I only use Google services and enable stand alone for navigation use.
qwertpiratej said:
My battery actually hasn't been draining all that fast, it just seems to show that "maps" uses 60-70% of the battery even in a day where I don't open the application once. I leave gps on but as others have mentioned the phone only uses it when it needs to (evidenced by the satellite icon in the notification bar). I have had gps on since I got the phone but in the first few weeks maps showed as using more like 5-10% of the battery. Can anyone explain what I lose by turning off each of Verizon, Google and Standalone location services?
Click to expand...
Click to collapse
I figured it out... leaving NFC enabled all the time for some reason shows up as Maps usage in battery life. I turned NFC off, and the next day Maps was back down to around 5%.
qwertpiratej said:
I figured it out... leaving NFC enabled all the time for some reason shows up as Maps usage in battery life. I turned NFC off, and the next day Maps was back down to around 5%.
Click to expand...
Click to collapse
qwertpiratej said:
My battery actually hasn't been draining all that fast, it just seems to show that "maps" uses 60-70% of the battery even in a day where I don't open the application once. I leave gps on but as others have mentioned the phone only uses it when it needs to (evidenced by the satellite icon in the notification bar). I have had gps on since I got the phone but in the first few weeks maps showed as using more like 5-10% of the battery. Can anyone explain what I lose by turning off each of Verizon, Google and Standalone location services?
Click to expand...
Click to collapse
I do not use NFC at all, It has been disabled since day 1. I have noticed my MAPS taking up 40-50% of the battery and I never use it. The only thing I enable is googles location services. and when I do use maps, I turn GPS on manually and then off when finished.
My FIX:
When I opened up MAPS, I went into settings > location settings and set location reporting to do not update your location.
This knocked MAPS off my battery usage list
After digging through the internetz, I finally found how to stop Google Services from draining battery. It's not a ROM issue. It's a Google 4.2.2 issue.
Location Services> uncheck Wi-FI & mobile network location.
I had amazing battery improvement all day yesterday with Wi-Fi netwok location unchecked. Even more evidence, my battery would drain 12-14% overnight with the Google Services issue. After having it unchecked last night, it only drained 2% overnight.
To confirm, I booted up this morning with it uncheck, Google services was way on the bottom of the list. I checked Wi-Fi network location a few hours ago, Google Services is now second on the battery stats list.
No idea what's causing the issue, but unchecking Wi-Fi network location seems to cure the symptom.
h_10 said:
After digging through the internetz, I finally found how to stop Google Services from draining battery. It's not a ROM issue. It's a Google 4.2.2 issue.
Location Services> uncheck Wi-FI & mobile network location.
I had amazing battery improvement all day yesterday with Wi-Fi netwok location unchecked. Even more evidence, my battery would drain 12-14% overnight with the Google Services issue. After having it unchecked last night, it only drained 2% overnight.
To confirm, I booted up this morning with it uncheck, Google services was way on the bottom of the list. I checked Wi-Fi network location a few hours ago, Google Services is now second on the battery stats list.
No idea what's causing the issue, but unchecking Wi-Fi network location seems to cure the symptom.
Click to expand...
Click to collapse
Err...No offense, but you didn't find a "secret" that people didn't know about. Location services constantly uses wifi and mobile signals to pinpoint your location. It's a ground-based GPS-type system, and it drains battery.
I mean it's good that you fixed the issue on your phone, but doing a bit of research would have uncovered this a long time ago (way before 4.2.2)
wifi & mobile network location has never caused this significant of a battery drain before on any device or any previous android release. i switch between the s4 and a galaxy nexus running 4.1.2. google services isn't even a blip on battery usage page on my gnex. i've been using android since jan 2009 with the OG droid and this is the first time that i've ever had to uncheck that box because of significant adverse impacts to battery. google services has never been a battery hog until just very recently.
i didn't claim that i discovered it. i admitted that i found this solution on the web.
i posted this because i've read complaints about google services battery drain on a few different rom threads in the development section where people are incorrectly blaming the rom releases for the google services issue.
cool that it wasn't news to you, but it may be news to others.
h_10 said:
After digging through the internetz, I finally found how to stop Google Services from draining battery. It's not a ROM issue. It's a Google 4.2.2 issue.
Location Services> uncheck Wi-FI & mobile network location.
I had amazing battery improvement all day yesterday with Wi-Fi netwok location unchecked. Even more evidence, my battery would drain 12-14% overnight with the Google Services issue. After having it unchecked last night, it only drained 2% overnight.
To confirm, I booted up this morning with it uncheck, Google services was way on the bottom of the list. I checked Wi-Fi network location a few hours ago, Google Services is now second on the battery stats list.
No idea what's causing the issue, but unchecking Wi-Fi network location seems to cure the symptom.
Click to expand...
Click to collapse
Isn't this the option that allows Google Now to calculate distance and time for cards that appear?
jvcjbl said:
Isn't this the option that allows Google Now to calculate distance and time for cards that appear?
Click to expand...
Click to collapse
I'm not sure. I disabled Google Now a week ago trying to resolve the Google Services battery drain issue.
jvcjbl said:
Isn't this the option that allows Google Now to calculate distance and time for cards that appear?
Click to expand...
Click to collapse
It is. Disabling this will disable google now as well. I have this battery drain issue since my S3 from June last year. I need to disable wifi location to save battery life when I am on 4.0.4, 4.1, 4.1.2 and 4.2.2. It is always like that for me.
Hello! I bet you have seen this a heap of times. Well guess what, so have I. Alas, nothing has been found - I checked Android Central, the T-Mobile and AT&T websites and all sorts of other techy places but to no avail. So here I am, scavenging information, doing stuff to my phone - I am finally to the end point - writing a post myself.
So, heres my problem: awful battery and when I charge while using the phone, the battery goes DOWN!
Lets start with this
What I have done:
Factory reset
Cleared cache
Deleted every program (app)
Airplane mode
No sim card
Downgrade to 4.1.2
Rooted and calibrated battery
Full discharge to full charge
Now please check the eye candy down below in the attachments..
So.. What else?! It isn't a hardware problem because when it is turned off and charging, it seems to be fine.
Some system specs:
Galaxy S3
International
OmniRom 4.4 (btw, this ALSO has drain, I install hoping it wouldn't)
Wrong section just post in q& a section...
Install BBS and see what's eating your battery..
Sent from my GT-I9300
Go into Google Settings and Turn Location Reporting Off. If you want a more agressive power saving go into WiFi settings and turn Always Scanning Off.
Clean
I had this problem of the phone discharging while charging (no pun intended) and the only solution I found was to clean the phone's USB charging port with an Contacts cleaner Spray (the one that has a "pipe/tube", let it dry out and clean the usb plug likewise. That solved my problem. But mind you: my problem was phone discharging while charging
Gold_Diesel said:
Go into Google Settings and Turn Location Reporting Off. If you want a more agressive power saving go into WiFi settings and turn Always Scanning Off.
Click to expand...
Click to collapse
Thanks for the info. I did both, yet, noticing a little less awaking, it still drains when charging and rather abnormally when not and just using it. The only thing waking my phone up now seems to be Google Search? (in wake lock detector) Cant anyone explain that?
Install an app disable services and disable Google services which are active in background... But disable then one by one as it may affect your play store functionality...
Sent from my GT-I9300
kunal1540 said:
Install an app disable services and disable Google services which are active in background... But disable then one by one as it may affect your play store functionality...
Sent from my GT-I9300
Click to expand...
Click to collapse
using wake lock detector I noticed the apps name (google search) was com.google.android.googlequicksearch... but, using a service disabling app, I couldn't find that name under the system app ''google search'' tab?
*EDIT: I tracked all the wakelocks (ALL of them) and they lead to location services! Simply turning it off gives me no more wake locks. Not a permanent solution as I am completely unsatisfied, but a temporary one nonetheless. Going to keep monitoring battery as it seems to be fine, but I haven't nailed down the discharg while charging problem yet...