Has anyone figured out the Play Services battery drain? - Moto G5 Plus Questions & Answers

It happened a few weeks ago and has not improved. After the most recent update, I'm getting anywhere from 15 - 50% battery usage from Play Services.; my usual play services battery usage is 1 - 3%. I'm on the latest version, and apparently it's affecting devices from all different manufacturers. It's not heating my phone up and it still says it's deep sleeping, which leads me to believe it's messing with hardware - constantly scanning wifi or bluetooth or something. CPU usage isn't any higher than normal. If I leave my phone unlugged while I sleep, it'll drain 25+% battery over 8hrs while it claims it was in deep sleep the whole time.
I can't roll back or remove play services (I'm rooted and on Oreo), I'm about to try clean flashing my ROM with no gapps, and installing an older version of play services. I don't know what to do, I'm just wondering if anyone here has had the issue or found a way to stop it.
edit: I ended up clean flashing my ROM with the latest opengapps and it seems to have stopped killing my battery.

Related

Excessive Deep Sleep Battery Drain

Some of you may have noticed that battery life on this phone can be both unbelievable and mediocre. I've been trying to figure out what can trigger and cause mediocre performance and I'm at a loss. The problem is, there doesn't appear to be a smoking gun. No obvious wake locks. No rogue Apps. I have Carrier IQ disabled by System Tuner. Google Now is off. What I'm running right now is pretty bare bones. And the kicker is my phone is sleeping, as can be seen in the shots below. The vast majority of the time my phone was off the charger it was in deep sleep mode.
I noticed my phone in excessive drain mode Saturday so I let it run over night and into the next day, so that BBS and GSam could pick up as much data as possible, including sitting idle overnight and very little use throughout yesterday.
Here are some shots to show the story. The graph, which is definitely steeper than when idle drain is normal, which resulted in idle drain of about 6% per hour. Also as can be seen in these shots, there is not a wakelock problem. Deep sleep shows as 12 hours 38 minutes, Awake time of 1 hour 8 minutes, and screen on time of 1 hour. So, my phone was only "awake" for 8 minutes when the screen was off out of almost 14 hours according to BBS.
I did notice and oddity here though. BBS listed the unplugged status as 13 hours 47 minutes, while the phone's battery meter listed it at 12 hours 13 minutes.
Attached are the shots I took at 19%, as well as a final battery meter shot after charging the phone to full while powered off and restarting, where it's been purring like a kitten in deep sleep.
Part of me is beginning to believe there is a bug with the battery gauge. What do you guys think is going on?
Try clearing data for google play services,google services framework and playsore than reboot and check if things changed.
And i would recommend uninstall the updates related to those apps and let them update itself again.
Sent from my LG-D802 using xda premium
gm007 said:
Try clearing data for google play services,google services framework and playsore than reboot and check if things changed.
And i would recommend uninstall the updates related to those apps and let them update itself again.
Sent from my LG-D802 using xda premium
Click to expand...
Click to collapse
Done. Although I won't know if any attempts to resolve the issue have worked until the idle drain triggers again (or doesn't).
Thanks for the advice.
Well unfortunately that didn't solve the issue. The heavy deep sleep drain again triggered after a bit over one full day. I charged to full last night and let sit over night where it drained 6% per hour with no obvious culprit. Anyone else have any suggestions?
It seem that your signal is week, did you get stable signal and have you tried airplane mode, to find out how much battery drain in this mode?
Also, did you disable LG MLT? This is a massive app from LG, can consumed about 150 MB RAM.
This might sound boneheaded, but what about just resetting the phone. Maybe some system app is causing some type of memory leak and thus draining your battery. Also disable wifi when you're not using it.
I don't think it's signal related. I get an excellent signal at work and the idle drain still occurs. Also, it happens whether wifi is on or not. I have not disabled MLT, as I'm not concerned about RAM, just running processes. Rebooting the phone eliminates the issue, so something is obviously getting hung. The really odd thing is I was draining 6%/hr overnight, all while the phone was in deep sleep, yet my top battery consuming category was the screen at 35%, with just 1 hour of screen on time of 10 hours off the charger. If something was cranking in Android System that caused 40% drain overnight I would have expected Android System to be higher. It doesn't make any sense.
I may just have to factory reset.
My battery's been great until couple of days ago when I turned on GPS and Voice Notification (for speaking out names when phone call/message comes in). After I noticed the abnormal battery drain, I turned off those two options, because that's the only thing I did differently before noticing the drain. However, that didn't help... yet. I needed to do a reboot and battery's been fine again. Not sure if those two were the actual culprit, or just coincidence.
Have you changed any settings right before you noticed the drain? Just a thought.
had the same issue., wakelock detector, BBS, GSAM nothing could show what was eating the battery. i use mobile browsing a lot and almost 8/10 times this battery drain was happening with chrome , chrome beta and firefox browsers.
Only thing thats helping me is the Greenify app . Greenified the chrome and firefox and almost all the cloud apps and the battery is now much much better.
still ...IT IS AN PROBLEM to be found..
To provide a bit more info on this, attached is a pic of my reboot a couple hours ago (marked by the thin white vertical line). The change in the slope of the drainage line is drastic. Also, notice the small hump after the reboot? The line actually increased a bit, fell, then flat lined. More and more I'm beginning to suspect the battery gauge, but I just don't know.
Sent from my LG-D800 using Tapatalk
I have the same situation after charging. Even in"deep sleep" it would chew through the battery. Now I just reboot the phone after charging and it plays nice. The gerbil on the wheel seems to take a break and rest.
To all who have excessive battery drain, did you charge your phone while it is on or off?
Some where in this forum (if not mistaken), I read that there is a bug while charging G2 when it is on. You should reboot your phone after it is fully charged otherwise you will experience excessive battery drain.
Mine always charged it while it is off and never had problem with battery life.
i got the same issue which is very annoying, have over 85% deep sleep, no wake lock, battery draining like crazy, and it happens randomly. I wonder if factory rest fixes the problem, or hardware issue
i have done a bit testing for this random drain,
with mobile signal on ==> huge drain
without mobile signal on and only phone signal ==> huge drain
airplane mode ==> no drain
so i believe it is a bug within the phone software, actually sometimes the random drain started after a phone call
I've been getting the drain too in the past few days. Last time i could fix it by factory resetting, but obviously I don't feel like doing that once per month. What I do know is that flashing another stock ROM (kdz) without factory resetting doesn't fix it. However last night I figured i'd try disabling WiFi (kept it on during the night until now) and I only drained 1% in 5 hours, down from 3% per hour. Perhaps this bug is related to WiFi.
Have you disabled LG MLT? It acts like CIQ for internal LG purposes. I have personally seen it cause mass wakelock in unexplained situations. If I leave everything on overnight under 95% battery, I will get around a 3% drain in about 7 hours. Pretty normal. The first 5% on these batteries seem magical. At 100%, with everything on, I wake to 100%.
Yup, frozen in TiBu. Will be factory resetting however when I get home as GSAM grabbed my attention. Never were system things so high up the list when i had no drain.
https://db.tt/Pw8bJ3CM
Sent from my LG-D802 using xda app-developers app
htcm7 said:
To all who have excessive battery drain, did you charge your phone while it is on or off?
Some where in this forum (if not mistaken), I read that there is a bug while charging G2 when it is on. You should reboot your phone after it is fully charged otherwise you will experience excessive battery drain.
Mine always charged it while it is off and never had problem with battery life.
Click to expand...
Click to collapse
I been struggling with this since I got the phone (almost a month now). I've done all the usual:
Removing bloat
Disabled CIQ
Disabled Google Now, Location, GPS
and I have the same apps as my Nexus 5
Just last night I realized that this battery drain only happens after taking it off the charger. This got me to add the word "charging" in my search and I found this thread.
Is this hardware related, or would a custom ROM resolve this? I have the AT&T version.
Ok and which stock rom does not do that?
shilent said:
I been struggling with this since I got the phone (almost a month now). I've done all the usual:
Removing bloat
Disabled CIQ
Disabled Google Now, Location, GPS
and I have the same apps as my Nexus 5
Just last night I realized that this battery drain only happens after taking it off the charger. This got me to add the word "charging" in my search and I found this thread.
Is this hardware related, or would a custom ROM resolve this? I have the AT&T version.
Click to expand...
Click to collapse
Probably this is a software issue. Never heard this problem on latest firmware or custom ROM.
htcm7 said:
Probably this is a software issue. Never heard this problem on latest firmware or custom ROM.
Click to expand...
Click to collapse
Guys could you write which stock rom does this wakelocks for you so we could eliminate corrupt firmwares?
For example I experience these wakelocks on latest F international version.

New Google Play Services v4.4.52!

Hello folks,
When I bumped into this thread which listed a version of Google Play Services, version 4.4.52; I immediately updated mine which was suffering from extreme wakelocks (I was on 4.3.25).
Here is my phone running the latest version
http://imgur.com/a/6GLPy#ht9dYJO
After installing the new package I went to bed, hoping to wake up in the morning to an improved and reduced battery use. Boy was I wrong!
My phone was awake for the entire 9 hours while I slept!
http://imgur.com/a/6GLPy#6kdFZx7
Look at the awake bar, and notice how it never went into deep sleep! Fortunately, after a couple of reboots my phone was able to enter deep sleep. But, compared to numerous screen shots of other users' battery stats, my phone displays significantly more awake periods.
Keep in mind I have factory reset 3 times now, and the wakelocks continue to occur and plague my existence, resulting in furious vain attempts at finding a fix. The only way to prevent such wakelocks and idle battery drain for me was to disable location services, hence crippling Google Now and other location features.
Does anyone else suffer from poor battery life despite disabling all gimmicky features such as hand motions as well as bloatware?
Have you been able to develop a solution?
I ran into huge battery drain with the past 2 Play Services updates. The latest (4.4.52) I thought fixed the problem, but only for a day. I just rebooted to fix the wake lock I was having. Frustrated.... Nexus 5 here.
mrdally204 said:
I ran into huge battery drain with the past 2 Play Services updates. The latest (4.4.52) I thought fixed the problem, but only for a day. I just rebooted to fix the wake lock I was having. Frustrated.... Nexus 5 here.
Click to expand...
Click to collapse
Interestingly enough the 4.4.52 update was never pushed to the galaxy s5, I manually installed it.
Even with location turned off I woke up this morning to this:
http://i.imgur.com/KDGUm3c.jpg

[Q] Google Services battery drain anyone?

I'm running stock/rooted kitkat and for the last few days I have had dramatic battery drain. I go from fully changed to 10% in less than 4 hours. Has anyone else noticed this lately?
I had this as well. I had to disable location services to get my phone to actually go to sleep.
Sent from my AOSP on Mako using XDA Free mobile app
disabling location services and trying that. thanks
I've had awful battery since i upgraded to 5.0 and Google services are killing the battery. I'll try location services. Will update.
It's definitely not a problem with Location Services. My location is completely turned off 99% (since always) of the time and I also have that topping my battery consumption. Even though, my phone has been deep sleeping without major problems. There's an unknown wakelock that is slowly draining the battery, but anyway I've been getting 4h of SOT everyday without making any sacrifices. If somebody finds out what's the root cause, keep me posted, please.
I've been occasionally getting this for a few weeks too.
If I turn off location, the problem continues for a day or so but then goes away.
This morning I took the phone off charger first thing. I restarted and didn't open screen for two hours. When I checked battery usage it was down 80% and the big consumer was Media and SDcard. Anyone see this before?
It just occurred to me that I may have a corrupt file on internal storage. I'm going to back everything up and start deleting.
Well..I did a factory reset and I still have a major battery drain. It has to be some rogue app but I haven't installed "new" apps lately. Plenty of updates though.

Google play services wakelock

Hi all,
My friend's P8 Lite has had a wakelock issue from google play services since around late Jan/early Feb (presumably there was an update) and recently her phone was updated automatically to March2017 security update.
The wakelock can cause the phone to stay in low CPU frequency for 70/80% of uptime (when it should be in deep sleep).
However, despite clearing the data for the play services so that it is re-installed, I am still finding it will causing major wakelocks to the extent where battery life drops to around 12 hours for standby; no or little usage.
There is one last action to try which is a factory reset but I am reluctant to go nuclear until I know this problem won't re-occur after the reset.
Do we have any leads as to what the cause and fix is?
Thanks

Very high GPServices drain after updating S8 to AQI7

Hey.
Has anyone else noticed this - very high GPS drain after updating to the AQI7 update? I am on the European Exynos model and usually GPS is sitting at 1-3% usage at most after a normal day. Today it's closer to 10% with almost 300mah drained within 10 hours. That's more than half of my screen time usage.
Going through Better Battery Stats, I saw that *net_scheduler* with Google Services under it was forcing about 2000 wakelocks in the span of 2 hours. Sometimes it appears under another app name, but after the update it seems to have risen up extremely high and is likely causing the drain as the system shows GPS to be 2nd in battery stats.
I tried wiping delvik cache, system cache from settings, re-logging from google accounts, re-installing the google play services updates, and even enrolled in the GPS beta and am now using it. The phone is charging now and I will see if the problem continues in the next few hours.
If it does, I wonder if there is anything else I can do about it other than factory reset? I don't want to go there, but I definitely will if need be.
It's so tiring to see this issue pop-up on all Android devices I have had so far after 5.0 came out. It's like a plague that cannot be avoided with any device...
Did this happen to anyone else after the last update, or is it just me for some interesting reason?
Thanks for reading.
same problem here
OK, after the last full charge the phone is behaving quite well and now indicates 94% deep sleep, which is not bad at all.
What might have done it is switching to Google Play Services BETA. If you cannot find it in play store, use this link: https://play.google.com/store/apps/details?id=com.google.android.gms
Scroll down and enroll in the beta. Check the link again after a few minutes and hit the Update button. Charge your phone and see how it does.
I will have to observe how drain goes over the day tomorrow, but for now with 4g and wifi on at my home, I have 2% drain over 3 hours and a bit over. Wakelocks still occur but they are in the 0-1% range of waking up in this period of time, compared to the 6-7-8% of the net_scheduler wakelock from GPS the previous day. If it stays like this I think the problem could be marked as solved.
Update: After last night: https://drive.google.com/open?id=0Bwg-0GLG0gP9NDJQd2NYSkZ3V0U
About 2% of the drain was lost during me sleeping with WiFi and LTE on. Maybe GPS beta really sealed the deal.

Categories

Resources