Google Play Services Keep awake - Nexus 4 Q&A, Help & Troubleshooting

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.

Related

Google Services battery drain...

Hello in the android battery stats, google services always appears as the biggest battery drainer,
however, kept awake time and cpu usage time seems reasonable (cannot possibly account for 60% battery use)
In Gsam battery or better battery stats, there is not sign that a considerable amount of battery is being used by google service.
Altogether, i am still able to reach almost 5 hours of sreen on time over 24 hours (quite reasonable) i would just like to understand if this is bad reading from the android stats app, or if there is actual drain here.
I am currentrly on stock 4.2.2 with franco's latest kernel.
i flashed a clean image of 4.2.2.
google+ and gtalk signed out, report location from device is disabled. auto backup disabled
any advice? anybody with similar issue.
https://www.dropbox.com/s/lfl6iu5sv2c05xh/2013-03-27 09.04.53.png
https://www.dropbox.com/s/bzv322akddv61h3/2013-03-27 09.04.35.png
I'm having the similar thing. No idea how to get rid of it. When trying to disable some of the apps (namely Google Services Framework), Play Store keeps fc'ing.
Samms said:
I'm having the similar thing. No idea how to get rid of it. When trying to disable some of the apps (namely Google Services Framework), Play Store keeps fc'ing.
Click to expand...
Click to collapse
It is likely an actual drain. I would try uninstalling the updates or updating to the latest version.

Google Services/Google Play Service/Google Framework Services draining battery

Bear with me. If you are an expert on android maybe you can help me out here. First off, I have researched the crap out of this problem and still been unable to fix it, so YES, I did search before making this thread.
I am on a stock, rooted Verizon Galaxy S4. I have been watching my battery consumption carefully via the integrated battery settings menu, battery stats plus and wakelock detector apps. Mainly, there is a program or set of programs that typically is called "Google Services" that according to the integrated battery menu is consuming anywhere between 20-45% of my battery, sometimes more than the screen on time! My battery life is around 48hrs with 10hrs screen time but that is on the massive zerolemon 7500mah battery which I just bought, so I am not sure if that is above, below or just average (i.e. I have no real standard by which to judge).
Like I said I have read probably every thread about this problem with remedies such as; disable location, turn off google now, turn off google maps reporting, uninstall updates for google play/google play services/google framework settings, turn off google sync etc. I have tried them ALL, none seem to work. I have a feeling the issue is perhaps more in depth and above my head.
It gets more complicated. Although the stock android integrated battery menu reports it as using a massive amount of battery, the other two apps I mentioned above do not even report it, or at least not under a name that I regonize (perhaps that categorize it under a different process?). Under them screen time is by far the highest consumer.
So what to make of this? Is it a false report that the stock integrated android battery menu is reporting, and thus something to disregard? I doubt that because there are many other threads out there of people with the same problem and questions I have. But It's also not like my battery drains within hours. For instance, today I have been off the charge for 12.5hrs, with 3hrs and 40min of screen time and have 63% remaining on the 7500mah zerolemon extended battery.
If you can help, please do. If this is indeed a major drain I would really like to fix it.
Gulanowski said:
Bear with me. If you are an expert on android maybe you can help me out here. First off, I have researched the crap out of this problem and still been unable to fix it, so YES, I did search before making this thread.
I am on a stock, rooted Verizon Galaxy S4. I have been watching my battery consumption carefully via the integrated battery settings menu, battery stats plus and wakelock detector apps. Mainly, there is a program or set of programs that typically is called "Google Services" that according to the integrated battery menu is consuming anywhere between 20-45% of my battery, sometimes more than the screen on time! My battery life is around 48hrs with 10hrs screen time but that is on the massive zerolemon 7500mah battery which I just bought, so I am not sure if that is above, below or just average (i.e. I have no real standard by which to judge).
Like I said I have read probably every thread about this problem with remedies such as; disable location, turn off google now, turn off google maps reporting, uninstall updates for google play/google play services/google framework settings, turn off google sync etc. I have tried them ALL, none seem to work. I have a feeling the issue is perhaps more in depth and above my head.
It gets more complicated. Although the stock android integrated battery menu reports it as using a massive amount of battery, the other two apps I mentioned above do not even report it, or at least not under a name that I regonize (perhaps that categorize it under a different process?). Under them screen time is by far the highest consumer.
So what to make of this? Is it a false report that the stock integrated android battery menu is reporting, and thus something to disregard? I doubt that because there are many other threads out there of people with the same problem and questions I have. But It's also not like my battery drains within hours. For instance, today I have been off the charge for 12.5hrs, with 3hrs and 40min of screen time and have 63% remaining on the 7500mah zerolemon extended battery.
If you can help, please do. If this is indeed a major drain I would really like to fix it.
Click to expand...
Click to collapse
Did you trie to disable the network location? It works for me.
Moz007 said:
Did you trie to disable the network location? It works for me.
Click to expand...
Click to collapse
Yes that seems to work, but it's not really a "fix" as now I cannot use the location feature of many of my apps. Basically traded one problem for another, albeit lesser one.
I'm still trying to figure it out as since last update (MEA firmware) , my phone is heating a lot.
I had this problem with data connection on, I had this problem in airplane mode, but not strangely with having connection to wifi.
I also observed that google services and android system is consuming most of the battery. earlier when I used to get 8-10% consumption in full use in an hour, now, 8-10 % is consumed within 30 mins.
No tweaks are working. Frozen a bunch of apps but the problem is still there.
Just now I've uninstalled fileexpert HD , as "greenify" told me that since last 20 minutes my phone is on, it has taken 250+ wake locks.
I'm charging my battery to full to check if that solves my problem.
will try to disable location services and report back on the results.
Bump
Have the exact same problem, before the latest firmware my phone had awesome battery life, and now the battery goes from 40% to zero in just a few hours without any app running when I'm sleeping... it's horrible. Same problem with my wife's S4 since the latest update... It absolutely sucks.

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

My Battery Issue Solved

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.

[SOLVED] Battery drain issue in Xperia SP due to Google Play Services

I am not sure about Stock 4.3 rom but this method definetly solved the issue in CM 11
After updating Google Play Services to 7.0 or even on 6.5 there was severe battery drain due to play services running in background.
When i observed battery Stats for one day, around 70% of battery was draining due to Play Services on Standby mode.
So here is a easy guide to solve the issue for CM 11 :
1. Go to Settings>Privacy>Privacy Guard.
2.Touch on Menu>Advanced.
3.All App ops will be displayed, go to Google Play services.
4.Change the option to Denied for following:
Location>Denied
Wake up>Denied
Keep awake>Denied
5.We can again change the setting to Allow when needed.
Look at the ScreenShot in attachments after I applied these settings.
Now there is only 2% of the battery drain by Play Services.
Please press the thanks button if the info was useful.

			
				
Ewww Samsung themed ROM...
Joking bro.
Anyway what you claim does make sense (especially in my eyes) because google related services have a habit of draining battery, commonly by wakelocks, so disabling their wakes would help. I am also on CM11 and am getting battery drain from google services (not google play services) but the same applies as it has kept my device awake for 2hrs + till now.

Categories

Resources