Google Play services draining 70% of my battery!! - Xiaomi Mi A1 Questions & Answers

Lately, I'm getting less SOC (3hr), until one day it caught my eye. I found Google Play services using at least 50% everyday! I know there's a module on magisk to disable it, but I have important messages to respond. How do I fix it? I've tried turning off location, deny unnecessary permissions, restrict most apps from running in background.

Check to see is you have a sync issue, Play Services will keep trying to sync: Settings > Accounts see if any errors.
Next try setting your GPS to device only as a test, apps request GPS through Play services so although unlikely just test it to so if it improves battery life.
Also try clearing the Play services data.

kudos1uk said:
Check to see is you have a sync issue, Play Services will keep trying to sync: Settings > Accounts see if any errors.
Next try setting your GPS to device only as a test, apps request GPS through Play services so although unlikely just test it to so if it improves battery life.
Also try clearing the Play services data.
Click to expand...
Click to collapse
I always have account sync off, and I always have the GPS set to device only. I've tried disabling GPS for the Google app, and it help somewhat. Any other tips?

Jt380p said:
I always have account sync off, and I always have the GPS set to device only. I've tried disabling GPS for the Google app, and it help somewhat. Any other tips?
Click to expand...
Click to collapse
Do you have all categories of sync turned off, sms, chrome, contacts etc etc?
You do not mention data, did you do the last suggestion of clearing data and cache in Google Play Services?
My only other suggestion would be to aslo clear Google Services Framework, it is usually advised not to do this can take a few days to settle due to a new store token which some apps can take a while to update, you might also have to log into Google again. Due to your issue I think it is worth it.
(you need to press "show system" to see GSF)

Found the culprit
It's the auto sync that drains the battery. The backup does not drain battery. Tried it and it works, now I get two days worth of battery on my redmi note 8 pro and a whole day of battery on my mi a1 with moderate usage. Some games, facebook, Netflix etc.

Related

Is it possible to sign out of Google?

As title.
I don't use Sync at all, but keeps communicating to Google about updates etc, and when I go onto desktop Play Store I can "send" apps to my tablet...
Any way to stop this, I just want to maximise battery life and log into the Play store manually if required...
Will "deleting" account remove data?
Ashin said:
As title.
I don't use Sync at all, but keeps communicating to Google about updates etc, and when I go onto desktop Play Store I can "send" apps to my tablet...
Any way to stop this, I just want to maximise battery life and log into the Play store manually if required...
Will "deleting" account remove data?
Click to expand...
Click to collapse
If you aren't syncing then no battery will in theory be used for syncing things such as contacts, calendar etc but you still get play store notifications.
You can turn off app update notifications I think if you are rooted, eg via titanium backup but whether that actually stops the checking or just stops the device reporting I don't know.
But to be honest I would say the battery used with regards to a few update notifications from the play store is tiny tiny tiny compared to everything else.
Just turn off sync. The send stuff is all push and uses zero battery unless actually used.
GldRush98 said:
Just turn off sync. The send stuff is all push and uses zero battery unless actually used.
Click to expand...
Click to collapse
I have turned off sync and everything else and even "froze" various google apps. the damn thing just turns the stuff on again and syncs and connects to google . I use my n7 on a non internet connected wifi net for media playback of movies and music. the playback skips and lags as the n7 tries to phone home to google....very annoying!

[Q] Disabled *checkin, *gtalk previously, re-enabled *checkin services, no syncing?

I disabled them as an effort to minimize wakelocks (similar to what is listed in this post)
It's definitely helped with getting better battery life but I prefer to have my email sync and LinkedIn sync back. They're all enabled but just don't sync unless I manually do it.
Can anyone advise? Screen caps of current enabled/disabled Google Services Framework attached
Edit: I've tried turning Sync off and turning back on, logging out and logging back in to the account, turning sync off and back on via the menu in Data Usage screen
bo8 said:
I disabled them as an effort to minimize wakelocks (similar to what is listed in this post)
It's definitely helped with getting better battery life but I prefer to have my email sync and LinkedIn sync back. They're all enabled but just don't sync unless I manually do it.
Can anyone advise? Screen caps of current enabled/disabled Google Services Framework attached
Edit: I've tried turning Sync off and turning back on, logging out and logging back in to the account, turning sync off and back on via the menu in Data Usage screen
Click to expand...
Click to collapse
Sorry, those screenshots are slightly incorrect. I did in fact re-enable the *checkin receivers and have rebooted the phone but still no "real time" syncing happening with my Gmail app.
Finally revisited this as my phone is still unable to sync notifications in "real time" at all.
I'm finding that checking all the "checkin" services/receivers under Google Services Framework via ROM Toolbox does not actually keep them checked (confirmed via refresh).
Any idea what is going on and how I can fix it?
Sent from my SGH-I337M using XDA Free mobile app

Google Location Services

Not not for nothing but turning off google location reporting in "Accounts & sync" turned my phone from a one day phone to a two day phone. Anyone else try this?
I already disable google play location reporting with android tuner. BTW, I did the same for google analytics and ads.

Google Play Services draining my battery since I updated to Lollipop

Hi Guys,
since I updated to Lollipop I noticed a dramatic battery use by "Google Play Services". If until know cell standby, or Screen were the main battery drainers, nowadays more than half of my battery is taken by Google Play Services. I am aware there is a "GPS bug" in lollipop and if I reboot my phone with Wi-Fi on I have no problem with Google Play Services, however if I turn off wifi or get out of the house it starts draining my battery again. I don't use smart lock. I don't use GSP (I set it to battery saving mode - even though it's off). I have my wifi always on, I have disabled every feature of Google Now. I only synchronize contacts and Keep on my gmail account. I disabled most of motorola's apps (assist, alert, etc) I disabled google+ and most of the stuff I never use. I only sync an email account (yahoo), use whatsapp, facebook (location off, notifications off, sync off), and the browser. My phone has a locked bootloader and I don't intend to root it.
Does anyone have any ideas on how I could stop google play services from draining so much of my battery?? (For example my battery is now at 65% and google play services drained 15% from the total of 35%).
Until posting here I did a factory reset, I updated to the latest version of Google Play Services and I used GServiceFix, but nothing worked.
I have the same problem
Turn off Location Reporting and Location History in Settings -> Location -> Google Location Reporting
cnupy said:
Turn off Location Reporting and Location History in Settings -> Location -> Google Location Reporting
Click to expand...
Click to collapse
thank you for the suggestion, but it was already off. I turned off everything I linked to the locations - from motorola assist to facebook. I don't know what other app could possibly require my location - except google maps, but I don't use it at the moment (only when going on trips). Since my phone isn't rooted I can't disable the permissions for google play services to "keep awake" and "wake up" the GPS when the phone is in standby.
I don't know what else do to. If you are using your phone 4-5 hours a day you probably don't notice the drain. But if you are like me and want a good autonomy (I got 3-4 days on kitkat) this bug is annoying.
I believe this is related to Play services keeping the mobile antena active. If you check, you'll see it being displayed as active for hours. Worse thing is that I had this problem with my Nexus 4 on 5.0.0 and 5.0.1 so most probably its a Trollipop problem and not Moto specific.
Sent from my XT1068 using XDA Free mobile app
frisky_bg said:
I believe this is related to Play services keeping the mobile antena active. If you check, you'll see it being displayed as active for hours. Worse thing is that I had this problem with my Nexus 4 on 5.0.0 and 5.0.1 so most probably its a Trollipop problem and not Moto specific.
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
Yes, it does keep the radio on. Prior to this charge it has done this for 4h40minutes
Went to see mobile usage stats and google play services framework is the one fetching data. Is it the same with you?
Sent from my XT1068 using XDA Free mobile app
frisky_bg said:
Went to see mobile usage stats and google play services framework is the one fetching data. Is it the same with you?
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
2.5MB in 3 days... thanks for the heads up. I disabled the background data for google play services. I hope it doesn't interfere with whatsapp or yahoo mail synchronizing.
timmy.andro said:
2.5MB in 3 days... thanks for the heads up. I disabled the background data for google play services. I hope it doesn't interfere with whatsapp or yahoo mail synchronizing.
Click to expand...
Click to collapse
Hi, did you solved turning off backgrounda data for Google Play Services?
Bandit_1250 said:
Hi, did you solved turning off backgrounda data for Google Play Services?
Click to expand...
Click to collapse
After disabling the background data for google play services from "Data Usage" it seems that they don't consume that much of the battery. I don't know if it's a general solution to the problem but it did the trick for me (if I turn the background data on, battery usage increases - so there is definitely a connection).
timmy.andro said:
After disabling the background data for google play services from "Data Usage" it seems that they don't consume that much of the battery. I don't know if it's a general solution to the problem but it did the trick for me (if I turn the background data on, battery usage increases - so there is definitely a connection).
Click to expand...
Click to collapse
Yeah, I don't have battery drain after disabling background data for Google play services. And that is just great, but I experience delay in receiving WhatsApp and gmail messages....? Anyone else or this is something specifirfor me and maybe not connected to disabling background data for GPServices....?
Sent from my Nexus 4 using Tapatalk
timmy.andro said:
After disabling the background data for google play services from "Data Usage" it seems that they don't consume that much of the battery. I don't know if it's a general solution to the problem but it did the trick for me (if I turn the background data on, battery usage increases - so there is definitely a connection).
Click to expand...
Click to collapse
That setting only works for a data connection and does nothing for WiFi, though Google services tend to drain much more on a data connection.
There's one thing that has always solved this issue for me which i read on a google twitter account specifisly for this issue. Go to Settings > Storage > cached data and then reboot. The caches will rebuild as you launch your apps and u won't lose any personal data.
For tis issue .. Rooted people do this...
1.install xposed app
2.install greenify
3.On greenify select the mode to xposed
4.And select hibernate system apps
5.Now click on the google play service and hibernate it....
:fingers-crossed:
timmy.andro said:
Hi Guys,
since I updated to Lollipop I noticed a dramatic battery use by "Google Play Services". If until know cell standby, or Screen were the main battery drainers, nowadays more than half of my battery is taken by Google Play Services. I am aware there is a "GPS bug" in lollipop and if I reboot my phone with Wi-Fi on I have no problem with Google Play Services, however if I turn off wifi or get out of the house it starts draining my battery again. I don't use smart lock. I don't use GSP (I set it to battery saving mode - even though it's off). I have my wifi always on, I have disabled every feature of Google Now. I only synchronize contacts and Keep on my gmail account. I disabled most of motorola's apps (assist, alert, etc) I disabled google+ and most of the stuff I never use. I only sync an email account (yahoo), use whatsapp, facebook (location off, notifications off, sync off), and the browser. My phone has a locked bootloader and I don't intend to root it.
Does anyone have any ideas on how I could stop google play services from draining so much of my battery?? (For example my battery is now at 65% and google play services drained 15% from the total of 35%).
Until posting here I did a factory reset, I updated to the latest version of Google Play Services and I used GServiceFix, but nothing worked.
Click to expand...
Click to collapse
Same problem here. I did a factory reset buth nothing, Google Play Service drains and Screen is the 3rth-4rth voice in Battery stats after Google Play Service and Facebook. I have already turned off GPS and I haven't installaed Google Now. Disabling the background data for Google Play Service works for you?
Are all of you guys having an IMAP account being synchronized?
Sent from my XT1068 using XDA Free mobile app
frisky_bg said:
Are all of you guys having an IMAP account being synchronized?
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
Nope. I wrote few posts above, that I have delay in email and WhatsApp messages (big delay, in 7-8 hours) when I have background data disabled for GPServices.
But it is not for all the messages, just some, other messages are getting through just on time...
Sent from my Nexus 4 using Tapatalk
frisky_bg said:
Are all of you guys having an IMAP account being synchronized?
Sent from my XT1068 using XDA Free mobile app
Click to expand...
Click to collapse
No, I use only Gmail with the gmail account
Turn off Google Location, google backup under backup & reset and disable automatic sync while going in accounts and disabling it manually for calender, contacts,app data etc..
this might help..
Sent from my XT1068 using XDA Free mobile app
My stats today:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hi you can try this
Go to Privacy Guard in settings -> privacy. Then click on show built-in app and also on advanced. You will get a new populated list. Now under location click on google play servives. Under that you can turn off wake up, keep awake and auto start. It worked for me. Hope this might help you.
timmy.andro said:
Hi Guys,
since I updated to Lollipop I noticed a dramatic battery use by "Google Play Services". If until know cell standby, or Screen were the main battery drainers, nowadays more than half of my battery is taken by Google Play Services. I am aware there is a "GPS bug" in lollipop and if I reboot my phone with Wi-Fi on I have no problem with Google Play Services, however if I turn off wifi or get out of the house it starts draining my battery again. I don't use smart lock. I don't use GSP (I set it to battery saving mode - even though it's off). I have my wifi always on, I have disabled every feature of Google Now. I only synchronize contacts and Keep on my gmail account.
Click to expand...
Click to collapse

Greenifying google play service

hi
I have been using my Note 4 N910 h for more than one year and everything was perfect despite this annoying google service battery draining issue that i believe many are facing as well ..... it drains cellphone's battery as hell no matter what you do .
i installed Greenify and activated experimental features to be able to greenify system application including this bloody one , but i wasn't able to find it among them ..... why
any idea how to find and greenify it ? is there any other way to prevent it from draining the battery
thanks in advance
This is total guesswork, but I think "Greenifying" Google Play Services might F up your phone.
That's why it's not included on the list.
You could "App Settings" (Xposed app) and stop Google Play Services from starting up when your phone starts, but just have Nandroid backup ready.
If you look at the battery usage settings for Google Play Services, it shows the following as included packages:
Google Services Framework, Google Backup Transport, Google Account Manager and Google Play Services.
Some of those can be selected in Greenify. I'm not sure would happen if you selected them though.
Again more guesswork, are you syncing (lots of) data frequently via your Google account?
i.e. contacts, calendar, apps etc
This might fall under Google Backup Transport or Google Account Manager, which in turn falls under Google Play Services.
I denied all the stupid permissions it needed. There's an xposed module called Xprivacy, you can deny many permissions using that like keep awake and stuff. Helps, but don't mess with it that much. I don't. The guy up me is making a good point. Have a nandroid backup.

Categories

Resources