[Q] Google Services using 75% + of battery in a day - Galaxy S 4 Q&A, Help & Troubleshooting

Does anyone know exactly how to diagnose Google Services running down my battery? I've tried disabling individual bits and pieces that seem related, but whenever I check OS Monitor there doesn't seem to be any single culprit, yet my battery continues to plummet.... Also, the Gallery app goes nuts from time to time and hammers the CPU, even when it hasn't been run. Logs suggest some kind of face scanning going on, despite it being disabled in the apps settings. Only work around for that it seems is disabling Gallery, or manually killing the process whenever it respawns.
I've used the same Google account and the same data on an S2 and a Note 2 with no issues from Google Services, but since day one with the S4 it's a problem. Yes, I've tried a factory reset etc etc, I'm not a complete n00b

Related

Google sync not letting phone go into deep sleep

so as of this week i've noticed battery drain..
I removed all APPs i recently installed and still drain no deep sleep.
Better battery stats never helps, all it says us "Suspend Backoff" for kernal wake lock but never tells me what is causing the wifi to be hit so much
i finally went into google sync options and unchecked ALL options and reset CPUSPY..
with in a few min im getting sleep.
i re enable all my google sync options and reset CPUSPY
no more deep sleep after a few min
now i enabled all sync again, and UNchecking each of them one by one to see which one is the culprit but its not just one.
sometimes its SoundSearch, sometimes its KEEP, sometimes its People Details..
doesnt make sense and i'm leaving the phone alone, i'm not adding or changing any data on the phone or the computer in KEEP, PEOPLE, GMAIL or MUSIC
so why is this happening?
I know a lot of people disable all their sync in here to get better battery life but of the people that still sync their google services automatically, is anyone seeing this?
Maybe something is preventing sync from completing successfully which causes sync services to be constantly on.
Personally I haven't faced the issues you have mentioned. Try clearing data of play store, Google services framework and play services.
Sent from my Nexus 4
use titanium freeze Google+, GoogleMusic, GTalk
should solve

[Q] Battery drain while screen is on?

Just a quick bit of background: I got this phone in early November and until about early March I could get 10+ hours of screen on time with 2 days of run time. Now my battery drains at about 20% an hour but only while the screen is on. Last night after about 16 hours off the charger the device was at 41% woke up 9 hours later and the device was 41%.
I have factory reset three times and I've taken it completely back to stock once. Have used the root recalibration app multiple times.
I have root and mainly use it for Aide and the Xposed Framework. Neither is installed after my most recent factory reset.
I have uninstalled Google+, turned off Google Now, completely nuked location services, don't use Samsung apps, uninstalled Drive, never use maps, and always have GPS off.
Apps I use when screen is on: Chrome, Newsstand, Play Music, and Calculator almost exclusively. Frequently use my phone to control YouTube on a Samsung bluray player. I have cast to upnp installed but it's set to disable on inactivity and I hardly use it or Play Music. Almost never use Plex or Splashtop.
I have a Google and Amazon account. The Google account is set to sync using the default settings and always has been(I played around with the settings to no effect). I also just noticed I have a Verizon backup account that I've never setup? Seems strange.
I've used titanium backup to freeze tons of unremoveable stuff, I've used Greenify on anything I don't want notifications from. Both from previous trials, not currently installed.
So my question is has anyone else noticed more battery drain than usual while using the device? Is there a (maybe) fix for it? Something stupid I may be missing? Is it already time for a new battery?(Seems ridiculous!)

Google Play Services using the most battery

I am on my 5th charge, and Google Play services is my number one battery sucker.
I have location services, BT, on 24/7. I only connect to BT when in my car though, so 5% of the day maybe.
If I let me phone sit idle for about 4 hours, Google Play services will be the only thing that consumed battery.
Any advice on troubleshooting it? So far i've tried disabling NFC, google hang outs, ambient screen. I am trying things one at a time to see what's causing it.
There are no wakelocks, because I click the graph and I show it's only awake when I am actually using it. GPS is rarely, if ever on. WIFI is never on, as I have green signal everywhere + unlimited data via tmobile. I also do not have any other always connected apps like facebook, or facebook IM, twitter, or whatsapp, etc.
vivithemage said:
I am on my 5th charge, and Google Play services is my number one battery sucker.
I have location services, BT, on 24/7. I only connect to BT when in my car though, so 5% of the day maybe.
If I let me phone sit idle for about 4 hours, Google Play services will be the only thing that consumed battery.
Any advice on troubleshooting it? So far i've tried disabling NFC, google hang outs, ambient screen. I am trying things one at a time to see what's causing it.
There are no wakelocks, because I click the graph and I show it's only awake when I am actually using it. GPS is rarely, if ever on. WIFI is never on, as I have green signal everywhere + unlimited data via tmobile. I also do not have any other always connected apps like facebook, or facebook IM, twitter, or whatsapp, etc.
Click to expand...
Click to collapse
I am getting the same thing right now. I didn't yesterday.
I know it shows Google Play Services if you have Google Photos backing up your photos and videos. It is defaulted to do it whenever you are on wifi I believe. I have mine set to only backup while charging. I still see the Google Play Services drain though even with it not backing up, so I think my drain is coming from some other place.
Yeah, I am going to turn off background data, and if that's the culprit. I will play with each of the back up options. I only have a few enabled. I do have google photo's set to sync when on cell network or wifi, because I have unlimited data I do not care when they go up.
I noticed an odd bug when I unchecked google+ and google+ uploads as OFF/not sync, my google photo option to sync was gone. I enabled it, and it showed up. I have since rebooted a few times, and disabled those (did this an hour or so ago), and it will still sync, so maybe that was it? Will report back.
Currently enabled sync options:
app data
calendar
chrome
contacts
gmail
google opinion rewards
google photos
google photos backup
vivithemage said:
Yeah, I am going to turn off background data, and if that's the culprit. I will play with each of the back up options. I only have a few enabled. I do have google photo's set to sync when on cell network or wifi, because I have unlimited data I do not care when they go up.
I noticed an odd bug when I unchecked google+ and google+ uploads as OFF/not sync, my google photo option to sync was gone. I enabled it, and it showed up. I have since rebooted a few times, and disabled those (did this an hour or so ago), and it will still sync, so maybe that was it? Will report back.
Currently enabled sync options:
app data
calendar
chrome
contacts
gmail
google opinion rewards
google photos
google photos backup
Click to expand...
Click to collapse
I saw this after upgrading to the newest factory image. let things settle and it was back to normal on the next day. Also updated to play services 8.3.0.1
I actually tried to do a reinstall the other day, and it brought me up to 8.3.01 (2385995-440) ... which was what it previously had.
Are you saying you just wiped your phone and started from scratch again?
vivithemage said:
I actually tried to do a reinstall the other day, and it brought me up to 8.3.01 (2385995-440) ... which was what it previously had.
Are you saying you just wiped your phone and started from scratch again?
Click to expand...
Click to collapse
I didnt wipe anything. I flashed the system.img and vendor.img from the Nov. update and i then noticed that play services was eating up about 22% of battery on a normal cycle. Updated to 8.3.0.1 and after charging and watching on the second go around, it seems to be returning to normal. Down to 44% and play services has only eaten 4%.
elreydenj said:
I didnt wipe anything. I flashed the system.img and vendor.img from the Nov. update and i then noticed that play services was eating up about 22% of battery on a normal cycle. Updated to 8.3.0.1 and after charging and watching on the second go around, it seems to be returning to normal. Down to 44% and play services has only eaten 4%.
Click to expand...
Click to collapse
4% seems solid for 66% bat used... i'll try that if this doesn't work. Does flashing just system.img and vendor.img muck with any data?
maybe try wiping the cache partition -
Nexus 6P Wipe Cache Partition
Power Down the Nexus 6P
Boot the Nexus 6P into Fastboot Mode
Boot the Nexus 6P into Recovery Mode
Press the Volume Down Button to Control the Highlighter
Highlight the ‘Wipe Cache Partition’ Option in Recovery Mode
Then Press the Power Button to Select This Option
Make Sure the ‘Yes’ Option is Highlighted
Then Press the Power Button to Select This Option and Confirm the Wipe
Wait Until the Nexus 6P Wipes the Entire Cache Partition
Make Sure the ‘Reboot System Now’ Option is Highlighted
Then Press the Power Button to Reboot the Nexus 6P
http://www.androidexplained.com/nexus-6p-wipe-the-cache-partition/
What does wiping cache do again?
I disable.any Google apps I don't use ,which most if them,I have Google now always listening and I don't use chrome which seems to hit the battery,and play services is hardly ever in my battery list,but today a new play service update and reading reviews it's sucking battery by all accounts ,not seen it yet myself
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
tluley51 said:
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
Click to expand...
Click to collapse
i suffer no hardships doing this -
Battery Tips for Android
1. Toggle off High Accuracy GPS Mode, Bluetooth, NFC,
Hotspot/Tethering. Toggle on only as needed. (Set GPS Mode to "Battery
Saving" Mode).
2. Display Brightness - Turn off Auto Brightness and Reduce Setting
Bar to Minimum Acceptable to you.
3. Sign out of any unused Google Services like G+, Google Now, Hangouts, etc.
4. Disable Location Reporting and Location History.
5. Beware of constantly syncing in background Apps and Bloatware like
Facebook, Twitter, Weather Channel, Games, Google News/Weather,
Non-Push Email, etc. Set Sync interval for every 1 hour or more and
change settings to stop the syncing of data you don't need. Delete
their Apps and use their Web Page if acceptable.
6. Turn Off Hot Word "Hotword Detection" Always Listening Mode in
Google Search if you don't use it.
7. Turn Off Auto Camera/Photo Upload or at least set it for Upload on WIFI Only.
8. Turn Off Vibrate on Touch for Display, Keyboard, etc.
9. Turn Off Touch Sounds and Unlock Sounds.
10. Turn Off Ambient Display/Active Display Notifications if you don't need it.
11. Don't use a Live Wallpaper. Use a dark wallpaper if possible.
12. Set Display Sleep Setting to 2 Minutes or Less.
13. WIFI Settings - Advanced -
a. Network Notification - Set as OFF.
b. Keep WIFI on during Sleep - Set as ALWAYS if you regularly use
WIFI. OK to keep WIFI on if you regularly use it.
14. Scanning Always Available - Set as OFF - Wifi scans for networks
(location assist) in the background by default. Go to Settings >
Location > Overflow (three dots at top right) > Scanning and change
the setting for Wifi and Bluetooth.
15. Turn Off Always Vibrate in Gmail/Email.
16. Be careful of using too many Live Widgets and what/how often they sync.
17. Set MS Exchange Sync at 30 Days or Less if you use it.
18. Do NOT use a Task Killer App or Battery Saver App.
19. Uninstall ALL Apps that you never use. If you haven't used an
App in one month, uninstall it.
20. Reboot your phone at least once a month.
21. Wipe Cache Partition at least once a quarter or after every OS Update.
22. Consider a Factory Data Reset with a manual re-sync, manual
reinstall of all data and Apps after every major OS Letter Update.
Make sure that all of your data is first backed up to Google and
Dropbox, etc.
"I SUFFER NO HARDSHIPS DOING THIS" - this means that i personally am
giving up NOTHING with these tips. i'm not giving up any features.
there are no tradeoffs for me. a tradeoff or a hardship would be to
turn off PUSH email or use AIRPLANE mode during the day etc.
you have to find your own balance and the tips list is a start but you
must come to your own conclusion as to what's important. it's personal
preference but these are not a big deal to me at all as they do not
affect the function or operation of my phone. these tips do not
deteriorate my experience.
you don't HAVE TO do anything. the point is you if you want to
MAXIMIZE battery life you can turn things off that you aren't using.
it only makes sense. there is a FINITE amount of juice in ANY
battery. you choose how you want to spend that juice. by default most
of these devices have every feature set as ON whether you use them or
not. i prefer to change the settings in my phone to only use those
features that i personally use and need so i can maximize battery
life. i don't leave all the lights and TVs on in my house 24/7 - i
turn them on when i need them. i'm not giving anything up. my phone
does everything exactly like i want it to. i'm not missing out on
anything. it's no hardship for me. it's life. life is a delicate
balance. it's up to you to find that balance.
11-5-15
I am doing 70% of what you listed out, and google play services is currently at 3% of battery with 81% remaining, it's my highest user under screen with an hour. Don't get me wrong, great battery, but why is it using so much?
I wiped cache and it seemed to help a ton. Almost 3 hrs screen on time, 24 hours off charge, 35% battery remaining and Google Play Services is only at 3%. Much better.
its "Ok Google" "Always Listening"
I lost 12% in 7 hours overnight with it on and 1% with it off (On 4g)
Let me try wiping my cache then. Also, OK Google is not always listening, I never really use it anyway. I only use voice for texts sometimes.
tluley51 said:
I have wiped cache and I will report back.
After reboots it still is eating up battery like nobody's business. Bone stock not rooted too.
Wifi and bluetooth on, location set to device only. Google Now on, "okay google" detection from anywhere.
Click to expand...
Click to collapse
Bluetooth is your problem. I turned mine off and immediately my phone starting to sleep again.
I leave my BT on all the time, it only connects in the car though (40 minutes per day). I do not see bat drain for that. I also left it disabled for a day, same google services % usage.
vivithemage said:
I leave my BT on all the time, it only connects in the car though (40 minutes per day). I do not see bat drain for that. I also left it disabled for a day, same google services % usage.
Click to expand...
Click to collapse
what about Bluetooth Scanning? off or on? see #14 above on my list.
Gekko2 said:
what about Bluetooth Scanning? off or on? see #14 above on my list.
Click to expand...
Click to collapse
This has always been off, why would anyone even want it on. BTW, solid list, like I said, I do about 70% of it already.

Location Services Issue

Starting this week I've been experiencing a serious battery drainage in my device.
I've noticed this drainage happens at a time when Location Services appear to be working, for no apparent reason.
Now, I always have Location Services on, but I can never see it in the upper bar (the one where you can see the time, Wi-Fi connection, battery) unless I use an app that relies on it.
However, in the past few days, I see Location Services up there even though I'm not using any app that relies on it. What's worse is that it stays there even after I close all apps. In regular cases it tends to remain there as long as the app that needs it is running. As soon as I close the app, Location Services disappear from the upper bar.
If I turn off Location Services it will go away. However, once I turn it on it will be up there again. It will only go away if I reboot my phone.
Do you guys have any idea what may be causing this? I bought by Nexus 6p by the end of February and hadn't experienced this issue until this week. Before that, my battery usage was normal, and I could go a full day without having to charge my battery.
This issue, on the other hand, can drain my battery in the span of 1 or 2 hours.
Already noticed this problem and found the reason: Maps!
igorrj said:
Already noticed this problem and found the reason: Maps!
Click to expand...
Click to collapse
But I haven't used them.
For example, today I faced that problem solely by opening up Facebook. Then I rebooted my phone, opened up Facebook again but the problem didn't happen.
Now, I'm thinking this isn't happening by simply opening Facebook or Twiiter, but whenever I open them through the notification bar.
This is really odd.
I noticed the same battery drain. One night my phone batter wound up being pretty much dead. Today I noticed significant drain and when I looked at battery use, I saw where the consumption seemed to increase and observed the location services icon at the top of the phone that wouldn't go away even after making sure all apps were shut down. I don't really have many apps on my phone (certainly not ones that need location, so I suspect a recent update to Maps.
My first step was to delete and reinstall the updates. so let's see if that fixes it. If not, I'll just remove the updates and run that way until another version comes out. I suspect is just a goofed install or we would hear far more complaints of this issue.
I was literally getting ready to make a post about this. Sure enough, force-closing Maps stopped the issue. Glad to see it wasn't just me.
I'm having the same issue. I get the location icon on my status bar at random times and it stays there until a reboot. It eventually comes back. Pretty annoying as it is causing my phone not to deep sleep. I'm on stock with Franco kernel.
Sent from my Nexus 6P using Tapatalk
I'm having the same issue on latest stock firmware on both my SM-N910T3 & SM-T700. Started noticing the location icon all the time about a week ago, just about when it came out with the latest update on 4/1.
Well, uninstalling and reinstalling the updates to Maps didn't fix anything. I have uninstalled the updates and will monitor.
ZabiGarma said:
But I haven't used them.
For example, today I faced that problem solely by opening up Facebook. Then I rebooted my phone, opened up Facebook again but the problem didn't happen.
Now, I'm thinking this isn't happening by simply opening Facebook or Twiiter, but whenever I open them through the notification bar.
This is really odd.
Click to expand...
Click to collapse
Facebook is, by far, the worst app you can have downloaded. It is the cause of general phone issues and bad battery life. I uninstalled both FB and FB messaging and my wake lock issue was fixed and, in turn, my battery life is noticeably better
Sent from my Nexus 6P using XDA-Developers mobile app
I did a full master reset of my phone and am only running default applications. I still get the runaway location services. Before I did that, I downgraded Maps and that seemed to help. But then my phone automatically updated it. I know I can probably fix that situation but I'm surprised we aren't seeing more people with the problem.
Nexus 5x owner here (but posting my experience since this is literally the only thread on this anywhere).
Symptoms: Similar to everyone in this thread, location icon was popping up and staying resident in the top status bar. This was happening even without an event launching and causing massive battery drain. This was atypical of usage since my phone is basically not even used (essentially a notification machine with light text usage).
Checking the location menu, everything was listed as light usage, except for Maps as heavy usage (even though Maps wasn't even launched or in the recents menu)
Variables: Unfortunately, since my phone has been perfect since launch, I haven't been paying attention to all the updates granularly to isolate what was causing this. But, I do know for sure it happened after the April Monthly update and after a Maps update.
Troubleshooting: I was hoping it wasn't a system update issue, so I started poking around in the Maps settings to see if maybe a new Maps service was launched that was auto-enrolling users and potentially causing battery drain. Nothing to note, but I did notice I was signed out of Maps, which seemed weird. So I went ahead and re-signed into Maps with my Google Account.
Results: I honestly didn't expect this to have any impact, but the location issue hasn't come up after signing into Maps. It's been ~ 3 weeks and 4 battery cycles since I've had the location issue.
I'm not sure if signing in helped or maybe a server side Maps update fixed the bug, but if you're still having the location issue, it's worth a shot to see if you're signed into Maps (and sign in to try to fix the location issue).
If this does work for you, please report back since it will help in data gathering (and also we can let Google know the exact details of the issue and the potential fix so this bug doesn't hit in future versions).

DT2 - Drastic Battery Drain! Google services?

I am coming from a Droid Turbo - best phone I ever had -and never had any issues with it. Perfect right from the start.
I now have a DT2 and I get this immense battery drain at random times. The phone runs super hot and the drain is equivalent to 1% per minute. REAL BAD!
I even had the phone replaced and the problem persisted, so I know it's not a hardware issue.
The drain goes away in safe mode as well. So it must be software!
I've dwindled everything down with no positive results.
So I started looking at GSAM to get better stats on the battery.
It's showing Google Services eating up all of my battery with gmail trailing close behind.
So I look at my accounts and they seem to be constantly syncing. As soon as one stops, the other starts and they keep cycling like that.
All of my accounts are set to Push and I have very few items in my account checked off to sync.
Just the basics like people details, mail, calendar, contacts, google keep and g+. Everything else is turned off.
FYI, I also have an exchange account on there set to push and am on the latest Marshmallow update.
I've attached 3 screenshots to help visualize what's going on.
The most notable one is the standard batter app. The big dip is when the phone started getting hot and draining.
Does anyone know whats happening or how to fix it? I never had this problem with my original Droid Turbo, even with the same accounts.
wow, nothing so far?
dragonash said:
wow, nothing so far?
Click to expand...
Click to collapse
Maybe it's syncing too often ? Try to limit permissions for Google apps , or turn off data sync for a while and check if that fix it
Finally someone with the same problem as me. I've noticed the exact same behavior in Gmail (constant rotating sync which makes the phone hot and kills battery). However, Gmail doesn't show up in my battery stats as a battery drain, which is strange - but I do see Google Services. Unfortunately I have no permanent solution, but clearing the cache AND data for the gmail app solved the problem for about a week. Now it's back again. I have 7 google accounts in my phone, but sync is turned on for only 4.
Looking at other forums, many say that google play services is the cause, but I haven't been able to find any solid answers other than "restart", "clear cache/data", or the dreaded "factory reset". I hate having to factory reset to solve problems. Hopefully someone else who has had the same issue, or maybe someone who knows what's going on can help us troubleshoot.
cromag.rickman said:
Finally someone with the same problem as me. I've noticed the exact same behavior in Gmail (constant rotating sync which makes the phone hot and kills battery). However, Gmail doesn't show up in my battery stats as a battery drain, which is strange - but I do see Google Services. Unfortunately I have no permanent solution, but clearing the cache AND data for the gmail app solved the problem for about a week. Now it's back again. I have 7 google accounts in my phone, but sync is turned on for only 4.
Looking at other forums, many say that google play services is the cause, but I haven't been able to find any solid answers other than "restart", "clear cache/data", or the dreaded "factory reset". I hate having to factory reset to solve problems. Hopefully someone else who has had the same issue, or maybe someone who knows what's going on can help us troubleshoot.
Click to expand...
Click to collapse
I've contacted Motorola and they just want to give me a new phone. I'm on my 3rd from Verizon.
And yes, it is Google Services causing the issue as that operates a load of apps. However, we need greater details. If we got root on the phone, GSAM might be able to get more detailed information on the drain or the real app causing it.
Unfortunately, it looks like it's a Marshmallow bug.
Here are 2 work arounds that do not include clearing cache or factory resetting.
If you notice it getting hot,
1: toggle airplane mode until it cools
2: Download an autosync toggle widget to turn on/off sync
I do #2.

Resources