My Battery Issue Solved - AT&T Samsung Galaxy S 4 Q&A, Help & Troubleshootin

Personally there should be a sticky in every forum about this. Turn off "Location reporting" and "location history" from Google Now or Google Maps Settings.
My issue, after switching from an Iphone to Android about 9 months ago, was the battery life was appalling. I tried battery apps but none really solved my problem. After downloading GSam Battery Monitor & wakelock detector a month or so ago, I still couldn't figure out what was draining my battery so bad except I knew it was Kernel android OS, I just happened to be in my wakelock detector settings, and enabled advanced mode, which "shows system process which are used by android OS", and that's when it showed NlpCollectorWakelock & NlpWakelock hammering all the time, it would keep my phone awake at least 20% of the time my screen was off with thousands of wakelocks. I would loose about 6% battery per hour with the phone in my pocket or on my night stand doing absolutely nothing!
I then did a search for NlpCollectorWakelock & NlpWakelock and stumbled on another thread http://forum.xda-developers.com/showthread.php?t=2453850which pointed out this is actually caused by Google Now & Google Maps. The fix is to disable "Location reporting" and "location history" from Google Now settings or Google maps settings.
Hope this helps someone.

Related

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

Stopping services from Task Manager helps battery

Recently been getting battery drain while on Idle. This drain I tend to notice at night. My phone can idle duriing the day but does not drain battery.
I recently disabled Android system IQ agent .. and it seems to have helped at night after rebooting and stopping that service.
I also noticed when you go to task manager and go to settings there is an option to stop services. I checked Facebook (51 services wth). Google Play Books , Magazines, and Movies\TV. I also checked Google play services (65 services).
Believe it or not my phone seems to be running fine and my battery life is a lot better.
Now I set my brightness at 47% (not auto), Google Now is enabled with Wifi and mobile location. Google backup is enabled (most are unchecked including app data) Email is manual sync.
Just thought I"d pass this along. YMMV.
Thanks for your tips. I noticed random battery drain these few days, no idea what it is, high battery drain when idle, and it happens randomly. Will try and report back. Thanks
smallgreenbear said:
Thanks for your tips. I noticed random battery drain these few days, no idea what it is, high battery drain when idle, and it happens randomly. Will try and report back. Thanks
Click to expand...
Click to collapse
What's the exact name of the apk / the service? Afaik I do not have any matching process so far...

[Q] Cure for the nlp wakelocks?

Hi!
I'm searching for the solution to cut off wakelocks caused by NLP. I've tried all that I can find — install/reinstall/update Google Services, turn off location reporting/history/device manager, turn off Google Now.
Nothing works. Battery loses 30% for 8-9 hours (charge to 100% — go to sleep — wake up to find my phone only have 68-73% battery )
Number 1 in battery stats is "Android os" with 1.5 - 2 hours of "keep awake". In Wakelock detector number 1 in the CPU eaters is Google Services with 20-30 minutes in "NLPWakelock" and "NLPCollectorWakelock".
Android version: Cyanogen 10.2 (M1)
I don't know what to do.

Google Play Services Keep awake

Hi
I don't know since when, my phone battery starts to drain so quickly. Initially I though is the apps that I installed causing this, but looking into the battery statistics, it is actually google play services, it keeps awake for so long!!
I then did a search on google and found out that it is not a recent problem, and possibly the best (or true) solution is to disable keep awake. Hence I went to "Privacy Guard", found out google play services, and turn off "Keep awake". However it doesn't help!!!
I also installed WakeLock Detector to see which app is waking up the device, and what it is reporting is different to the battery statistic, it reports a communication app that I use, "WeChat", it keeps wake up my phone, but since it is a chatting up, I don't want to disable its function.
Other solution I found is to disable google location history, which I have also done it. I have also installed Amplify from Xposed to try to extend my battery life. GPS is completely turned off.
BUT, all these steps didn't help and the battery statistics still reporting that google play services use a lot of battery and most of the time it keeps awake.
Can someone help me please?
Many thanks!
I am using Carbon ROM with Hell's core kernel, stock settings.

Google play services draining my battery (GSam log included)

So I noticed my new 6T was having some heavy drain on standby so decided to install GSam.
I've clicked a screenshot of the GSam page below
https://i.imgur.com/qFE3xCe.jpg
Google play services is showing crazy amount of wakelocks. Anyone knows what's 'dozeservice'?
My battery stats show I've last charged my phone 17 hours before, OST 1 hour and 57 minutes as of now. Majority of the time phone was on WiFi and Bluetooth on (connected to my smart watch), adaptive battery disabled.
My battery stats: https://i.imgur.com/BZOL8Ep.jpg
Any solution?
These types of reports are generally not that informative - you should take an adb bugreport and then parse it with the Google Battery Historian: https://github.com/google/battery-historian. The Wakelock you are seeing is most likely not the cause of the CPU drain, especially when the Doze service is up top (which puts the phone to sleep). The NlpWakelocks are most likely due to you having Google Location Reporting turned on. Turning it off would conserve some battery, although you will also lose that functionality. But definitely give that a try and see how it goes (you will need to setup a Docker instance to get it up though)...

Categories

Resources