40% Drained by andriod.gms - Nexus 5 Q&A, Help & Troubleshooting

Attached images from BBS and andriod battery stats, how to fix/prevent this ?

Doesn't look so bad. Have you googled android.gms

That process is the generic name for all Google Play Services. Could be any number of reasons why it is doing that from location services to a sensor continuously getting polled.
Go into BBS and check the exact name of the wakelock.

jd1639 said:
Doesn't look so bad. Have you googled android.gms
Click to expand...
Click to collapse
So a 40% drain over 10hrs is not bad?

skusa93 said:
That process is the generic name for all Google Play Services. Could be any number of reasons why it is doing that from location services to a sensor continuously getting polled.
Go into BBS and check the exact name of the wakelock.
Click to expand...
Click to collapse
Those are the BBS screens posted

EarlZ said:
Those are the BBS screens posted
Click to expand...
Click to collapse
You're wake locks are not bad. Your phone idle is killing you. Follow up on what's causing that

EarlZ said:
Those are the BBS screens posted
Click to expand...
Click to collapse
From the Alarms section (the one you posted) click on the "com.google.android.gms" line.
This should bring up another window with the actual name of the wakelocks and how many times each one occurred.

skusa93 said:
From the Alarms section (the one you posted) click on the "com.google.android.gms" line.
This should bring up another window with the actual name of the wakelocks and how many times each one occurred.
Click to expand...
Click to collapse
Have a look please :angel:

EarlZ said:
Have a look please :angel:
Click to expand...
Click to collapse
GCM is Google Cloud Messaging. But honestly that's all I've got. I've never even heard of the service. It is some kind of push service that requires a server and configuration of the phone. No clue why your phone is trying to connect to a server though unless you set it up.

skusa93 said:
GCM is Google Cloud Messaging. But honestly that's all I've got. I've never even heard of the service. It is some kind of push service that requires a server and configuration of the phone. No clue why your phone is trying to connect to a server though unless you set it up.
Click to expand...
Click to collapse
I didnt configure anything for that, I dont even know what that is.

EarlZ said:
I didnt configure anything for that, I dont even know what that is.
Click to expand...
Click to collapse
Same, maybe try deleting your Google account. Or do a fresh install.

What rom are you using? I've been having the same problem in my missus' phone running cm11
Sent from my Nexus 5 using Tapatalk

Nearly similar here
I've tried to disable the Location Service at all but still the phone remains on "Remain Active" without never rest, anyway it's very strange because some days ago I've never had of this problem, could be a PA gapp issue or ROM?

Ben36 said:
What rom are you using? I've been having the same problem in my missus' phone running cm11
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Stock rom

Solved!
Try to update Google Play Service from this link, reboot and fully recharge.
https://play.google.com/store/apps/...dium=organic&utm_term=google+play+service+apk
-Tapatalked with Nexus5-

Good that yo solved it, mine is still recurring..

Options:
1. Assuming data and wifi are already off, try turning of the sync too. Turn off Location reporting, open google maps, log out your google account there. If your problem still occurs, check other options.
2. Other option if you have donate version of greenify, just greenify it.
3. Other option is using android tuner, you can disable gcm manually, more info on link
http://forum.xda-developers.com/showpost.php?p=47177180&postcount=20256

Related

[Q] Why is my phone using 3MB of bandwidth while idle?

So, I realized that my SABnzbd downloads had slowed down substantially, and when I looked into the reason, it seems my phone is using about 3MB of bandwidth while sitting and doing nothing.
I uninstalled a few apps I thought might be responsible, and restarted the phone. I've not touched it since it booted up, and my router shows me that I'm currently using 375KB/s on this phone.
I have no idea what could be doing this, but it seriously concerns me.
I'm running Purity ROM, and will soon factory reset and try a different ROM, but thought I would ask about this before I do anything else.
Ideas/thoughts?
Go into WiFi advanced settings and turn off scanning. You could also turn WiFi off when screen is off. I just turned off scanning. PS it helps save power while idle
Sent from my Nexus 5
whozilla said:
Go into WiFi advanced settings and turn off scanning. You could also turn WiFi off when screen is off. I just turned off scanning. PS it helps save power while idle
Sent from my Nexus 5
Click to expand...
Click to collapse
Even if the phone wifi is 'scanning' for a signal (it's actually connected, so it's not scanning for anything), it should not be actively downloading at almost 375 KB/s. It should not be downloading anything.
What else could it be?
JustinChase said:
Even if the phone wifi is 'scanning' for a signal (it's actually connected, so it's not scanning for anything), it should not be actively downloading at almost 375 KB/s. It should not be downloading anything.
What else could it be?
Click to expand...
Click to collapse
Is it a one time event or does it continues all the time? If it's a one file event it's probably simmering syncing.
jd1639 said:
Is it a one time event or does it continues all the time? If it's a one file event it's probably simmering syncing.
Click to expand...
Click to collapse
Whenever the phone is on, for the last few days. I suspect it's an app causing it, but I can't find any indication of which one. I think I'm going to wipe and install fresh, and probably try another ROM for a while. I'll install apps one at a time until/if the situation happens again.
There are apps to check data usage of each app. Can't name one. Never needed them. I always just accepted its the NSA and I try to stay away from my phone while in ze nude, as our German friends would put it.
Sent from my Nexus 5
JustinChase said:
Whenever the phone is on, for the last few days. I suspect it's an app causing it, but I can't find any indication of which one. I think I'm going to wipe and install fresh, and probably try another ROM for a while. I'll install apps one at a time until/if the situation happens again.
Click to expand...
Click to collapse
That's what I'd do to. But I'm a little paranoid when stuff like that happens
Install this to find out what app is causing it. I'm betting one of the google apps. Play services loves to use data for no reason.
My Data Manager
theesotericone said:
Install this to find out what app is causing it. I'm betting one of the google apps. Play services loves to use data for no reason.
My Data Manager
Click to expand...
Click to collapse
Thanks. That's telling me "Downloads" has used 66MB since being installed 4 minutes ago.
I'm not intentionally downloading anything, and when I checked the Play store, it doesn't seem to be downloading anything either. When I checked the downloads folder, there is one jpg (623KB) and the Amazon app store apk (4.99MB), and both have been there for weeks.
There is nothing else in this folder, nor any other indication of what is causing "Downloads" to be downloading. In the 2 minutes it's taken to write this, the amount has risen to 124MB, which is 98.1% of what's been dowloaded.
Very weird to me.
So the app is using DL's. DL's doesn't do anything by itself that I've ever seen. Try force stopping it then freezing it. That might make the app show up that's causing the issue. Might being the key word here. Weird indeed.
Wifi
Please Restore Your Wifi Setting..

[Q] Wifi & network location unavailable after switching location off & on again

[Q] Wifi & network location unavailable after switching location off & on again
Hi there,
I found this strange but reproduceable bug on my N5's location services and was wondering if it's the same for you.
Turn off location via settings or quick settings
Turn it back on
You'll be asked to accept Google location terms
Switch to battery saving mode (only wifi & network, no GPS)
After these steps, my N5 cannot find it's location via Wifi & mobile network anymore. In Maps it might still show the blue dot but moving around it won't update. When using any other app which will try to get a fresh location it's a no go. Like Google+, try and make a post with location, no joy.
I have to reboot to get it working again.
Did you agree to those Google terms? If not that's the reason...
cawith said:
Did you agree to those Google terms? If not that's the reason...
Click to expand...
Click to collapse
I agreed to those of course. If you cancel that it will turn back to device (GPS) only
Sander M said:
I agreed to those of course. If you cancel that it will turn back to device (GPS) only
Click to expand...
Click to collapse
Strange. Are you running stock ROM? I had no problem doing the thing you described.
cawith said:
Strange. Are you running stock ROM? I had no problem doing the thing you described.
Click to expand...
Click to collapse
Just got it 2 weeks ago, all is stock, locked and original.
Did you try any other app besides Maps? That sometimes uses last known location and shows blue icon.
Sander M said:
Just got it 2 weeks ago, all is stock, locked and original.
Did you try any other app besides Maps? That sometimes uses last known location and shows blue icon.
Click to expand...
Click to collapse
You're right, mine also won't find my position without GPS. However a reboot fixes it for me.
Somewhat glad to see others having this bug too. Indeed a reboot fixes it right up so it's not a huge deal.
Under normal circumstances I would't change this setting ever, but when I just got my N5 I wanted to test the GPS only feature. After turning it back to Battery saver I noticed and started investigating what caused it.
Thanks for testing mate!
Sander M said:
Somewhat glad to see others having this bug too. Indeed a reboot fixes it right up so it's not a huge deal.
Under normal circumstances I would't change this setting ever, but when I just got my N5 I wanted to test the GPS only feature. After turning it back to Battery saver I noticed and started investigating what caused it.
Thanks for testing mate!
Click to expand...
Click to collapse
No problem. I'm glad also to be aware of it now, so that I can avoid standing somewhere I need and it won't find it
Anyone else willing to try this? The N5 from a friend of mine did not show this behavior. And another did. Weird bug.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
I have the problem on my 16 GB black nexus 5 with stock Rom and no root. I tested with dalvik and art but the problem exist. I have found 3 solutions:
1- reboot phone (temporary solution)
2- stop Google Play Services (temporary solution)
3- uninstall updates of Google Play Services use with stock/no update (permanent solution)
one more thing; when I can't get a location fix with network/wireless GPS mode on Google Maps or any other application, I can see a circle on " Yandex Navigation" that shows my location.
but more interesting thing is I can see a circle that shows my location on Yandex Navigation when my GPS is completely off.
I think this problem is about Google Play Services or Google Location Services. I hope someone find a solution.
ymeksur said:
I have the problem on my 16 GB black nexus 5 with stock Rom and no root. I tested with dalvik and art but the problem exist. I have found 3 solutions:
1- reboot phone (temporary solution)
2- stop Google Play Services (temporary solution)
3- uninstall updates of Google Play Services use with stock/no update (permanent solution)
one more thing; when I can't get a location fix with network/wireless GPS mode on Google Maps or any other application, I can see a circle on " Yandex Navigation" that shows my location.
but more interesting thing is I can see a circle that shows my location on Yandex Navigation when my GPS is completely off.
I think this problem is about Google Play Services or Google Location Services. I hope someone find a solution.
Click to expand...
Click to collapse
Thanks for your (rigorous :good tests.
Reboot was the one I used to fix it, didn't know about the others you found.
In a strange way glad to see it's a software bug, which means it's fixable. I guess the friend I mentioned has not updated the Play services ever, that would explain why he is not affected.
happens to me as well on a Nexus 7 (2013). I've found that battery drains faster even when in deep sleep
Me and my colleague also have this issue...
Completely wiped and factory reset to stock, same prob.
Reboot solves it until you turn location services off and on again, or go from "device only" mode to "battery saving".
A quicker way then reboot (reboot actually does the same as this step) is go to settings, apps, running, Google Services (you might have 2), there STOP the GoogleLocationService (it will stop and reload the service)
Location should work again in battery saving mode...
Thanks for that one Foggy79!
Reboot or restarting the google play services takes much longer (especially when you have to disable ADM first) then your trick of only stopping the only location service.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Sander M said:
Thanks for that one Foggy79!
Reboot or restarting the google play services takes much longer (especially when you have to disable ADM first) then your trick of only stopping the only location service.
Verstuurd vanaf mijn Nexus 5 met Tapatalk
Click to expand...
Click to collapse
No problem.
I just reproduced the issue on an other colleague's N5, that makes 3 ppl here in the office, can't be coincidence.
If the GoogleLocationService could restart automatically when you turn on "Location" and agree the terms, that would be great...
Foggy79 said:
No problem.
I just reproduced the issue on an other colleague's N5, that makes 3 ppl here in the office, can't be coincidence.
If the GoogleLocationService could restart automatically when you turn on "Location" and agree the terms, that would be great...
Click to expand...
Click to collapse
It appears the issue is fixed for me.
I have Google Play services 4.3.24 so it might be fixed behind our backs.
Now when you turn the location off and on again, the GoogleLocationService is automaticly restarted also
Fixed for me as well with the new Google Play Services!
The new version now indeed restarts the LocationService again.
I'm glad Google also reads XDA (j/k)
Now if they can get GoogleLocationsManager and NlpLocationsReciever to stop running when Locations Services are turned off completely, that'd be great.
Sent from my Nexus 5 using Tapatalk

Lollipop Battery Chart WiFi always on

I thought I'd start this thread to raise awareness and stop some confusion. It looks like there is a bug in Android Lollipop where under certain circumstances, the battery chart/graph always shows WiFi was on even though it was switched off. This is with "scanning always available" set to OFF of course.
A google code bug has been submitted for this: https://code.google.com/p/android/issues/detail?id=81501&colspec=ID Type Status Owner Summary Stars
What I've found reproduces the problem:
1) Make sure "WiFi scanning always available" is OFF.
2) Connect to a WiFi access point.
3) Physically leave that area of the access point so that the WiFi disconnects because you've gone out of range.
4) Disable WiFi from the settings.
5) Observe the battery chart will continue to show WiFi on, forever, until you re-enable WiFi, reconnect to another WiFi access point, and then disable WiFi.
This hasn't been fixed in 5.1 :'(
No issue here and I manage my WiFi manually. So my question is: do you manually manage your WiFi or do you use an app or a rom feature based on profiles, hours,...?
Primokorn said:
No issue here and I manage my WiFi manually. So my question is: do you manually manage your WiFi or do you use an app or a rom feature based on profiles, hours,...?
Click to expand...
Click to collapse
I do use an app to do it, but that's besides the point, I'm able to reproduce this manually. Did you follow the steps I posted in the first post?
Flyview said:
I do use an app to do it, but that's besides the point, I'm able to reproduce this manually. Did you follow the steps I posted in the first post?
Click to expand...
Click to collapse
I can't for now but I'll test later.
@Flyview likewise...
Primokorn said:
@Flyview likewise...
Click to expand...
Click to collapse
Hmm?
Flyview said:
Hmm?
Click to expand...
Click to collapse
I have the same bug after following the above steps.
Primokorn said:
I have the same bug after following the above steps.
Click to expand...
Click to collapse
Thanks for confirming. Yea pretty annoying how they won't fix such simple bugs, thought for sure this would be gone in 5.1.
Sent from my Nexus 5
Yeup it's a visual glitch with the battery graph. As OP said it only happens if you disable the WiFi once leaving the WiFi network area, if you disable it while still connected it shows as off properly in the graph.
Any fix has been found for this bug? Because I'm on Chroma 5.1.1 and this still occurs.
Renton91 said:
Any fix has been found for this bug? Because I'm on Chroma 5.1.1 and this still occurs.
Click to expand...
Click to collapse
Still a problem for me on stock 5.1.1

Android OS Data Usage

Hello, so over the past month I've noticed a huge spike in data usage and it's from Android OS. I've used 1.08 gigs in about 3 weeks. Anyone else having similar issues? No new apps installed. Running the latest version. Hope someone can shed some light on this for me!
Thanks.
lespaul0143 said:
Hello, so over the past month I've noticed a huge spike in data usage and it's from Android OS. I've used 1.08 gigs in about 3 weeks. Anyone else having similar issues? No new apps installed. Running the latest version. Hope someone can shed some light on this for me!
Thanks.
Click to expand...
Click to collapse
Go into settings and then Data and tap more in the upper right hand corner and restrict the background data on apps that you don't use.. I pretty much have everything restricted because when I open it the data will work fine in the foreground just not in the background after it's closed. Saves me a lot of data!
MrMike2182 said:
Go into settings and then Data and tap more in the upper right hand corner and restrict the background data on apps that you don't use.. I pretty much have everything restricted because when I open it the data will work fine in the foreground just not in the background after it's closed. Saves me a lot of data!
Click to expand...
Click to collapse
If I restrict all background data will I still receive notifications for email, messages, Facebook messages, hangouts, etc...? And I can't restrict background data for Android OS. It's grayed out.
lespaul0143 said:
If I restrict all background data will I still receive notifications for email, messages, Facebook messages, hangouts, etc...? And I can't restrict background data for Android OS. It's grayed out.
Click to expand...
Click to collapse
No don't restrict all of it or you won't get the notifications just do as many as you can that you don't use so it stops using data when you aren't using them.
MrMike2182 said:
No don't restrict all of it or you won't get the notifications just do as many as you can that you don't use so it stops using data when you aren't using them.
Click to expand...
Click to collapse
Okay. But do those apps fall under Android OS? I already have background data turned off for just about everything.
lespaul0143 said:
Okay. But do those apps fall under Android OS? I already have background data turned off for just about everything.
Click to expand...
Click to collapse
Yes they do... What model phone do you have? Verizon? Because when I updated to MM 6.0 it was draining the battery in less than 2 hours of screen on time and killing my data and I wasn't about to accept that so I downgraded back to Lollipop! I get a good 8 to 12 hours of screen on time now. I do think the only way to fix the battery problem when updating is to factory reset the device first so there's absolutely nothing on it and then update to MM 6.0..
MrMike2182 said:
Yes they do... What model phone do you have? Verizon? Because when I updated to MM 6.0 it was draining the battery in less than 2 hours of screen on time and killing my data and I wasn't about to accept that so I downgraded back to Lollipop! I get a good 8 to 12 hours of screen on time now. I do think the only way to fix the battery problem when updating is to factory reset the device first so there's absolutely nothing on it and then update to MM 6.0..
Click to expand...
Click to collapse
Verizon Note 5. And my battery isn't the issue. Data is. And why would Android OS be listed separately if all the other apps are also listed separately, showing their own data usage?
Bump. Anyone?
lespaul0143 said:
Bump. Anyone?
Click to expand...
Click to collapse
They're listed separately so you can see which one is using the most data, that way you'll know which one it is.. The other thing is, you need an OS in order for anything to run obviously which is why I said they all run on the OS. But like I said they're separated for a reason.
MrMike2182 said:
They're listed separately so you can see which one is using the most data, that way you'll know which one it is.. The other thing is, you need an OS in order for anything to run obviously which is why I said they all run on the OS. But like I said they're separated for a reason.
Click to expand...
Click to collapse
So they're using twice the data? That's what my phone is showing...
lespaul0143 said:
So they're using twice the data? That's what my phone is showing...
Click to expand...
Click to collapse
Personally I don't know what your phone is doing since I can't see it but just because they're displayed in a way that you can see them all doesn't mean they're using twice the data.
MrMike2182 said:
Personally I don't know what your phone is doing since I can't see it but just because they're displayed in a way that you can see them all doesn't mean they're using twice the data.
Click to expand...
Click to collapse
True. I just don't know what changed. Just out of the blue Android OS started using 10+ times the amount of data.
lespaul0143 said:
True. I just don't know what changed. Just out of the blue Android OS started using 10+ times the amount of data.
Click to expand...
Click to collapse
Did you do anything at all before this started to do that? If not, maybe you should try factory resetting the phone because I know data isn't cheap anymore!
By the way, there's also network monitoring tools on the play store that you can try out so you can pin it down to which process is using it all up.
I did nothing new / different. Factory resetting is annoying. What's the best app to pinpoint which process it is?
lespaul0143 said:
I did nothing new / different. Factory resetting is annoying. What's the best app to pinpoint which process it is?
Click to expand...
Click to collapse
Personally I think this one is good .
https://play.google.com/store/apps/details?id=msd.n2g.n3g
Or you can try this one..
https://play.google.com/store/apps/details?id=info.kfsoft.android.TrafficIndicator
MrMike2182 said:
Personally I think this one is good .
https://play.google.com/store/apps/details?id=msd.n2g.n3g
Or you can try this one..
https://play.google.com/store/apps/details?id=info.kfsoft.android.TrafficIndicator
Click to expand...
Click to collapse
Thanks!
So, still no update. Those apps don't measure specific apps or anything. But it's pushing 2gb a month of data.
I'm also looking for answers.
Android OS used 1GB data in one day in the backgroud (uploading). So it's not updates.
I'm not using Cloud or any other backup service.

Battery Drain

Has anyone else noticed heavy standby drain from Android System?
I spent a couple of hours digging through to find the culprit and it looks like it's actually Qualcomm's IZat location services. Even though you can disable it in the location settings it is still set to scan and report back to Qualcomm's servers via a couple of config files in /etc.
Instead of changing the config files and forgetting which ones I changed I simply disabled the service in location settings then disabled the package that IZat uses and rebooted.
I am already seeing an decrease in battery usage and I have been able to still use GPS.
You can either freeze the app with Titanium Backup or whatever you choose. I did it through adb which I believe is even possible to do without root.
com.qualcomm.location
Code:
adb shell pm disable com.qualcomm.location
I hope this helps someone else out that was having the same issue. I did not get a screen shoot of my battery usage before disabling the service but I have included one with it disabled.
I was losing 15% overnight with a kernel wakelock for the entire night that showed up as LocationManagerServiceEx through GSam
for users with no root:
Code:
adb shell pm hide com.qualcomm.location
I'm going to poke around and try and find the files in /etc you mentioned.. would rather tackle the actual problem in the config files than disable izat entirely. good find though. I'm currently trying to find the source of my Google Play services drain (may be related to pushbullet). you mentioned that it was showing up in your Android system drain so not sure if it'll help with my specific issue but if it does I'll report back.
autoprime said:
for users with no root:
Code:
adb shell pm hide com.qualcomm.location
What is the command to unhide it? I would like to try it but also want to reverse it. Thanks
Click to expand...
Click to collapse
hobbs said:
autoprime said:
for users with no root:
What is the command to unhide it? I would like to try it but also want to reverse it. Thanks
Click to expand...
Click to collapse
adb shell pm unhide com.qualcomm.location
Click to expand...
Click to collapse
autoprime said:
for users with no root:
I'm going to poke around and try and find the files in /etc you mentioned.. would rather tackle the actual problem in the config files than disable izat entirely. good find though. I'm currently trying to find the source of my Google Play services drain (may be related to pushbullet). you mentioned that it was showing up in your Android system drain so not sure if it'll help with my specific issue but if it does I'll report back.
Click to expand...
Click to collapse
I think they were lowi.conf and xtwifi.conf there might have been more but I can't remember at this time.
As for finding what is draining I learned recently (and quickly) how helpful dumpsys is.
KAsp3rd said:
I think they were lowi.conf and xtwifi.conf there might have been more but I can't remember at this time.
As for finding what is draining I learned recently (and quickly) how helpful dumpsys is.
Click to expand...
Click to collapse
ahh thank you. I got sidetracked when trying to pinpoint my drain and never went through all the files. I will check out those 2 files as well as grep around through the rest.
and thanks for the dumpsys tip... never actually used it. I went the easy route and reinstalled BetterBatteryStats. Within 20 minutes a partial waklock stood out... "CmaSystemUpdateService"
A quick google lead me to this reddit: https://www.reddit.com/r/Nexus/comments/4jmw74/cmasystemupdateservice_wakelock/
Made sense... I had blocked OTA updates using the same method Nexus devices use.. as the tmo g5 gets its updates the same way.. instead of using LG's own updater like most of the other variants. As soon as re-enabled "SystemUpdateService" in Google Play Services the wakelock stopped and battery was fine. I'm not sure what needs to be done to stop the wakelock while still blocking OTA updates... more research must be done.
autoprime said:
ahh thank you. I got sidetracked when trying to pinpoint my drain and never went through all the files. I will check out those 2 files as well as grep around through the rest.
and thanks for the dumpsys tip... never actually used it. I went the easy route and reinstalled BetterBatteryStats. Within 20 minutes a partial waklock stood out... "CmaSystemUpdateService"
A quick google lead me to this reddit: https://www.reddit.com/r/Nexus/comments/4jmw74/cmasystemupdateservice_wakelock/
Made sense... I had blocked OTA updates using the same method Nexus devices use.. as the tmo g5 gets its updates the same way.. instead of using LG's own updater like most of the other variants. As soon as re-enabled "SystemUpdateService" in Google Play Services the wakelock stopped and battery was fine. I'm not sure what needs to be done to stop the wakelock while still blocking OTA updates... more research must be done.
Click to expand...
Click to collapse
I had the same drain after disabling updated on my tmo g5. I used app MyAndroidTools to fix it. After you disable system updates open the app and grant root. Open the menu and click on service, broadcast receiver and activity options. In each on goto system then find Google play services and disable anything that says system update then go back and do the same for Google play services framework. After disabling for all three categories restart and your wavelock will be gone. Also you can disable the OTA using this method as well. Seems like when using adb it only disables some of the services but not all which is why it keeps searching for updates. Hope this helps.
I too have this irritating wakelock which prevents the phone from reaching deep sleep (it shows up as LocationManagerServiceEx in betterbatterystats).
When I freeze the com.qualcomm.location app however, GPS actually DOES NOT work the way it is supposed to. Interestingly, it results in the GPS behaving just like the 10A GPS bug--GPS is achieved, but then cuts in and out all the time, making nav near useless. The 10D update fixed this. So maybe the implementation was buggy in the 10a firmware.
Still would be nice to have a more permanent fix for this wakelock issue. I'm not getting the cmasystemupdateservice issue.
autoprime said:
ahh thank you. I got sidetracked when trying to pinpoint my drain and never went through all the files. I will check out those 2 files as well as grep around through the rest.
and thanks for the dumpsys tip... never actually used it. I went the easy route and reinstalled BetterBatteryStats. Within 20 minutes a partial waklock stood out... "CmaSystemUpdateService"
A quick google lead me to this reddit: https://www.reddit.com/r/Nexus/comments/4jmw74/cmasystemupdateservice_wakelock/
Made sense... I had blocked OTA updates using the same method Nexus devices use.. as the tmo g5 gets its updates the same way.. instead of using LG's own updater like most of the other variants. As soon as re-enabled "SystemUpdateService" in Google Play Services the wakelock stopped and battery was fine. I'm not sure what needs to be done to stop the wakelock while still blocking OTA updates... more research must be done.
Click to expand...
Click to collapse
Hi @autoprime,
For some reason, out of the blue, I received the Nougat update notification today. I plan on staying on MM until I retire the device.
I had previously knocked out the OTA update receivers using 3c system tuner, just disabling the receiver elements that matched the 3 ones you listed in your all in one thread.
When I looked at the running receivers, one of them that was still on for some reason (update.systemupdateserviceactivereceiver). I can toggle it off, but it doesn't stick with a reboot. Under services, update.systemupdateservice was still active.
I decided to go the ADB route. I stopped the services using your ADB commands. This fixed the OTA. But then just as you mentioned, the CmaSystemUpdateService wakelock came in.
Did your research come up with any new ways to stop the OTA notification?
jeffsga88 said:
I had the same drain after disabling updated on my tmo g5. I used app MyAndroidTools to fix it. After you disable system updates open the app and grant root. Open the menu and click on service, broadcast receiver and activity options. In each on goto system then find Google play services and disable anything that says system update then go back and do the same for Google play services framework. After disabling for all three categories restart and your wavelock will be gone. Also you can disable the OTA using this method as well. Seems like when using adb it only disables some of the services but not all which is why it keeps searching for updates. Hope this helps.
Click to expand...
Click to collapse
Just saw this post just now. Do you have a more detailed list of what you disabled?
waylo said:
Just saw this post just now. Do you have a more detailed list of what you disabled?
Click to expand...
Click to collapse
Using the app My Android Tools is the easiest way I found. Then do like I said before and go into each category and click on Google play services and search for systemupdate, disable anything the comes up. Then go into Google services framework and search for same thing and disable anything that comes up. I've included some screenshots, hopefully that helps. Maybe when I have more time I'll write each thing down and post list but don't have time right now.
KAsp3rd said:
Has anyone else noticed heavy standby drain from Android System?
I spent a couple of hours digging through to find the culprit and it looks like it's actually Qualcomm's IZat location services. Even though you can disable it in the location settings it is still set to scan and report back to Qualcomm's servers via a couple of config files in /etc.
Instead of changing the config files and forgetting which ones I changed I simply disabled the service in location settings then disabled the package that IZat uses and rebooted.
I am already seeing an decrease in battery usage and I have been able to still use GPS.
You can either freeze the app with Titanium Backup or whatever you choose. I did it through adb which I believe is even possible to do without root.
com.qualcomm.location
Code:
adb shell pm disable com.qualcomm.location
I hope this helps someone else out that was having the same issue. I did not get a screen shoot of my battery usage before disabling the service but I have included one with it disabled.
I was losing 15% overnight with a kernel wakelock for the entire night that showed up as LocationManagerServiceEx through GSam
Click to expand...
Click to collapse
I'm on a unrooted G4 running Nougat but saw this thread and decide to try it, but when I use the above command I get the following error, see grab below, any ideas? thanks

Categories

Resources