Google Location and battery life - RAZR i General

I've been furious at my Razr I battery life - with light usage, I would get 12 hours from full to empty, and about 6 hours on heavy usage.
Annoyed with this, I installed Wakelock Detector , and tried to profile what was using the battery. In the normal battery screen, I would get "Android System" as the heaviest user, even above the display.
After the profile, it was apparent that the Google Location service was the culprit - you can see these wake locks: NlpCollectorWakeLock NlpWakeLock CheckinService NetworkLocationLocator.
I disable Network Location and the battery life improved to over 48 hours from full to empty, with medium usage. A simple checkbox improved battery life 4 times !
Happy Battery !

I own a Xperia SP and I have the same drain..guess it's a google services bug

Thanks for this. I have the same problem which started a few months ago and have not yet been able to track down the problem. Phone is 1 year old so I wouldn't expect the battery to be at fault.
"WIFI and mobile network location" - is that the one to untick? I'll give it a go for a few days and see if it improves.

nick_sub said:
"WIFI and mobile network location" - is that the one to untick? I'll give it a go for a few days and see if it improves.
Click to expand...
Click to collapse
Yep, that's the one.
Once we have 4.4, it will be possible to actually use AppOps to ban the location permission to Google Search (Google Now), which is the actual culprit. Until then, enable this location only when you need to use maps.

Please can you guide how i desactive the wifi and network location, i have 4.1 stock jelly bean.
Thanks

diegocamilo410 said:
Please can you guide how i desactive the wifi and network location, i have 4.1 stock jelly bean.
Thanks
Click to expand...
Click to collapse
settings>location access

Related

Increase battery life by 50%

I simply switched off location services and my battery life has gone up by ~50%.
I was really surprised that the location services took this much energy. I usually have Wifi off except when at home (if that's important) I haven't really missed the lack of location services - I just remember to re-enable it before running "Places" or similar
I'll try it, thanks.
I'm overseas on holiday and have had no data for 2 days (no wifi no mobile data). The battery hardly drained (%30). I was playing games and texting so I am now convinced that it is data and voice calls that drain battery.
gf_gollum said:
I simply switched off location services and my battery life has gone up by ~50%.
I was really surprised that the location services took this much energy. I usually have Wifi off except when at home (if that's important) I haven't really missed the lack of location services - I just remember to re-enable it before running "Places" or similar
Click to expand...
Click to collapse
How you switched off location services ?
I want to know how you turn off that as well thanks!
I'm guessing menu>settings>location and security> switch off wifi location and GPS location
Sent from my Nexus One using XDA Premium App
robotnoize said:
I'm guessing menu>settings>location and security> switch off wifi location and GPS location
Click to expand...
Click to collapse
Yes - that's all I've done.
Yes, all options is turn off.
My battery:
1d 1h 56min on battery
and now battery level is 38%.
Is the result same with you?
I'm getting ~10% drop over 10 hours when the phone is idle overnight. Obviously battery usage increases with calls etc. to 26% over 10 hours with some light calls and 3G based app updates. (no Wifi)
Increase battery life 10000% by turning phone off and removing battery
Number picked at random, YMMV.
DirkGently1 said:
Increase battery life 10000% by turning phone off and removing battery
Click to expand...
Click to collapse
I've tried this. Phone doesn't work
I turn on "Use only 2G networks" (in Settings --> Wireless & networks --> Mobile networks) and the battery life is incredibly increased ^^.
In addition, I also turn off the "Data enabled", whenever I need to access the 3G networks, I just turn them on again.
OferR said:
I've tried this. Phone doesn't work
Click to expand...
Click to collapse
I'll give you £20 for it
Seriously though, rather than trying to eke out every last milliamp of power from their batteries, i wish people would just buy a spare one and use that instead.
DirkGently1 said:
Increase battery life 10000% by turning phone off and removing battery
Number picked at random, YMMV.
Click to expand...
Click to collapse
I've tried that but my phone is bricked now. Doesn't boot anymore. xD
Sent from my Nexus One using XDA Premium App

Google maps or Latitude consuming battery

On JHV.
Seems like maps is consuming much battery. Haven't even started it since I disconnected from charger (4 hours ago). Even though it stands for 30% usage. Battery now is 83% and have been.
Any suggestions?
try turn off Latitude
DummyPLUG said:
try turn off Latitude
Click to expand...
Click to collapse
Nope. I love the app. Didi'nt use this much battery on Froyo.
same problem here, only on GB roms, so I hope it will be fixed next roms or the next version of gmaps.
kicsihuszar said:
same problem here, only on GB roms, so I hope it will be fixed next roms or the next version of gmaps.
Click to expand...
Click to collapse
I have also experienced insane battery drain on ALL SGS rom's I've ever had (froyo, ginger). As if its typical for this device. If you turn on latitude, don't expect more than half a day on battery... especially if 3G is also turned on.
I also have a ZTE Blade. It has I believe a 1100 mAh battery, easily taking 2 days on battery with normal use + latitude + 3G.
Yeah, I loved latitude until the day I got GB, then I had at most a full day of battery life. Now, without Latitude I can manage up to three days. So, hopefully Google can find a fix.
Battery drain is caused by Latitude in GB. If you turned it off but battery drain didn't stop - simply check off/on Use wireless networks in Location and Security Menu. It should help.
mio520 said:
Battery drain is caused by Latitude in GB. If you turned it off but battery drain didn't stop - simply check off/on Use wireless networks in Location and Security Menu. It should help.
Click to expand...
Click to collapse
I can confirm that the "Use wireless networks" option in the "Location and security" menu in the settings is draining battery. I think Google is using this to create a worldwide map of wireless networks to be able to use it for position estimation when GPS is off or unavailable. They are warning you when you switch it on, so it's not spying on you without your knowledge. The problem is that it seems that the software is not well written and drains your battery. I've switched it off and the battery use improved a lot.

Nlpwakelock causing device to stay awake

Google services is to battery consumer because it keeps phone awake. Something to do with location services causing it based on screenshot below. I'm latest nightly CM and seems to be the only one affected by this issue since nobody else complained about it
Sent from my SGH-I337 using Tapatalk 4 Beta
Same crap here as well. As u can see I'm on a totally different device. There was another thread on it with no solution I think.
---Sent from a viperx-ed OneX
Turn network location off. You really don't need it on all the time. That's the only way I know of getting rid of that wake lock.
I just realized. Location reporting turned itself back on, on maps app
I turned it back off. Will see if that helps.
When it was off I'd probably get 1min of that wakelock for the entire day.
---Sent from a viperx-ed OneX
mibtnt said:
I just realized. Location reporting turned itself back on, on maps app
I turned it back off. Will see if that helps.
When it was off I'd probably get 1min of that wakelock for the entire day.
---Sent from a viperx-ed OneX
Click to expand...
Click to collapse
If its of from boot, I don't get any.
jd1639 said:
Turn network location off. You really don't need it on all the time. That's the only way I know of getting rid of that wake lock.
Click to expand...
Click to collapse
x-actly.
NLP stands for Network Location Provider I would guess as it appeared to me first when Google Location Services asked me to switch on the WLAN location detection for "more accurate results".
Might be helpful if in some building where you don't get GPS locked but isn't really needed that much otherwise.
i have location access OFF and have HUGE DRAIN on Nlpwakelock
I had a similar problem on my Nexus4 - after I turned location services on and off again, the NlpWakelock would keep my phone awake and not go to deep sleep.
However, I found a fix for this issue. The culprit service is called GoogleLocationManagerService, and the solution is to disable this service only (I have no idea what other complications may arise from this, but at least my phone now goes to deep sleep). This service can be disabled with ROM Toolbox or a similar app.
In ROM Toolbox you go to App Manager, find Google Play Services and select Advanced Freeze. Now find the service (has a red border) called GoogleLocationManagerService and disable it. Now I can switch on and off location and still go to deep sleep, and location IS working.
ameinild said:
I had a similar problem on my Nexus4 - after I turned location services on and off again, the NlpWakelock would keep my phone awake and not go to deep sleep.
However, I found a fix for this issue. The culprit service is called GoogleLocationManagerService, and the solution is to disable this service only (I have no idea what other complications may arise from this, but at least my phone now goes to deep sleep). This service can be disabled with ROM Toolbox or a similar app.
In ROM Toolbox you go to App Manager, find Google Play Services and select Advanced Freeze. Now find the service (has a red border) called GoogleLocationManagerService and disable it. Now I can switch on and off location and still go to deep sleep, and location IS working.
Click to expand...
Click to collapse
i've been searching for a solution for ages and even followed the advice of another thread to disable location finding on both maps and google now and for some reason the nlpwakelock is still showing up. i'm going to try your fix but i was wondering if you've encountered any issues ever since disable googlelocationmanagerservice?
I often noticed nlpwakelock being the main culprit for Google Services battery usage. I even saw that it kept my phone awake for hours some days...
I tested some fixes and found that disabling the "use wireless networks" in the location services settings completely removed that wakelock.
Personally, I'd rather have that feature than save the little battery it uses. Despite keeping my phone awake for 1-2 hours on most days, as reported by GSAM Battery Monitor and Wakelock Detector, it uses a pretty small amount of battery:
Typically my phone's battery monitor will report about 20-30% of the battery used by Google Services. GSAM Battery Monitor seems to break that down into two parts: about 10% Google Services and 15% kernel, on average. However, these numbers are deceiving. That 10% that Google Services is only 10% of "App Usage" as reported by GSAM. Furthermore, App Usage is often only about 50% of my battery usage.
If my battery is at 50%, that means Apps only usage 50% * 50% = 25% of my 100% battery. Then, Google Services only used 10% of that 25%...so 2.5% of my overall battery capacity. I found this quite surprising considering the report that the wakelock keeps my phone awake for 1-2 hours...
So while Google Services is often shown as my #1 or #2 battery user in the App Sucker page, at 10-15% usually, that's only like 2-5% of the total 100% battery capacity each day. If I'm really going to be pushing my battery limits I might disable it to save some juice, but generally I find it's not worth disabling the feature to save such a small portion of my battery.
ender127 said:
i've been searching for a solution for ages and even followed the advice of another thread to disable location finding on both maps and google now and for some reason the nlpwakelock is still showing up. i'm going to try your fix but i was wondering if you've encountered any issues ever since disable googlelocationmanagerservice?
Click to expand...
Click to collapse
Hi. No, I've not had any issues,*but unfortunately the fix doesn't always work - but if the wakelock still persists, shutting down the service or location service again removes the wakelock, but it takes the manuel action of re-disabling the service again. Still better than having a wakelock though..

Battery Drain

I've read through this thread (http://forum.xda-developers.com/showthread.php?t=2385843&highlight=battery+drain) but did not find a solution. A little about my device: it is not rooted and is completely stock. I did not have battery drain issues when I was on 4.2.2, but ever since I updated to 4.3, I've experience this issue. I would lose about 20 - 25% battery life through the night. When I wake up, it would be around 75-80% full.
I've looked at my battery stats and it seems as though Android OS is 19% and Google Services is at 17%. Prior to updating to 4.3, I would be able to toggle the GPS on and off simply by using the Power Widget, but after 4.3, I noticed when I toggle the GPS icon, it would take me to LOCATION ACCESS. As of right now, "Access to my location" is ON .. GPS satellites is UNchecked .. and Wi-Fi & Mobile network location is CHECKED. I tried to turn location access OFF last night and have everything unchecked, but it didn't seem to make any difference.
What's going on???
Feel for you bro. I have the same issue as well. It's like 4% drain per hour, only by Android os.
mapheG2 said:
I've read through this thread (http://forum.xda-developers.com/showthread.php?t=2385843&highlight=battery+drain) but did not find a solution. A little about my device: it is not rooted and is completely stock. I did not have battery drain issues when I was on 4.2.2, but ever since I updated to 4.3, I've experience this issue. I would lose about 20 - 25% battery life through the night. When I wake up, it would be around 75-80% full.
I've looked at my battery stats and it seems as though Android OS is 19% and Google Services is at 17%. Prior to updating to 4.3, I would be able to toggle the GPS on and off simply by using the Power Widget, but after 4.3, I noticed when I toggle the GPS icon, it would take me to LOCATION ACCESS. As of right now, "Access to my location" is ON .. GPS satellites is UNchecked .. and Wi-Fi & Mobile network location is CHECKED. I tried to turn location access OFF last night and have everything unchecked, but it didn't seem to make any difference.
What's going on???
Click to expand...
Click to collapse
To decrease google services battery consuption you can delay the frequency of sync in the settings! But i give you an advice, flash a costum kernel like franco or matr1x and you will enjoy a lot of extra battery life

How do you deal with NlpCollectorWakeLock?

Battery life on this phone is amazing under use, but only average on standby, which is the only negative thing I could say about G2. I routinely lose 2%-3% battery over night, it was the same on JB and now on KK.
I've been checking the wake locks and it is our old friend Google Services and its NlpCollectorWakeLock that keeps the phone awake about 10 minutes a day, since Google likes checking our location 1000 times a day. Turning location off doesn't help at all.
What are your experiences and how have you been dealing with this on G2 specifically? Don't just say install Wakelock Terminator, if you used it also share your experiences with it. Does Greenifying make a difference and what did you hibernate? Did you have any issues afterwards with apps that use location?
And most importantly, did it have any effect on battery life in standby?
Can't remember whether Knock On/Off feature has anything to do with the NCWL but just disable it and see what happens.
Also, down 2-3% overnite seems normal to me.
votinh said:
Also, down 2-3% overnite seems normal to me.
Click to expand...
Click to collapse
Normal but we had 0% even on ICS 4.2.2, and on 4.1.2 my previous phones did managed to spend 0% overnight
laserburn said:
Turning location off doesn't help at all.
Click to expand...
Click to collapse
Yeah, constantly running Location Services bugs me off too.
Maybe you could find solution in that http://forum.xda-developers.com/google-nexus-5/general/nlpwakelock-nlpcollectorwakelock-t2551846 topic, I didn't read it
Location services disable location reporting and history ... That helps decrease it (only do this if you don't use Google now location based features)... Also you can set location to device only if you want ... And greenify the Google maps app ...
... did you actually just complain about a 3% battery drain in 6-7 hours of idling or whatever you define 'night' as?...
Getting back to the topic, one of the bigger things you could do to reduce NlpCollectorWakeLock is disable Google Now. I personally don't find it very useful in my country so I never keep it on. Thus, I get that 3% battery drain overnight with WiFi on.
Turn off wifi assist in location services just set it to device only and it will be gone
Sent from my LG-D800 using xda app-developers app
iamtha1 said:
Turn off wifi assist in location services just set it to device only and it will be gone
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
Just turn off "Google Now", you'll be amazed how long your battery will last.....
Cheers
Or install this app
https://play.google.com/store/apps/details?id=cn.wq.disableservice
Sent from my LG-D803 using xda app-developers app
I think I discovered a fix to some hard to track wakelocks by the android services.
What I did:
-settings > share & connect > menu button > dlna feature > menu button > settings > uncheck share options.
Let me know! First post!

Categories

Resources