Google Services - Verizon Samsung Galaxy S 4

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.

Related

Using CM7-based ROM? Disable Google Location Services

This has been driving me nuts for weeks, so I figured I'd share the info.
Recent releases of Google Maps has been causing intermittent problems for lots of people recently, and seems to especially affect users of CyanogenMod 7. What I kept wondering was why several instances of Google Maps would show up in Advanced Task Manager. But what really confused me, was why my battery stats showed Google Maps drawing almost as much battery usage as my WiFi, which is basically on all day.
It's not exact, but with nothing else going on, WiFi seems to drain about 2% per hour. So basically Google Maps was doubling my non-screen related battery drain for no reason. The part that made this hard to track down is that it went away after a reboot, and only seemed to start lagging after the phone had been on for a few hours during the day, where it would start lagging like it was continuously starting and stopping a CPU-hungry process in the background.
Based on an offhand comment someone said in the GSB thread, I went into Menu -> Settings -> Location & security, and unchecked 'Use wireless networks'. I saw that the Google Maps battery drain was still going, so I rebooted. I mean... it's CM7, so you can put a satellite toggle in the notification area if you need location data. No need to keep it on all the time, right?
So far this reboot has been up for 40-hours, and I'm at 83% after being unplugged for 7 hours with mixed usage. Google Maps isn't even in my list of apps that have used battery power. I'm not going to declare this "problem solved!" but it might work out for you if you've been having similar problems.
I'm using gsb 3.6 and haven't had any of the problems with navigation that other people have had. I keep location turned off and set it like that whenever I install a new rom. You may be on to something.
Sent from my GSB v3.6 using XDA App
trifthen said:
Based on an offhand comment someone said in the GSB thread, I went into Menu -> Settings -> Location & security, and unchecked 'Use wireless networks'. I saw that the Google Maps battery drain was still going, so I rebooted. I mean... it's CM7, so you can put a satellite toggle in the notification area if you need location data. No need to keep it on all the time, right?
So far this reboot has been up for 40-hours, and I'm at 83% after being unplugged for 7 hours with mixed usage. Google Maps isn't even in my list of apps that have used battery power. I'm not going to declare this "problem solved!" but it might work out for you if you've been having similar problems.
Click to expand...
Click to collapse
I tried this a few days ago. I have seen an increase in battery performance. Thanks trifthen!
Thanks this helped a lot

NetworkLocationLocator draining battery but Latitude switched off??

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!

[Q] Location services on or off?

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

[Q] nlpwakelock "Use wireless networks"

Hi,
Whenever the "Use wireless networks" setting is on under "Location services", I get constant "nlpwakelocks" and battery drain.
However, I see that this was supposidely fixed by Google: http://www.androidpolice.com/2013/05/29/download-latest-google-play-store-4-1-10/ (my version is 4.3.11).
Does anyone else have this issue? I've only started looking into wakelocks and have had the phone 5 months and have never had better battery than with this option turned off. Yes the simple answer is "turn it off", but I find I can get location locks quicker with it on, and also my phone can locate me when indoors.
I use Google+ location services so I can locate trusted friends (and they can locate me), and previously Google Latitude, but surely they shouldn't be constantly requesting my location and Android should prevent this in someway?
Cheers.
I too suffered this issue (several times on different roms). Nlpwakelocks appeared in an insanely high abundance (several thousand wakelocks in a single day).
My first fix consisted of uninstalling all updates of google play, google services framework and google play services, clearing caches and deleting the data of the before mentioned in Appmanager, then do a reboot and re-install the updates again. Magically, the number of wakelocks dropped to a quite acceptable level. It still was the major cause of wakelocks, but it didn't drain the battery nearly as much as before. Since then, I had the "Use wireless networks" setting enabled without heavy battery drain. I could happily live with this result.
However, since I updated to 4.3 (CM 10.2), there's no longer a button to uninstall updates of those services in AppManager. Luckily though, clearing caches and data then reboot seems to suffice now.
The only caveeat seems to be google maps. Since the update, you need to be logged in to your google account to see your favorite places in google maps. Unfortunately, maps then begins to poll your location every few minutes, thus raising nlpwakelocks to an alarming level again.
Since I've not found a workaround for this yet, I always logout of google maps after use and login again when needed. Not very comfortable, but this way I'm still able to use Google Now while experiencing an acceptable battery life.
Hope this helps!
Here's the fix, if you're rooted: http://forum.xda-developers.com/xposed/modules/mod-nlpunbounce-reduce-nlp-wakelocks-t2853874

Battery drain and high network activity of Play Services when wifi is ON

Hi,
I'm experiencing battery drain and high data consumption when connected to WIFI by Play Services. I have Android 6 on a galaxy s5. I have detected it on BBS in which network activity is too high because of Play Services (80MB in some hours). I have tried to clear cache and data but the problem still comes after 2-3 days.
I've read this may be due to a third party app but I have no clue of which one could be. What can I do? At the moment I have it all the time disconnected from wifi but I think this is not the solution.
If I reboot normally the problem is avoided for sometime (probably after next time I unplug it).
Thanks

Categories

Resources