An app to solve SystemUpdateService wakelock problem on OxygenOS - ONE General

After flashing OxygenOS I noticed a major battery drain and there is always a SystemUpdateService wakelock stopping the phone from deep sleep. So I made all the commands into an app to make it simple.
It should work on other ROM or other devices with the same problem. However I can't test them all.
Direct download: View attachment disablesystemupdateservice-1.3-4.apk
Get it from Play Store: https://play.google.com/store/apps/details?id=me.swineson.disablesystemupdateservice
Github repo: https://github.com/Jamesits/DisableSystemUpdateService

Related

How to identify what app is using GPS (KitKat 4.4.2)

Hey,
From time to time when I use the phone it shows that GPS is working. It lasts for couple of seconds and I believe it doesn't drain battery.
Anyway, I'm curious is there any tool to identify what app is using GPS and how frequent in 4.4.2 KitKat. Previously GSAM did that - but after upgrading to 4.4.2 GSAM doesn't seem having this feature anymore.
Thanks,
GPS settings screen shows that Play Services uses my location. But why, what for and how often?
GSAM still works but you need to be rooted and have a particular xposed module running as otherwise it can't access the battery stats in KK. Module is called enable battery stats
Sent from my SM-N9005 using Tapatalk
apd said:
GSAM still works but you need to be rooted and have a particular xposed module running as otherwise it can't access the battery stats in KK. Module is called enable battery stats
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Cool, thanks! It works after installation of Root Companion.
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm.rootcompanion
Why does Google Play Services use my Location?
Location reporting is swiched off. Google+ location sharing is switched off as well.
GSam Labs - Battery Monitor - Export Data
Google Play services
Feb 9, 2014 11:09:20 AM
Usage Details
CPU Usage:52s
CPU Usage (Background Only):52s
Keep Awake:5m 3s
Number of Wake Locks:755
Number of times waking device:182
Bytes Sent:75.91 KB
Bytes Received:97.22 KB
GPS:3m 20s
Accelerometer:53s
Rotational Vector:9s
App UID:10070
Wakelock Detail
NlpCollectorWakeLock4.1m(23)
NlpWakeLock27.0s(159)
AlarmManager6.6s(49)
Event Log Service5.1s(17)
GCM_CONN4.1s(91)
Icing3.2s(9)
GCM_CONN_ALARM2.5s(17)
Checkin Service1.4s(35)
UlrDispatchingService1.4s(3)
GCM_HB_ALARM1.1s(31)
LocationManagerService0.9s(151)
NlpLocationReceiverService0.7s(103)
Event Log Handoff0.6s(17)
GOOGLE_C2DM0.4s(4)
Checkin Handoff0.3s(35)
GeofencerStateMachine0.0s(11)
Included Packages
Google Account Manager
Google Services Framework
Google Contacts Sync
Google Play services
Google Backup Transport
Included Processes
com.google.android.gsf.login
com.google.process.gapps
com.google.process.location
*wakelock*
com.google.android.gms​

copresGcore_EventLoop wakelock eating battery

Hello sinc the past few days I'm having this wakelock eating my battery. I tried to research what it is with very little success. I updated my rom to the latest slimkat and gapps with little success. Anybody had the same problem? Thank you
Same here
getting the same , keep awake solid 100% by this Google play services wake lock, any ideas on how to stop it would be greatly appreciated.
Fixed my problem with copresGcore_eventloop
Ok, so awhile back I followed some tweaks to Google play services to save battery drain, see this link
http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525
Which worked rather well, but since the latest Google play services update went in I started getting the 'no deep sleep/keep awake' issue that BBS and GSAM showed as being caused by copresGcore_eventloop .
What I did was just reverse the tweaks in android tuner , and also removed my Google account and added it back and then rebooted. This has fixed my issue with copresGcore_eventloop .
I have not yet had time to see if reapplying the tweaks would start the issues again but likely will try that soon and will try to post back results.
jk8260 said:
Ok, so awhile back I followed some tweaks to Google play services to save battery drain, see this link
http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525
Which worked rather well, but since the latest Google play services update went in I started getting the 'no deep sleep/keep awake' issue that BBS and GSAM showed as being caused by copresGcore_eventloop .
What I did was just reverse the tweaks in android tuner , and also removed my Google account and added it back and then rebooted. This has fixed my issue with copresGcore_eventloop .
I have not yet had time to see if reapplying the tweaks would start the issues again but likely will try that soon and will try to post back results.
Click to expand...
Click to collapse
you mean that you kept all the services as default including location services etc? and not getting nlplocation wakelocks?
Thank you
Correct it no long even appears on my list of play services wake locks and my device is deep sleeping again.
jk8260 said:
Correct it no long even appears on my list of play services wake locks and my device is deep sleeping again.
Click to expand...
Click to collapse
I will give it a try, thank you
jk8260 said:
Ok, so awhile back I followed some tweaks to Google play services to save battery drain, see this link
http://forum.xda-developers.com/oneplus-one/general/guide-google-play-services-battery-t2832525
Which worked rather well, but since the latest Google play services update went in I started getting the 'no deep sleep/keep awake' issue that BBS and GSAM showed as being caused by copresGcore_eventloop .
What I did was just reverse the tweaks in android tuner , and also removed my Google account and added it back and then rebooted. This has fixed my issue with copresGcore_eventloop .
I have not yet had time to see if reapplying the tweaks would start the issues again but likely will try that soon and will try to post back results.
Click to expand...
Click to collapse
Hi. How did you "remove your Google account"?
anyone know how to fix this?
im still getting copresGcore_eventloop in reported in BBS for extended periods of time
jk8260 said:
Which worked rather well, but since the latest Google play services update went in I started getting the 'no deep sleep/keep awake' issue that BBS and GSAM showed as being caused by copresGcore_eventloop .
Click to expand...
Click to collapse
After disabling some services I saw this wakelock today as well for the first time.
To fix the problem it was enough to re-enable
Code:
com.google.android.location.reporting.service.PreferenceService
Wow! Was it a magic?
sevenrock said:
To fix the problem it was enough to re-enable
Code:
com.google.android.location.reporting.service.PreferenceService
Click to expand...
Click to collapse
I have a whole bunch of disabled location-related services (cause I need GPS but don't need all other location facilities). But this service was THE one! After reenabling it abnormal wakelocks are gone! Thank you very much!
Kirrrr said:
I have a whole bunch of disabled location-related services (cause I need GPS but don't need all other location facilities). But this service was THE one! After reenabling it abnormal wakelocks are gone! Thank you very much!
Click to expand...
Click to collapse
Could you please post your list of disabled services? I am not sure which
services to disable in order to get rid of the network location stuff, I also
need only GPS via satellite.
sevenrock said:
Could you please post your list of disabled services?
Click to expand...
Click to collapse
Here is it (via ol' good Disable Service):
Code:
In [B]Google Services Framework[/B]:
com.google.android.gsf.checkin.CheckinService
com.google.android.gsf.checkin.EventLogService
In [B]Google Play Services[/B]:
com.google.android.location.reporting.service.DeleteHistoryService
com.google.android.location.reporting.service.DispatchingService
com.google.android.location.fused.FusedLocationService
com.google.android.location.reporting.service.InitializerService
com.google.android.location.reporting.service.LocationHistoryInjectorService
com.google.android.location.reporting.LocationReportingService
com.google.android.location.places.PlaylogService
com.google.android.gms.gcm.ProxyGTalkService
com.google.android.location.reporting.service.ReportingAndroidService
com.google.android.location.reporting.service.ReportingSyncService
com.google.android.gms.subscribedfeeds.SyncService
[STRIKE]com.google.android.gms.update.SystemUpdateService[/STRIKE] (UPD at June 2015: do NOT disable this service, with new version of Google Framework it leads to not sleeping system)
com.google.android.gms.wearable.service.WearableService
It is a full list of Google services disabled on my system (Xperia Ray SJB8 CM10). Probably, some of them aren't disabled by me but by some software due to appropriate settings.
Obviously, I do not recommend in any way to do such hacks on other systems. It is just my weird brutal parascientific experience. Kekeke.
What app is everyone using to disable these services? Thanks
Sent from my Nexus 6 using Xparent Blue Tapatalk 2
treIII said:
What app is everyone using to disable these services? Thanks
Click to expand...
Click to collapse
Disable Service =)
Kirrrr said:
Disable Service =)
Click to expand...
Click to collapse
Thanks. Nice app for such reason.
Sent from my Nexus 6 using Xparent Blue Tapatalk 2
I saw copresGcore_Eventloop wakelock in BBS. I then saw under Settings > Battery represented as Google Play Services. I then experimented with Greenify, DisableServices and using Titanium Pro to freeze apps following the link provided in the first few posts of this thread. All were very interesting but caused notifications about problems with Google Play Services. I'm on 4.4.2 and stumbled across App Ops in System Settings. I tapped on Google Play Services and unchecked a bunch of elements I don't use and it now doesn't appear on the list in battery. I have two google accounts, one is only used to share Google Play Music with my wife. I unchecked all the boxes on that account. I think there is a bug relating to having two google accounts.
Disclosure: this is on a Verizon Galaxy Note II running 4.4.2 Alliance ROM 30

[SHARE][SCRIPT] [GUIDE] Google Play Services Battery Drain Fix/Workaround

Just found this on nexus 5 forum, I try it and it works perfect!!
Read here​
All thanx to @Alcolawl
I just share it for all Moto X owners!
ah ha! I knew it. on the previous few ROMs I had excessive battery drain whereby the device would not go to sleep b/c of this. nice find!
Agreed, very nice find. I was super frustrated with my phone's recent battery life (<12 hrs). Trying to disable wakelocks didn't fix anything. This script worked and my battery life is much better now.
Thanks!
How to verify whether this is merged with moto X and available in the normal cm 12 for ghost
Does this inhibit google play services at all? Like syncing and backing up and android device manager etc?
And also does it work on CM12.1 with GPlay Services 7.3.27
And also I found this
Now I trying it...
The latest version of Google Play Services fixed the wakelock/battery drain bug. It's on www.apkmirror.com

MM Battery Drain investigation - Your list of apps installed

For those of you who have battery drain and overheat issues on MM, could you post your list of apps and maybe we could see what apps are causing the issue (exported from Titanium Backup)? Mine is as follows:
AdAway 3.1 (org.adaway)
All in one Gestures 5.5.2 (com.phoenixstudios.aiogestures)
Amazing Candy 1.2.9 (com.mozgame.amazingcandy)
Amazon Shopping 6.1.4.100 (com.amazon.mShop.android.shopping)
Android Wear 1.4.0.2462440.gms (com.google.android.wearable.app)
Blossom Blast Saga 1.1.1 (com.king.blossomblast)
BofA 6.4.8 (com.infonow.bofa)
Candy Crush Saga 1.65.0.2 (com.king.candycrushsaga)
Candy Crush Soda 1.55.15 (com.king.candycrushsodasaga)
Cartwheel 2.0.1 (com.target.socsav)
Chrome 47.0.2526.76 (com.android.chrome)
Chromecast 1.12.32 (com.google.android.apps.chromecast.app)
Command Center 2.1.0 (com.motorola.commandcenter)
CR Archive 1.2.13 (com.cri.archive)
Drive 2.3.474.20.40 (com.google.android.apps.docs)
ES File Explorer 4.0.3.1 (com.estrongs.android.pop)
Facebook 56.0.0.23.68 (com.facebook.katana)
FolderSync 2.8.3.59 (dk.tacit.android.foldersync.lite)
Gmail 5.8.107203005.release (com.google.android.gm)
Google Text-to-speech Engine 3.7.12.2235583.arm.arm_neon (com.google.android.tts)
Google+ 6.8.0.107974459 (com.google.android.apps.plus)
GoToMeeting 5.2.2.1337 (com.citrixonline.android.gotomeeting)
GSam Battery Monitor 3.26 (com.gsamlabs.bbm)
Hangouts 6.0.107278502 (com.google.android.talk)
Keep 3.2.444.0 (com.google.android.keep)
KeePassDroid 2.0.3 (com.android.keepass)
Messenger 50.0.0.11.67 (com.facebook.orca)
MX Player 1.7.40 (com.mxtech.videoplayer.ad)
News & Weather 2.5.2 (105241914) (com.google.android.apps.genie.geniewidget)
Nova Launcher 4.2.0-beta7 (com.teslacoilsw.launcher)
Nova Launcher Prime D (com.teslacoilsw.launcher.prime)
Percent Enabler 1.1 (b15) (de.kroegerama.android4batpercent)
PhotoWall Live Wallpaper 1.45 (com.larvalabs.photowall)
Scores Keeper 2.2.1 (org.bbt.scores3)
Slumber 1.2 (com.janderson.slumber)
SwipePad 0.9.19 (mobi.conduction.swipepad.android)
Swype + Dragon 2.0.2.2000200.39828 (com.nuance.swype.dtc)
T-Mobile My Account 4.6.4.6 (com.tmobile.pr.mytmobile)
TalkBack 4.3.1 (com.google.android.marvin.talkback)
TeamViewer 11.0.4376 (com.teamviewer.teamviewer.market.mobile)
Titanium Backup PRO 1.3.0 (com.keramidas.TitaniumBackupPro)
Toyota Entune 1.17.431.55-3515552-release430 (com.tweddle.toyota.entune)
Videoder 9.0.0 (com.rahul.videoder)
Videoder Beta 10.0.3 beta (com.rahul.videoderbeta)
Visual Voicemail 5.13.0.51265 (com.tmobile.vvm.application)
WatchMaker Premium 3.9.5 (slide.watchFrenzy.premium)
Waze 3.9.7.0 (com.waze)
WhatsApp 2.12.367 (com.whatsapp)
YouTube 10.43.60 (com.google.android.youtube)
I can't believe this, this is incredibly horrible. I can't even name all of my apps right now because I'm afraid the length of the list is going to kill my battery more. Please someone help with this drain? I have 3 hours on a 61% battery.
Other than my device heating up during full gpu usage during game, I don't have battery/heating issue. My experience since OTA so far is that MM runs cooler and battery life has improved (not significant but in positive gain). Brave frontier game will heat up your device fast.
Sent from my XT1575 using XDA Free mobile app
Xposed v23 arm64 causes massive battery drain like 1% loss every minute, and also heating issues upto 46°C, i used gravity box, snapprefs only, but without them, it was still draining.
I might try the safe mode way to identify the problematic app(s)... when I go on holidays next week.
iprabhsingh said:
Xposed v23 arm64 causes massive battery drain like 1% loss every minute, and also heating issues upto 46°C, i used gravity box, snapprefs only, but without them, it was still draining.
Click to expand...
Click to collapse
Just reinstalled xposed yesterday after my upgrade earlier this week. Last night/today my phone suddenly started rebooting itself. Might be related to greenify on my end. Going to uninstall xposed, as I think it might be related.
agates said:
Just reinstalled xposed yesterday after my upgrade earlier this week. Last night/today my phone suddenly started rebooting itself. Might be related to greenify on my end. Going to uninstall xposed, as I think it might be related.
Click to expand...
Click to collapse
All good so far. 18 hours of standby with 48% remaining.
agates said:
Just reinstalled xposed yesterday after my upgrade earlier this week. Last night/today my phone suddenly started rebooting itself. Might be related to greenify on my end. Going to uninstall xposed, as I think it might be related.
Click to expand...
Click to collapse
Greenify's GCM Notification functionality is culprit for the reboots. Unchecked it and there will be no more random reboots
gulshanstrider said:
Greenify's GCM Notification functionality is culprit for the reboots. Unchecked it and there will be no more random reboots
Click to expand...
Click to collapse
Strange... that's the whole reason to use it. At least it used to be. *sigh*

Wakelock Detector app (not rooted)

Hi all! I have been experiencing unexplained battery drain with Android OS, Android System and Google Play Services in top 3 along with Screen. I need some app to detect which app/service is causing the Wakelocks so that I can take action. I cannot root due to restrictions on my corporate apps and they will stop working after root, which doesn't help. So I am looking for some app which can show wakelocks when I am not rooted.
Previously on Nexus 5 I had used 'Wakelock Detector' app, which had ADB workaround to make the app work even if your are not rooted. But unfortunately after Marshmallow update it stopped working.
BR//Sumit
Thanks
sumit0110 said:
Hi all! I have been experiencing unexplained battery drain with Android OS, Android System and Google Play Services in top 3 along with Screen. I need some app to detect which app/service is causing the Wakelocks so that I can take action. I cannot root due to restrictions on my corporate apps and they will stop working after root, which doesn't help. So I am looking for some app which can show wakelocks when I am not rooted.
Previously on Nexus 5 I had used 'Wakelock Detector' app, which had ADB workaround to make the app work even if your are not rooted. But unfortunately after Marshmallow update it stopped working.
BR//Sumit
Click to expand...
Click to collapse
you may try this-
ww.teamandroid.com/2012/07/30/how-to-set-up-adb-fastboot-with-android-sdk/2/[/url]
Wakelock Detector works fine for me

Categories

Resources