Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Systemupdateservice Wakelock On Cm11 M7 (Massive Battery Drain)
#1
Posted 01 July 2014 - 04:48 PM
This morning when I woke up I've noticed there has been a massive battery drain on my phone. A quick look through BetterBatteryStats showed it was the infamous wakelock SystemUpdateService, part of the Google Play services.
I tried rebooting numerous times, the wakelock kept coming up straight after boot.
I tried using Disable Services app, to my surprise this wakelock was already ticked off and disabled, yet still working on my phone's background!
I tried doing the same with Autorun Manager app, same thing - SystemUpdateService is disabled, yet still running.
I have no idea what else to try. I haven't installed anything new lately, haven't tweaked anything on the phone, nothing I can think of that would cause it.
Any thoughts or tips would be mostly appreciated, my phone didn't go into deep sleep even for 1second in the last 18 hours.
Something that came up to my mind right now though - could it be an issue maybe with Google releasing android's update 4.4.4 OTA? And for some reason my CM phone tries to connect to the Google update services constantly?
#2
Posted 01 July 2014 - 05:43 PM
As stated there too, I'm experiencing the exact same problem you described on my Nexus 4 device, just like OP.
If anyone needs any more information, I'll try to deliver asap.
#3
Posted 01 July 2014 - 06:21 PM
I've tried using built-in Apps Ops to remove "keep device awake" and "location access" from Google Search.
I've also tried Greenifying Google Play Services, turning off Location Reporting/History in Google Now, and rebooting several times.
On Wakelock Detector, it has triggered the phone to awake ~80% of the time.
#4
Posted 02 July 2014 - 05:31 AM
So just trying stuff without any deeper thoughts, I just did two things, locked the phone afterwards and now the wakelock seems to be gone:
1. I enabled SystemUpdateService using Disable Service App, which had already been disabled when we first looked.
2. I looked into the CM update function, where - having selected all stable releases - nothing was showing and refreshing didn't work. Got the idea to look into Disable Service App again, and found that UpdateCheckService of CyanogenMod-Updater was disabled. Enabled it, refreshed CM updater, got a list of stable releases.
My beginner's guess would be #1 did it - but why was #2 even an issue in the first place?
#5
Posted 02 July 2014 - 08:42 AM
I used Disable Service app and enabled SystemUpdateService both under Google Play Services and Google Services Framwork (like I said before, both were ticked off and disabled).
I also checked the Cyanogenmod-Updater but everything there was enabled for me, and the updater seemed to work fine. Didn't touch that one, it doesn't seem to be related to the issue.
Anyway - straight after I enabled SystemUpdateService I noticed my phone could finally get into deep sleep mode. I've made a reboot and strange thing is that right after that, I see SystemUpdateService back on and kicking. The service popped up again on my wakelock list. I went through Disable Service again and to my surprise the service was disabled again (ticked off), and I enabled it just a moment before. Apparently a reboot kicks the phone back and re-disables the SystemUpdateService.
To conclude things I've no idea what's up with this whole SystemUpdateService issue all the sudden, but apparently enabling the services through Disable Service fixes the problem temporarily (until the next reboot) and allows the phone to go into deep sleep finally.
#6
Posted 02 July 2014 - 09:28 AM
Is enabling SystemUpdateService a workaround for some other issue, or is SystemUpdateService getting disabled the issue?
#7
Posted 02 July 2014 - 10:17 AM
Although what's funny here is that since about the 30th of June/ July 1st, this service kept coming up even though it is disabled. So I'm guessing something strange is happening here with this service and maybe the new updates Google has been releasing lately.
I'm sure enabling the service that is supposed to actually be disabled is merely a random temporary fix for this (especially when you need to apply that on every reboot you make). It's contradictory since this very specific service needs to be disabled to AVOID that same problem in the first place.
#8
Posted 02 July 2014 - 01:24 PM
#9
Posted 02 July 2014 - 01:59 PM
slybunda, on 02 July 2014 - 01:24 PM, said:
http://forum.xda-dev...&postcount=5031
#10
Posted 02 July 2014 - 02:00 PM
In any way though if you downgrade let us know what are your conclusions, I'm still only speculating as it seems not too many people are experiencing these issues.
#11
Posted 02 July 2014 - 02:08 PM
Sinvany, on 02 July 2014 - 02:00 PM, said:
In any way though if you downgrade let us know what are your conclusions, I'm still only speculating as it seems not too many people are experiencing these issues.
right. it's a new ota update service that was added in a recent Google Play Services update. Here's is the fix where cm blocks this new service. It's already in the nightlies http://review.cyanog....org/#/c/66894/
but if you are on m7 and dont want to use nightlies, you'll have to wait till m8 comes out to get the fix. But in the mean time, you can disable the services by following the instructions in the xda link i posted earlier, a couple posts up
Edited by razorloves, 02 July 2014 - 02:09 PM.
#12
Posted 02 July 2014 - 02:18 PM
#13
Posted 02 July 2014 - 02:30 PM
slybunda, on 02 July 2014 - 02:18 PM, said:
yes. if you look at the link i posted, it shows the fix was merged on the 29th. So, any official nightly after that will have it. And i've seen numerous people confirming that it's fixed with the new nightlies.
#14
Posted 02 July 2014 - 02:43 PM
#15
Posted 02 July 2014 - 02:44 PM
brilliant thanks for this info razorloves, i will update to new nightly since its less faffing around, and new milestone M8 might even be out for next week.
#16
Posted 02 July 2014 - 02:47 PM
#17
Posted 04 July 2014 - 04:28 AM
WLD says the phone is awake 98% of the time. And lists Google Search as the top Wakeup offender: even if the phone is in airplane mode, even if Location services are off, even if Google Now is disabled. The worst kernel offenders are msm_hsic_host (6 minutes), radio-interface (3 minutes), and main (1 minute), in a total time since battery stats reset of 1 hour. Yet Settings > Battery shows the worst offender as Google Play Services 82%, and when I click on it it says "Keep awake 1h 10m" which is the current uptime of the phone. So, basically it's not sleeping but I can't tell what's keeping it up.
So if I have the same problem reported here, great, I'll check out the xda link and see about manually fixing this to tied me over for M8; unless someone tells me I can definitely apply a Nightly and not have to do the /data and cache erase, I'd rather not mess around with rebuilding my phone since M8 is probably due in 3-6 days anyway.
#18
Posted 04 July 2014 - 06:47 AM
Cheers
#19
Posted 04 July 2014 - 01:30 PM
Xristofer, if you have the same issue as we do with the SystemUpdateService no need to go look through the XDA forums everything is written here - Just use the Disable Servie app. Under Google Play services and Google Services Framework you'll see SystemUpdateService ticked off. Tick it back on and that's it, shouldn't bother you anymore.
#20
Posted 05 July 2014 - 11:00 AM



- Ireland
- Germany
- Canada
- United Kingdom
- United States
- Guyana







