yashsingh1/xdaforums huggingface dataset:
[General Topics] siddious black:
You have to enable keep awake only....that solve you problems
[General Topics] insaneoctane:
Yes, but then play services keeps my phone awake....
[General Topics] v7:
The issue was addressed by Google long time ago.Which gapps package do you use?
[General Topics] imcrazyz:
@v7, does enabling only "keep awake" on google play services help reducing the battery drain, since disabling "keep awake" causes crash.
[General Topics] v7:
Disabling Keep Awake is causing crashes on latest GooglePlayServices.Enable it and see if the wakelock appear again.
[General Topics] imcrazyz:
Yea, I'm aware of that as I've tried almost all the gapps package by TK, Open, PA, and etc. I'm leaving my device for 6 hours on idle for testing.

Is that any fix for that yet or we have to wait for Google to release the patch to fix it?
[General Topics] siddious black:
Im using gplay service 8.3.01 (2385995-236) cm12.1 5.1.1 note 2...i can disable keep awake and wake up...but if i upgrade the gplay service to latest version and disable keep awake...it will "unfortunately google play service has stop"...
[General Topics] v7:
Google has already adressed this issue long ago.Shouldn't cause issues now.
[General Topics] aviaryan:
@v7

Thanks.. I first tried disabling the startup of those receivers only but that didn't work.

So then I used Privacy guard to deny wake permissions and that was it..

Thanks again. You are the guru of battery life optimization.

---------- Post added at 07:03 PM ---------- Previous post was at 06:50 PM ----------

Disabling Keep Awake was causing crashes. I enabled it and now the SystemUpdateService is back on ...:(

---------- Post added at 07:26 PM ---------- Previous post was at 07:03 PM ----------

This app worked .

https://play.google.com/store/apps/details?id=me.swineson.disablesystemupdateservice&hl=en
[General Topics] eordetxl:
Thx for the guide

Thx for the guide
[General Topics] cicciodila:
Solution for slimsaber

Hello everyone,

On slimsaber rom there isn't a block for wakeup permission. I think that this is the reason for fault of this guide.

After any search i've found a solution based on "disable service" app.

I had installed it for disable systemupdateservice, but the service was already disabled (in google play service and framework) so i had enabled it for both and now my device (sm i9100) go in deep sleep.

I must do that every time i reboot the device.
[General Topics] v7:
Actually,this guide isn't relevant anymore.The SystemUpdateService wakelock is fixed by google long time ago.

___

v7

XDA Assist
[General Topics] TigerSoul925:
Not really. Nexus 6p 6.0.1 here and first I got the darn notification that I don't want. So I started by trying to disable the three suggestions. This didn't work in autostarts as it's not 6.0 compatible. Rom toolbox lite said it managed to disable them, and indeed after reboot the notification is gone but guess what I end up with instead: the damn wakelock!
[General Topics] v7:
The wakelock in 6.x isn't draining,although it shows up in BBS.

___

v7

XDA Assist
[General Topics] TigerSoul925:
Oh, so it's not really active during screen off? Funny thing is, if I leave the notification and don't do anything about it, I don't get the wakelock anymore. Change the three suggestions and I get the wakelock.

What's the correct way of disabling this notification on 6.0? I don't want to block notifications for google play services as it tells me a whole lot more than just about updates. It's android wear stuff, updates etc.
[General Topics] v7:
I'm still on 5.1.1.Are you on stock?

___

v7

XDA Assist
[General Topics] TigerSoul925:
I'm on 6.0.1 stock
[General Topics] v7:
I'm not sure if you can turn off that specific notification.Have you tried asking in your device forum?

___

v7

XDA Assist
[General Topics] TigerSoul925:
I'm discussing the matter in another persons thread about disabling it. I've made some investigation and as it looks now the only way is to disable notifications for the entire framework or using notifyclean.

A pretty ****ty list of options for accomplishing such a simple task really.
[General Topics] Acid2910:
Thanks, its work
[General Topics] urnamese3:
Hey [MENTION=5867207]v7[/MENTION] now the app is called autostarts in the F-Droid repo not autoruns
[General Topics] v7:
OP edited :good:

___

v7

XDA Assist
[General Topics] vkumarytb:
Google still find ways to eat my battery ...thank u google
[General Topics] voguemaster:
Check out my alternate solution

http://xdaforums.com/android/general/guide-to-fix-data-battery-drain-t3298080

It isn't handset specific or play services specific. It does require ROOT though.
[General Topics] Caddos:
Testing now, i publish the results later.
[General Topics] Triggerfinger68:
Doesn't work for S3, can 't find boolean in update.xml
[General Topics] Caddos:
Not work, and i use you guide and not work again :(

Google play services 7.5.71
[General Topics] v7:
Screen On (): 48 m 59 s 25.4%

Screen was active for 48 minutes.Head over to my thread and read the FAQ in post #6.Then post me a dump as mentioned in it.I'll take a look :)

___

v7

XDA Assist
[General Topics] Caddos:
ok, i send again
[General Topics] Sincerity4:
I follow all steps.

But always see "unfortunately google play services has stopped"

This is terrible

ok, next follow your advice and set KEEP AWAKE enabled

it works untill reboot device

after reboot SystemUpdateService works again

CM11 Android 4.4.4

Google Play Service 8.4.89
[General Topics] cridemichel:
Hi guys,

I want to report also my experience being possibly useful to someone else.

In my case (cyanogemod 11.0 on a samsung galaxy s-plus GT-I9001) I followed all steps suggested in the first post except that (i) I set "keep awake" enabled and (ii) I kill "google play services" on startup once using Automagic (but you can use whatever other app you like to do that, like Tasker, Macrodroid, AutomateIt, etc). It seems that with "keep awake" enabled after system booting "google play services" app remains awake all the time preventing the phone from sleeping, but if you kill it once everything is fine afterward,

Cristiano
[General Topics] webfrm:
Damn Google play

Yeah I am having same experience as everyone else. I also can't seem to disable the services. When I try to disable the play services systemupdateservices I get an error that I can't change it (using autostarts) and claims I may not have root. I know I have root because so many other apps (RomToolBox Pro, Tasker, etc) that I own have been granted root. So if anyone has a suggestion using anything in xposed (appsxposed) or anything I already purchased to address this to address it I'm open. But this BS of Google constant push of updating GooglePlayServices (can't seem to stop that) to end up screwing my tweaks on my battery optimization is really getting old.
[General Topics] lace_hvc:
Since I get 'google play services has stopped' message when denying 'wake up' and 'keep awake' of google play services in the privacy guard, i allowed both and turned ON system update service in google play services with an app called 'disable service' (system update service always starts disabled leading to wake locks from time to time).

I dont get any wakelocks and no 'google play services has stopped' message, especially when using location services.

Unfortunately, the system update service starts disabled after every reboot, forcing me to enable it every time. but i dont experience any errors this way.

Any other combination always lead to 'google play services has stopped' or to wakelocks.

Hope this helps someone. Im on CM11.
[General Topics] xda26:
work on mine
[General Topics] studiorat:
System Update Services ....I cant find within Startups app under Start ups or All any Idea where ai can find them....I do have privacy mgr, Built into my rom and have keep Awake off on Google Play Service and Also Google System Framework
[General Topics] jlb1959.01:
I also can not find system update within the app,I'm on xdabbeb 3.1... no way to control Google play or frame work??, any suggestions would be greatly appreciated.appops,has been installed and doesn't appear to work either..
[General Topics] phantomhell:
Play service is needed by most apps but it's a battery eater :D
[General Topics] air001:
Google Play services isn't listed in this app and Settings app is FC-ing.

I've tried another AppOps app which has listed the Google Play services and I can turn off the awake permission.

After that I tried to disable the receivers in Autostart but after wiping dalvik cache and two reboots all the receivers turns back to enabled status.
[General Topics] v7:
Which AppOps did you try?

Can you post the link here?

Tapped from my furious ZR ;)
[General Topics] air001:
It's App Ops by Lars Team from Play.

https://play.google.com/store/apps/details?id=com.findsdk.apppermission
[General Topics] v7:
I'd recommend using AppOpsXposed because I haven't tried others myself and can't tell which works and which doesn't.

Tapped from my furious ZR ;)
[General Topics] air001:
Ok I understand but AppOpsXposed doesn't show the Google Play services in its list. Therefore I can't disable the keep awake permission.
[General Topics] v7:
There's an option to include built in system entries.I think there's a menu on the top right corner which contains this option.I have used the app on several devices but can't look now because now I'm using the built-in privacy manager.

Tapped from my furious ZR ;)
[General Topics] air001:
There isn't any menu.

But I could turn off systemupdateservice with Disable Service app.

But Google Play services wakelock still remains. See the screenshots!
[General Topics] v7:
Here's the screenshot of AppOpsXposed.

Disable the two options shown in the screenshot.

Disabling with Disable Service won't work.
[General Topics] air001:
Here is my screenshot about AppOpsXposed.

There is no menu for hidden apps and Google services aren't in list.

Thanks for trying to help but it doesn't work.
[General Topics] v7:
Can you show me the icon of your AppOps?

And do you have a working Xposed Framework??

This is the Appops I mentioned:http://dl-xda.xposed.info/modules/at.jclehner.appopsxposed_v12503_665c90.apk

Try this.

Tapped from my furious ZR ;)
[General Topics] air001:
Here you go.
[General Topics] v7:
You have an older version of the app.Update it from Xposed Installer or from herehttp://dl-xda.xposed.info/modules/at.jclehner.appopsxposed_v12503_665c90.apk
[General Topics] air001:
Xposed is working and I've downloaded and installed AppOps inside Xposed.

Edit:

I've installed your one.

It shows G.P.S. like other AppOps app but OP_ALARM_WAKEUP permission is missing, only Keep Awake have and it's disabled.
[General Topics] v7:
The latest version 1.25.3 can deny the GP services.According to your screenshot you have an older version ie;1.23.

Update to latest version 1.25.3 and try.
[General Topics] v7:
Can you post a screenshot of the GP inside the Appops? Let me see the available permissions.
[General Topics] v7:
Ok fine..now you try my fix.Disable the services,Enter recovery,wipe only Daivik Cache and Reboot
[General Topics] air001:
Nothing to say.

Disabled services in Autostart and after wipe and reboots everything remains in original state. Still wakelocking.
[General Topics] v7:
I'm really sorry mate.I have tried my luck.Couldn't figure it out..I can't ask you to try it with another rom..else I would.

It may be device or rom related.Who knows.Still I would recommend a clean flash and one last try.

Tapped from my furious ZR ;)
[General Topics] hooliganx:
made a clean flash and... here, no problem.

What Im using... in my sig.

only disable in app opps/G.P.S.

wake up, keep awake and autostart.

n5slim.ezio84-15.03.21layeredgapps.15.03.17

code.blue.r884rd.1.16v4a.2.3.4twrp2.8.3.0

-----------------------------------------------------------
[General Topics] air001:
Thanks everything you try. Maybe I'll try another rom.
[General Topics] v7:
Try and report here.Thanks

Tapped from my furious ZR ;)
[General Topics] franatic08:
Does this 'bug' only appear on custom roms, or does it affect stock roms aswell?

Because if the second is true, then we might get a fix from Google, if not then I'm afraid it will stay unsquashed.

Thanks for sharing the solution, built in Privacy Guard option works for me.
[General Topics] v7:
On all rooted android running latest Play Services I guess.

Tapped from my furious ZR ;)
[General Topics] beautifulsun:
Works for me but only if paired with CM privacy settings then stop Play Services.

Another question, is Autostarts compatible along with Boot Manager?
[General Topics] v7:
Yeah I'm using both :D.

BTW OP updated

Tapped from my furious ZR ;)
[General Topics] EvilAaron:
CM11S on OnePlus One

Found this on redit yesterday minus the part about using Privacy Guard / AppOps and it didn't work. Found here today and seems to be working now, one question though.

Am I supposed to leave the 2 Google Play Services toggles in Privacy Guard (wake and keep awake) in the disabled position or re enable them once the receivers are disabled in Autostarts and dalvik wipe completed? Would these cause other Play Services tasks to not work/run?
[General Topics] v7:
No need to re enable the services again.Keep it as it is.It won't affect your Push or Playstore updates.

Tapped from my furious ZR ;)
[General Topics] EvilAaron:
Thank-You for the answer and thread.
[General Topics] v7:
I've been given a thanks button to help people like you who thank me :D

Why waste the words?Press the button mate ;)

Tapped from my furious ZR ;)
[General Topics] Cyclu:
You have to disable the broadcast receivers and not the services, see below what I have to do to eradicate these wakelocks.

I have received yesterday this bull... Play Service 7.0.97 update like everybody not deep sleep and these massive wakelocks:

Checkin Handoff, Event Log Handoff and SystemUpdateService (BBS screenshot)

What surprise:eek: because I always disabled the above three services and the corresponding broadcast receivers on all my device since HTC HD2 without any problems, so now to not having the wakelocks we must re-enable thus services to stop the wakelocks, we walk on the head:eek:

Personally I have to re-enable three services com.google.android.gms.checking.CheckinService

com.google.android.gms.checking.EventLogService additionally to com.google.android.gms.SystemUpdateService I had already disabled the corresponding receivers for the above services.

With My Android Tools which I personally prefer over System Tuner 3C Toolbox Pro and others similar applications because it has very helpful search function also you can sort the app's by disabled and currently running state and under about screen we have the backup option for disabled components.

So go to Service>Play Service to enable this service (first screenshot) and disable corresponding receivers (second screenshot) under Broadcast Receiver>Play Service.

Always before searching tap full/short because without doing it can happens that we can't found all items.

My Android Tools link:

https://play.google.com/store/apps/details?id=cn.wq.myandroidtools&hl=en

I see very often the people's recommend Disable Service app instead My Android Tools

(developed by the same person) they are wrong because disabling only the service without broadcast receiver will cause even more wakelocks except since latest Play Services update Google has messed up the things now we have to enable the services and leave or disable if this is not already done the broadcast receivers to stops the wakelocks. WTF?:what:

Weird No? Because now it's completely opposite behavior and the massive wakelocks appear as if we have disabled only the service without the corresponding broadcast receivers.

I also amplified with Amplify (I have set "Allow every" to 86400 seconds) this alarm com.google.android.gms.checkin.EventLogService$Receiver which has appeared after having re-enabled the above services.

So now my battery drainage is as before this unfortunate Play Service update.
[General Topics] v7:
I have no wakelocks from GP Services.

You see the attached screenshot in OP.

It doesn't even show up in BBS.

And no counter wakelocks appeared after trying my fix.

You've posted BBS screenshot of 2 min usage.Post a log of atleast 1 hour of idle time.Let's see.

Tapped from my furious ZR ;)
[General Topics] Cyclu:
The BBS screenshot was taken after Play Service update and before I have done any change, for me these wakelocks also doesn't even show up in BBS.

I have posted this screenshot only to show the problematic wakelocks.

I know and have already leaved my device in idle time over night after Play Service update to discover the next day that I have losted 45% of battery that because I had the massive wakelocks and not deep sleep, but for me it was sufficient (after receiving the update during the day and rebooted the device) to know right away that there is a problem, even with only 2 min of idle time, 36 seconds of wakelocks time it's much.
[General Topics] zer0lab.dev:
I'm gonna read this whole thread later 'cause I have the same issue on my Nexus 7 2012 with Paranoid Android 4.6 (KitKat). I chose to use a 4.4.4 ROM here because all Lollipop ROMs are not smooth as I want, so better stay with KitKat on this device..

I disabled the SystemUpdateService with Disable Service because I wanted to remove the Update Found notification by Google. I don't know why it was here, I never had such an issue in the past, but that's not the point now..

This morning I noticed the the tablet never went in Deep Sleep this night, and the reason is the wakelock SystemUpdateService..

As I said I'll read the thread to find the most updated solution, but for now I have a question: I noticed that I have 2 SystemUpdateService services, one in the Google Play Services and one in Google Services Framework.. What are those 2 different services needed for? Are both related to OTA firmware updates?

Thanks guys..
[General Topics] v7:
Disabling the services using Disable Service can actually cause the wakelock to be wild.

Follow my method to disable the receivers,not the service itself and thus fire the wakelock.

BTW disabling the service stops the OTA updates.

Tapped from my furious ZR ;)
[General Topics] mafiastyle:
App Ops not run on 5.1? Thanks
[General Topics] v7:
AppOpsXposed won't work on 5.1 because Xposed is not compatible with 5.1.

Tapped from my furious ZR ;)
[General Topics] zer0lab.dev:
So I follow steps from OP and the results is good for wakelock issues but negative for the OTA Update Notification..

I'm actually on Paranoid Android 4.4.4 and I have a really annoying notification about a system update (stock 5.0.2): naturally I don't want to update and I could not update cause I'm on a totally different ROM! I presume this issue is caused by the different OTA service Google actually uses: I checked with Disable Service applications and my ROM has SystemUpdateService service disabled for Google Services Framework; I assume that Google do not use this app anymore to check and notify about system update, and this is the reason why the ROM does not stop the update..

Yesterday I disabled the SUS service also for Play Services application and I was able to stop notification that way, but then this morning I noticed a big big battery drain caused by that same service!

So I enabled it again and followed the steps from OP: wakelock are gone but the OTA notification is back again!! Can't believe it.. :(

I think that the update notification is back because the ActiveReceiver receiver does not stay disabled after a reboot (I also clear cache and davilk at the first reboot). The other two receivers stay disabled, but ActiveReceiver one does not..

Any idea, pliz?

Thanks for paying attention and sorry if this is a pretty long post: I wanted to explain everything good..
[General Topics] davboc:
I follow this, indeed the wakelock stop immediatly after re-enable the first service. The problem is that at every reboot the service is disabled and the wakelock restart. How I can fix this?
[General Topics] EvilAaron:
Well I did press the "Thanks" button in original post, but since words are worthless for you I will press it some more lol.
[General Topics] v7:
Have you not read the OP yet?

Tapped from my furious ZR ;)
[General Topics] davboc:
Sure, I read it, but those receivers are yet disabled on my S2. The only way to stop the wakelock is to enable the SystemUpdateService, but the problem is present again at the next restart....
[General Topics] zer0lab.dev:
So I finally got it!

I had the same issues last user reported and even the user [MENTION=4675510]air001[/MENTION] in the first posts: I'm on Paranoid Android 4.6 beta 6 and

1. The AppOppsXposed 1.25.3 doesn't provide WAKE UP option for any application..

2. The ActiveService service always was enabled again after davilk cache wipes and reboots..

Before doing all that I used Disable Service to kill the OTA updates notification, but I enabled all services before trying this tip.

So I tried to also use MyAndroidTools together with Autostarts.. I disabled our well know broadcast services and reboot; I did it three times 'cause I always found them enabled again, but at the end I success!!! Don't know which application finally solve the issue, but now it works and I'm happy!

???????????
[General Topics] v7:
Disabling the service with Disable Service won't work.Try this..re enable the service using Disable Service and the receivers using Autoruns.Reboot device.Then try my fix.Reboot to recovery, wipe Daivik Cache and reboot.

Tapped from my furious ZR ;)
[General Topics] Cyclu:
That is not completely true, only for some it appears that disabling the services doesn't survive a reboot (read some post in the below link), personally I never had this problem, but davboc has the opposite behavior, for he enabling the service doesn't survive the reboot, which is very weird, I never saw that.

Follow this link for Tasker solution, personally I have no need to do this, fortunately because I don't like Tasker it's not intuitive and very complicated.

Have you for sure disabled corresponding broadcast receivers?

http://xdaforums.com/paranoid-andro...oogle-apps-t2943900/post59350828#post59350828

---------- Post added at 11:18 AM ---------- Previous post was at 11:10 AM ----------

You don't have to use three applications, My Android Tools is sufficient, the two others app's are redundant in this case.

---------- Post added at 11:54 AM ---------- Previous post was at 11:18 AM ----------

@vaisakh7 The the wakelocks in question still appear in BetterBatteryStats uncheck filter stats in BBS settings, they are minimal but still there. I don't have the screenshot from BBS but see in the Wakelock Detector screenshot in which they are not filtered.

I have completely eradicated these wakelocks when I amplified this alarm "com.android.android.gms.checkinEventLogService$Receiver" I set for it in Amplify "Allow every" 86400 seconds (24h)
[General Topics] v7:
I'll check for that wakelock in BBS.I'll report later.

Tapped from my furious ZR ;)
[General Topics] beautifulsun:
Fine. But why if I freeze an app in Boot Manager then is not freezed in Autostarts and viceversa? Is a bit confusing.
[General Topics] v7:
I think in Autostarts we disable the receivers of an app while in BootManager we prevent the app itself from running during startup.

Tapped from my furious ZR ;)
[General Topics] brolic925t:
Uhhh anyone else's google music pausing the music while the screen is off after doing this?

---------- Post added at 02:02 AM ---------- Previous post was at 02:02 AM ----------

Like trying to skip a track, the song won't start till the screen gets turned on
[General Topics] v7:
I left my phone idle for few hours and checked for the wakelock in BBS with filter off.I can't find even a single wakeup from SystemUpdateService.I'll post the screenshot later.

Edit:@Cyclu Here's the log.Check it yourself

Tapped from my furious ZR ;)