Hello,
I am facing constant Google play services stopped popups, adding to that huge battery drain
Crash log:
java.lang.IllegalArgumentException: Wake lock not active: [email protected] from uid 10015
at android.os.Parcel.readException(Parcel.java:1544)
at android.os.Parcel.readException(Parcel.java:1493)
at android.os.IPowerManager$Stub$Proxy.updateWakeLockWorkSource(IPowerManager.java:500)
at android.os.PowerManager$WakeLock.setWorkSource(PowerManager.java:1191)
at com.google.android.gms.stats.c.a(SourceFile:393)
at com.google.android.location.reporting.service.DispatchingService.l(SourceFile:66)
at com.google.android.location.reporting.service.f.a(SourceFile:751)
at com.google.android.location.reporting.service.d.handleMessage(SourceFile:463)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.os.HandlerThread.run(HandlerThread.java:61)
Please help.
Sent from my A0001 using XDA Free mobile app
I have exactly the same issue , its been about 3 weeks
Enviado desde mi OneplusOne 64GB
You need to enable wake up and keep awake for Google play services in privacy guard.
Or disable location, you can also go to settings - apps - play services and delete all data
If you enable wakelock play service kills the battery. Did they push a silent update that caused this error?
Related
My phone (Moto G running stock Android 4.4.2 rooted) NEVER ever gets into deep sleep because of these two deadlocks: GCM_CONN_ALARM and GCM_CONN.
I tried blocking them using Wakelock Terminator (either in Google Play Services or in Android System) but it doesn't seem to do anything at all, either with the keyword filter or the total filter.
The wakelocks only stopped when I disabled GcmService (using the Disable Service app), but now I don't get many notifications (Gmail, Twitter, WhatsApp).
Is there any solution in between? Thanks in advance.
santiagoroza said:
My phone (Moto G running stock Android 4.4.2 rooted) NEVER ever gets into deep sleep because of these two deadlocks: GCM_CONN_ALARM and GCM_CONN.
I tried blocking them using Wakelock Terminator (either in Google Play Services or in Android System) but it doesn't seem to do anything at all, either with the keyword filter or the total filter.
The wakelocks only stopped when I disabled GcmService (using the Disable Service app), but now I don't get many notifications (Gmail, Twitter, WhatsApp).
Is there any solution in between? Thanks in advance.
Click to expand...
Click to collapse
Why do you need to go in deep sleep you will miss notifications in deep sleep
I have the same wakelock on my Moto X. IS KILLING"my battery. . Anyone got any ideas. .
gsusx said:
I have the same wakelock on my Moto X. IS KILLING"my battery. . Anyone got any ideas. .
Click to expand...
Click to collapse
Start uninstalling things like FB, whatsapp, viber, Twitter and so everything that may want to sync periodically.
See if you can filter out what is actually keeping the given service active, thus keeping your device awake.
As a last resort, factory reset and start over.
This popped up for me after using my alarm clock. Even after turning off the alarm, it still appears. Did you ever resolve the issue?
Nobody has a between solution? Not disabling it nor allowing it to hog our batteries..
santiagoroza said:
My phone (Moto G running stock Android 4.4.2 rooted) NEVER ever gets into deep sleep because of these two deadlocks: GCM_CONN_ALARM and GCM_CONN.
I tried blocking them using Wakelock Terminator (either in Google Play Services or in Android System) but it doesn't seem to do anything at all, either with the keyword filter or the total filter.
The wakelocks only stopped when I disabled GcmService (using the Disable Service app), but now I don't get many notifications (Gmail, Twitter, WhatsApp).
Is there any solution in between? Thanks in advance.
Click to expand...
Click to collapse
Use Greenify in Boost mode (works with xposed)
Have you solved the problem? I'm also struggling with that wake-lock.
Use greenify and amplify with xposed framework that would reduce the battery consumption and with amplify you can control wakelocks.
Hello,
May be you have battery drain cause by Google Services ? Not sure ? Install BetterBatteryStats from XDA and check deep sleep state and check which app cause wakeup. Deep sleep must be higher.
To prevent Google Services cause battery drain and allow the device to retrieve a normal high level of deep sleep state, here the solution :
Not Rom AOSP :
- Install App Ops from Play Store and follow the same trick bellow.
Rom AOSP (CM11…) :
- Go to Privacy Guard (App Ops) under Privacy, in Systems settings.
- Show system apps
- For Google Play Services and Google Search, deny these two permissions :
- Wake up (set to denied)
- Keep awake (set to denied)
That’s all, welcome back to battery life
Please, press my thanks button if this helped you.
Android 5.1 stock rom, everything is up-to-date.
Yesterday, before to go to bed I've done the following:
I turned off wifi, set the phone to plane mode and activated the power save under the battery settings (which should reduce a lot of things). Before to lock the screen my battery was at 57 %. After 8 hour my battery was at 44 %.
Thanks to "BetterBatteryStats" - BBS - I've found, under the "Alarms" section, that the process com.google.android.gms was reported to be active at 56 %.
I am sure that I don't have other WakeLocks, firstly because no Wake Locks are reported by BBS - and the deep sleep is correctly reported also by BBS, and secondly because the phone is only awake when the screen is on:
I ask to myself: why Google Play Store remains active when there is no active connection on my phone, and when the sync is disabled? Furthermore, under the wifi option I also disabled the option wifi scan always available.
I think I'm on the right way to solve this issue. I've done some research and I installed "Disable Service" from the playstore.
First of all, please keep in mind that I use just few Google Apps: Gmail, Google App (to use the vocal assistant) and the Play Store. With the following changes all these apps still work without issues (at least for now).
last night i left my phone in standby as yesterday (plane mode, wifi turned off and powersave activate): for 8 hours is always stayed at 91 % of charge
Here the services of which I got rid:
LockScreenService
BackupTransport
Googlelocationservice
GoogleLocationManagerService
GcmService
These four services were always active as background processes on my phone.
Then, using Gemini App Manager, I went to Google Play Services, and by going under "AppOps" I turned off the "Wake Lock" authorization.
Furthermore, I also disabled other services related to G apps which I don't use:
com.google.android.gms.drive.api.DriveAsyncService com.google.android.gms.fitness.sync.FitnessSyncAdapterService
com.google.android.gms.games.service.GamesSyncServiceMain
com.google.android.gms.games.service.GamesSyncServiceNotification
com.google.android.gms.drive.metadata.sync.syncadapter.MetadataSyncService
com.google.android.gms.plus.service.OfflineActionSyncAdapterService
com.google.android.location.reporting.service.ReportingSyncService
com.google.android.gms.kids.restrictions.sync.RestrictionsSyncService
com.google.android.gms.drive.metadata.sync.syncadapter.SyncAdapterService
com.google.android.gms.subscribedfeeds.SyncService com.google.android.gms.kids.timeouts.sync.TimeoutsSyncService
com.google.android.gms.fitness.wearables.WearableSyncService
and all services related to Google Drive.
But the above section i'm not sure which is useful, since I never seen these services active on my phone, also because I uninstalled a lot of g-apps (Drive, Games, Plus, Books, News, Music).
I will keep updated this discussion when/if I will encounter some trouble (eg I want to test Google Maps and the GPS).
Dude i got the same problem!! But i play quite a lot with my Mi4c so i sould care what i'm going to stop!
This thing is really annoying anyway :/
How did you uninstall them my ex synced our phones plus added things to spy but its not even letting me forcestop some of them what he has added and is remote using or bridgung....has able to see everything text messages phone calls my pictures everything. ..HELP PLEASE HELP
Hi! Does someone know, how to enable doze mode/battery optimization for GooglePlayServices app on latest Pie version?
I tried edit google.xml file, but it doesn't work for me on android 9. This "crap" eats my battery Any ideas? Thanks
Settings > Apps > See All Apps > Select 'Google Play Services' > Advanced > Battery.... It should be in that path.
However, I've been harping on this bug [1] we've caught which drains your battery rapidly if you have a Static IP configuration instead of DHCP configuration when using your Wi-Fi connection. It took quite a bit of narrowing it down but it's been replicated by a few people now [2].
[1] https://issuetracker.google.com/issues/112927337
[2] https://forum.xda-developers.com/pixel-2/help/battery-life-considerably-worse-update-t3827066
It is not wifi bug on my side and yes, you can turn battery optimization almost for all apps, but GMS are "protected". I want to find solution, how to evade this protection
I too am seeing very high battery drain from Google Play Services on 9.0. Pie won't let you enable battery optimization for that particular service/app. I've tried everything I know, including updating to the latest beta Google Play Services from APKMirror, to no avail. Anyone have any "creative" ideas how to limit Play Services' background processing?
Don't other apps leverage Google Play Services? So maybe it's some other app being over enthusiastic?
I don't think I'm seeing excessive consumption so it's not a universal problem (0.4 - 0.7% hr over night, and Google Play services showing as 16%, Phone Idle at 35%).
I found a solution:
Code:
https://forum.xda-developers.com/pixel-2/themes/mod-enable-doze-gms-pie-t3849093
Closed at OP's request.
Hi
So google play services is draining battery like no tomorrow on my Google Pixel.
I tried installing different mods from Magisk, but it keeps reverting back to 'not optimised' in battery settings, because of app administrations.
It seems that some alarms are keeping the device awake, with com.google.android.location.ALARM_WAKEUP_LOCATOR causing 105 wakeups.
Is there anything to do about this?