Related
This started around the time I wanted to check and see if my GPS was still working after the update. I went through the hoops to get google maps to be able to use the GPS and it was working fine. But shortly after, I noticed excessive battery drain, and BBS showed me that my phone was not sleeping at all.
I am now seeing 3 partial wakelocks from google services framework: Checkin Handoff, Event Log Handoff, and SystemUpdateService.
Tried several of the usual things to track it down and in the process I'm seeing some oddities:
1. Using autostart manager, I unchecked the checkin and SystemUpdate-related autostarts for Google Services Framework, but they won't stay disabled. Generally speaking, the autostart manager is working - other receivers stay disabled.
2. Settings -> Accounts & sync -> Google -> Maps & Latitude brings up a location settings screen in maps. This has an option for Automatic check-ins which is checked. I un-check it, it says in a toast message that it saved, but if I exit out and come back in, it's still checked.
I'm thinking those two issues are caused by the same thing that's keeping these wakelocks going. Any ideas?
Oh, also, the only checkin-type message I find in logcat is this (repeated often). Indeed, there is no /data/data/com.google.android.gsf/.checkin.CheckinService - should there be?
04-11 09:46:28.412 W/ActivityManager( 553): Unable to start service Intent { cmp=com.google.android.gsf/.checkin.CheckinService }: not found
[Q] do you have /data/data/com.google.android.gsf/.checkin.CheckinService?
Answering myself trying to change the thread title.
Someone who has stock JB, please check and see if you have the abovementioned file. If so can I have it please? (or if it's data I'd like to know what goes in there).
Made a little progress.
I was actually able to disable the autostarts using "Autorun Manager" instead of "Autostart Manager". I'm not sure exactly why unless it is because these autostarts have $ characters in them.
This makes the wakelocks go away.
I'm still curious why I can't turn the setting off in maps and whether the 'not found' error is anything important.
Exactly the same issue (although mine is an S3 running Omega Rom 4.1.2).
Constant Wakelock for 3hrs 36m all of a sudden (seen with Wakelock Detector). Used "DisableService" app to disable all sub-services under Google Services Framework. Play store seems to still work OK.
With my phone largely idle, Google Play Services is consuming 40-50% of the power and seems to be stopping the phone sleeping. The net_scheduler wakelock is the biggest culprit causing up to around 800,000 wakelocks in a day. It got to the point where I couldn't get through a day of minimal usage without recharging during the afternoon. I don't use Google+, I have turned off location services and disabled Google books, movies, games, search and google+ apps. I still have sync enabled for Google apps data, calendar, chrome, contacts, gmail and internet but I have disabled sync for drive, Fit data, people and picasa which I don't use anyway.
The problem was worse when I was using Exchange Services to sync with my work email and calendar. Turning off email sync helped a bit but Google Play Services activity still seemed to ramp up and stay high when I had a calendar appointment in Outlook, even with the sync period set to manual. So I have now removed the Exchange account completely.
I am aware that Exchange Services seems to be a common problem, something to do with the version of the Exchange server? Anyway that is not within my control. The serious battery drain started maybe 4 weeks ago and Exchange Services was responsible for most of it. Having eliminated that, its now Google Play, which also seems to be a common problem but usually NlpWakeLock? My phone is currently showing it has been kept awake 1h51m by Google Play Services since this morning, and 1h39m of that is net_scheduler (435409 wakelocks). GSam battery monitor shows almost continuous background activity even when I am not using the phone. The highest battery usage per app is by Google Play Services at 27%, the next highest is Kernel at 9%.
The battery drain seems to be worse when I am at work, where the signal is poor and I am on wifi but that has always been the case. I also use wifi at home. I turn off mobile data while at work to try and reduce battery usage. Other than changes to reduce battery drain I haven't changed anything on my phone for ages and I haven't updated or installed anything new, although I think Google Play automatically updated itself a few weeks ago.
What is net_scheduler and how do I stop it or Google Play killing my battery?
stock Samsung Galaxy S3 LTE, not rooted, on T-mobile
Android 4.3
New battery less than a year ago.
Someone please answer your... I am having the same issue and it is riculous. On one plus oxygen.
I am having the exact same problem. 28929 wakelocks for *net_scheduler*
Thank you in advance for anyone's help!
Custom Samsung Note 3 Rom 4.4.2
Me too, pls help us to solve this problem. Thanks.
its my problem too , fk my battery ! plz help ...
Same problem. Recently, battery has been draining crazy fast in standby. Wakelock detector shows this net scheduler causing 263,000 wakelocks over only 4 hours standby and lost about 25% battery doing nothing. Android 4.3 on sony xperia sp.
Using OS monitor app, Android system and google services framework are consuming 60% cpu power when phone is just idle.
Google are a bunch of idiots.
---------- Post added at 02:02 PM ---------- Previous post was at 01:38 PM ----------
To fix, find Google Services Framework and clear data and cache. Instantly fixed the problem. CPU usage by Android system and Google framework dropped to 0 and wakelocks have stopped increasing.
I highly recommend the app OS monitor, let's you put a permanent notification which shows top 3 things consuming cpu power.
Before Clearing Framework (this was non-stop, even restarting didn't help)
After
problem has returned, google, you suck.
Hi, I have the same issue like you. I disabled some services of google play services and I was thinking that that was the reason of wakelock *net_scheduler*, but it isn't, because I flashed new ROM with all services enabled but *net_scheduler* is draining my battery again. Its strange that is showing it randomly, I mean some day I don't have that wakelock and the next day I have it. Really strange.
If anyone knows more about it please answer.
Hey,
I have the same issue. Since the last GPS update wont even last a day. I found also that the GPS are responsible and in my case its also the *net_scheduler* service. It is pretty active. I already tried a few things from here: http://forum.xda-developers.com/showthread.php?t=2357417
But so far nothing helped. It drains the battery really fast, yesterday my battery went from 50% to 30% in 20 min. That sucks.
If someone found a fix please post it here
Tried uninstalling google play services update, everything fine. Then updated it via play store and within a few minutes of update noticed phone was getting hot and laggy again. Same issue, something is going on with google play services causing massive wakelocks and high cpu usage. Currently at 1.4 million net_scheduler wakelocks in past 18 hours. Had to recharge twice even though phone barely used.
For no obvious reason, since yesterday I don't appear to be having the problem with Google Play Services any more. I haven't done anything to the phone, I am in the same location, nothing has changed on my end as far as I know unless I have inadvertently done or not done something that I normally do or don't do. In any case the problem appears to have gone away, or maybe it is just dormant waiting to drain my battery when I least expect it...
Something broken on the Google servers that they have now fixed?
Yep its fixed itself, there was an update on 18th June. The version with problems was 7.5.71 now its 7.5.74
Used my phone without google play services for a day and it actually doesn't affect much. You can still use play store, chrome but most other google apps won't work. Snaptube can be used as youtube replacement. If you can live without hangouts,gmail etc I'd recommend just removing it completely, save any future headaches.
Hmmm... I still have Google Play Services 7.5.71. Strangely Google Play Store says it has no connection, even though I am on wifi and other apps can connect fine. Maybe that's why it hasn't been able to hammer my battery?
What is the relationship, if any, between GP Services and GP Store?
spencetj said:
Hmmm... I still have Google Play Services 7.5.71. Strangely Google Play Store says it has no connection, even though I am on wifi and other apps can connect fine. Maybe that's why it hasn't been able to hammer my battery?
What is the relationship, if any, between GP Services and GP Store?
Click to expand...
Click to collapse
I got the no connection on play store after clearing google framework cache. Had to reboot phone to fix it. Could be why the issue has stopped for you as I noticed it did too after clearing framework at first.
Completely uninstall google play services, it will reset to factory default. Re-enable it and launch a google app such as youtube. It will prompt you to update and bring you to google play services page on play store where latest version will be downloaded.
Google Play Services updated itself over the weekend to 7.5.74, lets hope this one fixes the battery drain for me. I never get any option to update or not, the only reason I know it updated is because I have an app that automatically backup up any app that gets installed, so I can revert to the previous version if an update causes problems. I did try reverting GPS but installation of the previous version failed.
Anyway, is there any way to stop Google services updating automatically? I can't find anything in the settings. I have Play Store set not to update automatically but that doesn't seem to make any difference. When google play services updates I don't get redirected to the Play store, it just installs the update without asking me.
Follow these hints next time.
Anyone else still having this issue? It's issuing a lot of wakelocks for me (Marshmallow/TouchWiz Note 4)
Coldblackice said:
Anyone else still having this issue? It's issuing a lot of wakelocks for me (Marshmallow/TouchWiz Note 4)
Click to expand...
Click to collapse
Yep same for me (TW MM Note 4). Amplify shows *net_scheduler* to be by far biggest wakelock, which is what brought me to this thread. Google Play Services now at at v9.4.52. Hmmm.
wakelock
it is google play services which drains battery very drasticly
arctophile said:
Yep same for me (TW MM Note 4). Amplify shows *net_scheduler* to be by far biggest wakelock, which is what brought me to this thread. Google Play Services now at at v9.4.52. Hmmm.
Click to expand...
Click to collapse
Started happening to me yesterday - battery was great until this
So there are a few apps on my phone which I want to only run when I specifically open them. And then to completely be disabled/killed as soon as I leave. No processes, no start up, no notifications, no services, wakelocks etc etc.
What's the most effective route for this? I'm using Greenify at the moment but noticing that for some of these apps are still waking up from time to time. Amplify is showing the occasional wakelock from them too. Any way to completely disable an app as soon as I leave it?
Hello all,
I recently flashed CyanogenMod on my Galaxy S5 and I've been trying to stop Google Play Services eating my battery. I've got Xposed and Amplify installed and I followed this guide
At 75% battery, Google Play has used 7%, Android OS 5%, Android System 2%. Compare this to my sisters phone, which is a HTC One M8, running Marshmallow Google Play Edition, Play services accounts for around 1% over a full charge.
I noticed that Google Play is constantly checking my location, I had the problem running both stock ROM and CyanogenMod. I don't use Google now and I've got Location History turned off. I've even set location to GPS only, but somehow Google still constantly checks my coarse location. I've disabled everything I can think of that might use my location, even auto time zone. Wifi and bluetooth scanning are both turned off. Initially I had a fresh install of CyanogenMod, Pico Gapps (Play Services and Play Store only), no Google account, but Play Services was still checking my location constantly. Using Amplify I've also disabled any services with "location" or "GPS" in the title.
According to Wake Lock Detector, my battery stats are pretty good. At 75% battery, Play Services has kept my phone awake for only 1 minute and 2 seconds. Awake time is usually around 2%, until I use Endomondo.
Any ideas where my battery power is going and how can I stop Google checking my location all the time?
Thanks in advance
Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
tange1 said:
Team - I am running the latest version of greenify posted on the playstore. I've followed guides for enabling agressive doze on android 6.0 on my moto x pure (non root) -- including adbing to the device to grant permissions on the app. It seems to be working most of the time. The device seems to go to sleep and i've seen a great increase in battery. However, seemingly randomly i'll notice battery draining fast. When i look at my usage its google play services keeping the device awake 100% of the time. If i reboot the phone, google play services stops doing that and all is well for awhile, till it repeats. I've been unable to find the cause of this. I imagine i'm missing some information that we might need to track this down. thanks in advance!
Click to expand...
Click to collapse
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
tnsmani said:
That may not have anything to do with Greenify unless you have greenified Play Services. If you have, remove it from hibernation.
Usually Play Services will go berserk upon updating itself in the background. What you can try is clear it's data and cache and reboot. If you have TWRP, do it in recovery. If not, do it in Settings>Apps.
Click to expand...
Click to collapse
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
tange1 said:
Thanks for the info. Here's what i've done:
I removed greenify, performed the actions you suggested and left greenify off for about 12 hours. No issues with google play services and keep awake. I reinstalled greenify and everything was good for a number of hours. Unfortunately the play services keep awake started again about 3.5 hours ago. The phone has a solid 'awake' bar in battery settings and play services is the culprit with 3.5 hours awake. While i dont blame greenify, there's some sort of correlation of events here that I can't explain.
Click to expand...
Click to collapse
Do you have Xposed? If so, install AppOpsXposed and untick the "Keep Awake" function of Play Services. Another thing you can try is uninstalling the update to the Play Services, reboot and then manually update it and again reboot.
If it is still not arrested, Google is your friend.
Unfortunately I've the same problem on my OnePlus 2 with stock ROM. I've installed Greenify two days ago, and enabled aggressive doze with amazing results! Last night I enabled Doze on the Go (using ADB) and since unplugging my phone this morning there is this constant wakelock of Google Play Services. Disabling Doze on the Go as well as reinstalling Greenify didn't help. Looking forward to a solution!
This is a known problem. Sometimes it's worse and sometimes less, but Google Play Services is a known offender in this manner. And Google processes in general. Part of the reason for this is that Google often wakes up your device, periodically, to track your location (horrible, yes, and it continued to happen for me even when all Google location options I could find, as well as GPS, were turned off).
Solutions that have reportedly worked for some people in the past (try one at a time or all of them) - they don't require root:
-Make sure you do not Greenify/freeze/hibernate Google Play Services, or similar processes, as this may make the issue worse.
-Clear cache and data of Google Play Services.
-Manually update Google Play Services to latest APK version available from your device, downloaded from the web. Make sure you select the right version for you. http://www.apkmirror.com/apk/google-inc/google-play-services
-Try turning off as many Google background features as you can, such as location tracking/history, etc.
I guess some of these steps may only work after the next reboot, so reboot the device when you're done.
But as I said, this process is a known big offender. The above may not work, or may work temporarily. The stronger and more permanent solutions require root (you don't really need to try the above options if you do these). The more of them you do, the less 'keep awake' you should experience:
-Install Xposed Installer app and install Xposed Framework, so you can use the modules mentioned below...
-Use AppOpsXposed module (or CM Privacy Guard if you have it) to deny keep awake permission to Google Play Services, and other Google background apps.
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Cultar said:
..............
-This is a big one: Install Amplify (Xposed module) from the Play Store, and it will automatically take care of limiting Google wakelocks. That's it. If you pay for the pro version, then you can additionally tweak and limit all wakelocks, alarms and services on your device (pretty cool and useful, but more involved, so for advanced users).
Click to expand...
Click to collapse
The unpaid version of Amplify will block a maximum of a couple of wakelocks related to location. Only the pro version is capable of blocking other wakelocks and alarms including those of Play Services. But as you said, it is not automatic and you will have to set it up.
Any updates on this?
Google play services is awful
MSK1 said:
Any updates on this?
Google play services is awful
Click to expand...
Click to collapse
Not a Greenify issue. Some devices/ROMs/configs seem more susceptible to GPS runaway. Clearing GPS cache+data on occasion followed by an immediate reboot has proven helpful for some. Good luck.