com.google.android.gms loop bug causing agressive battery drain

Uraura00

Member
Mar 6, 2018
5
0
0
My LG G6 is draining battery and getting very hot in idle state. Battery goes from 100% down to 0% in less than 4 hours. Adb shell top -m 10 shows com.google.android.gms is taking 100% of core 3 or 4. It jumps from one to the other now and then.

Temporary solution is removing the storage data used by google services framework (removing the cache is not enough). This will keep the issue to be gone for 2 days. Turning off the google account synchronization has no effect...

My phone is useless this way with such a low battery life. I hope android 8 upgrade will fix this in the near future.

Screens:
https://photos.app.goo.gl/dxG3KDdI7OBwNBfu2
https://photos.app.goo.gl/mjZFDpYy0gV8uyoG3
 
Last edited:
I did clear the cache for separate apps but not for all the apps in one go like you described. I did it right now and let you know what the result is...
 
One day after wiping the cache partition and still no battery drain yet! It might be the solution, I am only sure of this if I do not have the drian for a week. I 'll keep you informed. Thank you for the simple tip.
 
Not solved.

In the past 10 days I had 6 times the drain problem. The battery usage goes steep down from 100% down to 0 and the phone is very hot. Clearing the cache + a reboot does not always stop the draining.

I still have no clue yet what triggers the problem and what stops the problem.
Yesterday I turned off wifi the whole day but suddenly it did started draining without using the phone, out of the blue. So it is not related to the wifi.

Today I turned off location + mobile data + bluetooth + sync but kept wifi on. I got no drain. This evening I turned all those stuff on again and I did have a drain... A reboot did not fix it. I started the phone in safe mode as you described and then the drain stopped (by accident or not?). I turned off safe mode and the drain was still gone... for now...

What next step can I do to investigate this problem? Any adb tips without rooting my device?
(yes, I can also keep waiting impatiently for the android O update that LG promises for the G6 model...)
 
Since you're talking about a framework that gets used by other apps, it seems possible to me that some other app is misbehaving and it's triggering something in gms. Personally I'd go in and disable a bunch of apps and see if you can pin it down to a specific app.

You might also want to see if logcat gives any hints (using adb logcat and redirecting to a file so you can peruse it easily).

I was having random crashes of my phone that I tracked down to being due to some (not yet identified) app that looks like it was exhausting some kind of resource table. I disabled a bunch of apps, especially ones that seemed (by logcat messages) to be doing stuff even when I wouldn't expect them to, and the crashes stopped. I've re-enabled a handful so far, and completely uninstalled others, so I may never find the actual culprit. But it was surprising to me that an app could run amok and crash my phone.
 
Not solved.

In the past 10 days I had 6 times the drain problem. The battery usage goes steep down from 100% down to 0 and the phone is very hot. Clearing the cache + a reboot does not always stop the draining.

I still have no clue yet what triggers the problem and what stops the problem.
Yesterday I turned off wifi the whole day but suddenly it did started draining without using the phone, out of the blue. So it is not related to the wifi.

Today I turned off location + mobile data + bluetooth + sync but kept wifi on. I got no drain. This evening I turned all those stuff on again and I did have a drain... A reboot did not fix it. I started the phone in safe mode as you described and then the drain stopped (by accident or not?). I turned off safe mode and the drain was still gone... for now...

What next step can I do to investigate this problem? Any adb tips without rooting my device?
(yes, I can also keep waiting impatiently for the android O update that LG promises for the G6 model...)
Have you tried uninstalling updates from Google play services and then updating it again?
 
Solved!

beagle82 found the solution by uninstalling google play services updates and updating it again.
I did not disable anything else on my phone, did not even uninstall apps, sync, bluetooth, mobile data, wifi, location all enabled... which proves that this is the solution.
Already running 5 days without any battery drain occurrence after this solution.

There is even more, the battery usage is much lower as before (when no drain bug was triggered of course). I think that my battery did not go below the 80% the last 5 days. I connect to android auto in the morning and evening so a recharge happens then. I recommend everyone complaining about poor battery in the LG G6 to apply this solution.
 
Last edited: