Google Play services won't let the phone deep sleep - Nexus 6 Q&A, Help & Troubleshooting

Lately I noticed that my phone doesn't go to deep sleep, I have locations off and also tried disconnecting android wear but that doesn't seem to be the issue. Any ideas?

http://forum.xda-developers.com/showthread.php?p=59577691

Related

[Q] Partial WakeLock GPSLocationProvider

I'm currently using Nik's Codename Jellybean ROM and am getting excellent battery life for the last week or so. I have used the kernel that has come along with it.
However, yesterday when I went out - I turned on GPS (turned on for a short period and then off) for the first time since flashing the ROM and since then, the GPSLocationProvider has been providing partial wakelocks every second whenever the phone is not on airplane mode and preventing deep sleep, killing my battery in the process.
I have attached a screenshot from BetterBatteryStats.
I have looked about in the forum and the only solution from a couple of old threads seem to be rebooting the phone so that the phone can go back into deep sleep mode, which is really not the best solution is it?
If there is any solution or a compatible kernel that prevents this, I'm happy to hear from you.
It may also due to your Google location services which is active. Take the dump again with all location, GPS turned off!!
Edit: Location wake lock dump shows its active for long time. Seems like its due to location service not GPS, which you turned on only for a short duration.
Cool - that may help isolate the problem. I will toggle Maps, Location Services, GPS and see what is causing the issue.
Many thanks
Happens to me also on other ROM and device. But only if i start some app, which is using GPS, but its not enabled yet.
In case I enable GPS, than start the app, use it, close app, disable GPS, then GpsLocationProvider is not running in background.

[Q] Google Play Services/Now Battery drain observations

So since the latest Google Play Services update, I have been suffering some serious battery drain issues. There are various mentions all around the internet and most point to the issue being 4.2.1, which, we aren't running.
I spent some time over the last few days trying to figure out what the issue is and have some observations. But, for some background, last few days I have been getting no more than 10 hours battery with no more than an hour or two screen time.
Google Play Services is listed as the biggest battery drainer with 49%, so I started looking into that.
First off, I noticed in battery stats that if Wifi is on, the device doesn't deep sleep, even though wifi is set to never on when sleeping, the wifi never turns off and the phone never deep sleeps.
First thing to try was turning off wifi, so, I turned off wifi, straight away, phone deep sleeps again.
Next I began messing with Google related things, first of all I "uninstall updates" on GPlayS, tested with Wifi on, great, no more battery drain, phone sleeps, BUT, phone keeps bugging me with notifications to update.
Next was to update, battery drain returns. So, disable Google Now in its own settings, battery drain remains when on Wifi, however, if I kill "Google Search" after disabling Google Now, the battery drain stops.
Various mention on the internet has attributed it to location history and location services in the "Google Settings" however I have had those disabled for a few days now and they seem not to be the issue in this case.
My conclusion so far is that the link between the latest GPlayS and Google Now is the real killer.
At present, I have Google Now disabled, and no battery drain, Wifi turns itself off as it should and the phone sleeps. This isn't a great solution since I use Google Now regularly.
I'm hoping that unless someone has come up with a realistic solution that doesn't involve disabling services, Google will release an update to fix the issue.
Currently without access to another device other than my N10, I'm unable to test whether this particular version of the issue is specific to the XZ or the GoogleNow/GPlayS versions.
My next test is to install Network Info from F-Droid and Better Battery stats, and see if I can attribute the thing preventing wifi from turning off during sleep, and hence the failure for the device to deep sleep, to a particular activity going on.
Further, I have already tested the GPlayS related services by disabling everything such as Calendar and Contact Sync, disabled all of books, movies, photo sync, disabled Google Plus, none of these had any effect on the issue, which all but rule them out of the equation.
Has anyone else got observations on this, is anyone else suffering the issue, or has anyone got a real solution?
I'm off on Holiday on Saturday and would really like to have access to Google Now back, but not have the battery drain that's going to kill my battery while roaming the streets of Rome without access to a charger.
alias_neo said:
So since the latest Google Play Services update, I have been suffering some serious battery drain issues. There are various mentions all around the internet and most point to the issue being 4.2.1, which, we aren't running.
I spent some time over the last few days trying to figure out what the issue is and have some observations. But, for some background, last few days I have been getting no more than 10 hours battery with no more than an hour or two screen time.
Google Play Services is listed as the biggest battery drainer with 49%, so I started looking into that.
First off, I noticed in battery stats that if Wifi is on, the device doesn't deep sleep, even though wifi is set to never on when sleeping, the wifi never turns off and the phone never deep sleeps.
First thing to try was turning off wifi, so, I turned off wifi, straight away, phone deep sleeps again.
Next I began messing with Google related things, first of all I "uninstall updates" on GPlayS, tested with Wifi on, great, no more battery drain, phone sleeps, BUT, phone keeps bugging me with notifications to update.
Next was to update, battery drain returns. So, disable Google Now in its own settings, battery drain remains when on Wifi, however, if I kill "Google Search" after disabling Google Now, the battery drain stops.
Various mention on the internet has attributed it to location history and location services in the "Google Settings" however I have had those disabled for a few days now and they seem not to be the issue in this case.
My conclusion so far is that the link between the latest GPlayS and Google Now is the real killer.
At present, I have Google Now disabled, and no battery drain, Wifi turns itself off as it should and the phone sleeps. This isn't a great solution since I use Google Now regularly.
I'm hoping that unless someone has come up with a realistic solution that doesn't involve disabling services, Google will release an update to fix the issue.
Currently without access to another device other than my N10, I'm unable to test whether this particular version of the issue is specific to the XZ or the GoogleNow/GPlayS versions.
My next test is to install Network Info from F-Droid and Better Battery stats, and see if I can attribute the thing preventing wifi from turning off during sleep, and hence the failure for the device to deep sleep, to a particular activity going on.
Further, I have already tested the GPlayS related services by disabling everything such as Calendar and Contact Sync, disabled all of books, movies, photo sync, disabled Google Plus, none of these had any effect on the issue, which all but rule them out of the equation.
Has anyone else got observations on this, is anyone else suffering the issue, or has anyone got a real solution?
I'm off on Holiday on Saturday and would really like to have access to Google Now back, but not have the battery drain that's going to kill my battery while roaming the streets of Rome without access to a charger.
Click to expand...
Click to collapse
I shut it off it was draining my battery!
I had the same problem.
And here's a solution for you: Factory data reset
After that there will be no problems with battery drain.
NXT3 said:
I had the same problem.
And here's a solution for you: Factory data reset
After that there will be no problems with battery drain.
Click to expand...
Click to collapse
I did a factory reset and have the problem.
So the amount of battery drain has lowered significantly, but it is still there. I attached a screenshot from before the change and a screenshot from after.
use link 2 sd ( root required ) search at playstore
open it and seacrh google play service
option and sleep it..and u done
echopark15 said:
use link 2 sd ( root required ) search at playstore
open it and seacrh google play service
option and sleep it..and u done
Click to expand...
Click to collapse
it must be a way without root
Update Google play Service to version 5.x

[Q] Google Maps sucking offline battery power

Recently, I've noticed that the Maps app really wastes power on standby time. Left the phone for one night from full battery and I wake up the next morning to find battery down to about 74% (no usage between those times), and a short check to the battery management section shows that about 68% of battery usage was due to Maps, and the display used less than 10% of the battery.
It seems that STAMINA Mode can't shut Maps down for one reason or another as it always asks me to force close it, like when I checked my phone first thing this morning. Does anyone have any idea on how to force close it until it's needed? I hardly ever use it, but it just keeps turning itself on again and again during standby, and since there's no blacklist feature in STAMINA Mode, I can't really force it closed either...
Yeah, I had the same issue when I first got the Z running 350 firmware. I disable Google Now, Location services and then reverted all Maps updates to prevent maps eating up battery. Now I'm on 434, I have Google Now and location services disabled, and Maps is up-to-date, the problem haven't came back. This at least works for me.
I've experienced the same issue with both firmwares 350 and 434, the thing is that google maps only seems to suck the battery dry after location services is turned on. You don't need use google maps for the program to kick in and start draining battery. I usually get rid of the problem by turning off location services and killing the app from memory.
I've an exact problem before. You can tried using Greenify application which can hibernate schedulers.
http://forum.xda-developers.com/showthread.php?t=2155737
Sent from my Nexus 4 using xda premium

[Q] Location always running

Hi fellows,
Whenever I look into AppOps, Location is ALWAYS running for Android System and Google Play Services.
It doesn't matter if GPS is on or off, neither running in Safe Mode helps - always running. If I force-kill Google Play Services then it stops running Location, but starts again as soon as any app triggers it (Maps or anything else). I'm using Location in 'device only' mode. To be honest for some reason I cannot select any other option.
I'm running my Z3c on Stock MM .575, rooted, manually debloated (maybe too hard?), with some Xposed modules. (Just to make it clear, I turned off every possible syncing, scanning, location reporting, location history, google now, what have you)
Is there a way to see what process/app triggers Location constantly? I know that probably factory reset is a good thing to try, but I'd rather like to avoid that I'm attaching some screens with battery stats and wakelocks. They were taken after a night, unplugged and idle. The battery drain is not a problem, GSam is also not reporting GPS usage. However it shows that the phone is 'active' quite often, two times even woke up from Doze. I don't know how that corresponds to the data from Wakelock Detector (attached as well).
Any ideas?
(fixed images)

Question Google Play Services and Kernel wakelocks

Hi all. I noticed that the phone does not go into deep sleep mode sometimes. I put my phone and galaxy watch 4 into airplane mode through the night but the phone never goes into a deep sleep because of kernel wakelocks (npu_run_wlock) and google play services. After restarting the device, the situation returns to normal and the phone goes into a deep sleep. Do you know what could be the reason for this?
could reproduce and report to samsung (don't reboot tho, it'll delete the issue log) use samsung members app > get help > error report

Categories

Resources