google play services - Google Pixel XL Questions & Answers

Hi,
How in the heck do I get rid of the google play services drain...The dang thing is the highest on my device followed by android system...Please help

amirage said:
Hi,
How in the heck do I get rid of the google play services drain...The dang thing is the highest on my device followed by android system...Please help
Click to expand...
Click to collapse
It's not the play services process that does the draining, but another app that uses the service. It's simply a vehicle. With well behaved apps, you'd rarely see play services in your battery hog list. You can begin by disabling Play Store's app auto-updating.

quangtran1 said:
It's not the play services process that does the draining, but another app that uses the service. It's simply a vehicle. With well behaved apps, you'd rarely see play services in your battery hog list. You can begin by disabling Play Store's app auto-updating.
Click to expand...
Click to collapse
I have done it but I'm really not so hopeful. I don't know if its the auto-update feature that's hogging the battery or if it has anything to do with the google now feature. Apparently google play services is high on the list of activities that use the location services.
I'm really not in a mood to factory reset but then I'm not hopeful that this would really solve the matter...The phone was setup from scratch and all the apps were downloaded fresh... Besides, I don't have that many apps either just the usual gmail, google maps, chrome, Facebook, WhatsApp ...I have disabled movies, games, play stand and other rubbish apps...Can u please share your experience with the battery? What's ur setup? Do you have the google now feature enabled? How do I disable it?

amirage said:
I have done it but I'm really not so hopeful. I don't know if its the auto-update feature that's hogging the battery or if it has anything to do with the google now feature. Apparently google play services is high on the list of activities that use the location services.
I'm really not in a mood to factory reset but then I'm not hopeful that this would really solve the matter...The phone was setup from scratch and all the apps were downloaded fresh... Besides, I don't have that many apps either just the usual gmail, google maps, chrome, Facebook, WhatsApp ...I have disabled movies, games, play stand and other rubbish apps...Can u please share your experience with the battery? What's ur setup? Do you have the google now feature enabled? How do I disable it?
Click to expand...
Click to collapse
First off, I use the Dirty Unicorns ROM, but it shouldn't make a difference. Play services never bothered stock ROM either. I have 156 apps. Location, Bluetooth, WiFi are all enabled. I have 7 smart watches that are configured as well. NFC is the only sensor I disabled. I sync 4 mail accounts, 7 Google calendars, along with your FB, Twitter, Instagram crap. OK Google is always on. You can see in the screenshot that Play Services isn't on my list. I even use Gravity Screen that utilizes the gyro sensor instead of the built-in gestures. I like it better. I admit, my SOT is only about 4 hours a day on average, but my battery is off the charger for 26 hours. I do freeze marketing apps that came with the Pixel, unneeded keyboards, Verizon stuff (but leave the My Verizon app on though). I charge the phone in the car at 6:30am daily as I drive an hour and 20 minutes to work. If I were you, first, I would delete app cache in Settings/Storage. Then I would freeze a few apps at a time and narrow down your potential battery hogs.http://cloud.tapatalk.com/s/586d32d248c9c/Screenshot_20170104-115902.png?
http://cloud.tapatalk.com/s/586d33248b82f/Screenshot_20170104-120311.png?
http://cloud.tapatalk.com/s/586d33514cbcb/Screenshot_20170104-120356.png?
http://cloud.tapatalk.com/s/586d336274a12/Screenshot_20170104-120423.png?

quangtran1 said:
First off, I use the Dirty Unicorns ROM, but it shouldn't make a difference. Play services never bothered stock ROM either. I have 156 apps. Location, Bluetooth, WiFi are all enabled. I have 7 smart watches that are configured as well. NFC is the only sensor I disabled. I sync 4 mail accounts, 7 Google calendars, along with your FB, Twitter, Instagram crap. OK Google is always on. You can see in the screenshot that Play Services isn't on my list. I even use Gravity Screen that utilizes the gyro sensor instead of the built-in gestures. I like it better. I admit, my SOT is only about 4 hours a day on average, but my battery is off the charger for 26 hours. I do freeze marketing apps that came with the Pixel, unneeded keyboards, Verizon stuff (but leave the My Verizon app on though). I charge the phone in the car at 6:30am daily as I drive an hour and 20 minutes to work. If I were you, first, I would delete app cache in Settings/Storage. Then I would freeze a few apps at a time and narrow down your potential battery hogs.http://cloud.tapatalk.com/s/586d32d248c9c/Screenshot_20170104-115902.png?
http://cloud.tapatalk.com/s/586d33248b82f/Screenshot_20170104-120311.png?
http://cloud.tapatalk.com/s/586d33514cbcb/Screenshot_20170104-120356.png?
http://cloud.tapatalk.com/s/586d336274a12/Screenshot_20170104-120423.png?
Click to expand...
Click to collapse
Thanks for the info...woah...you have a whole of lot of things going for and I must say you are really using your phone's potential...The only issue with the suggestion is that I need to unlock the boot loader and root the device..it's so very new that I'd like to have it running like this for a while till I get bored of the stock experience...but yes I'll surely try out all the suggestions u have made once I root.:laugh::laugh::laugh:

I have a regular Pixel, and Google Play Services is constantly at the top of my list. I'm often around a computer, so my phone primarily spends its time in standby or being used for calls. Even the times when I use the screen for hours, Google Play Services still reports as using far more battery than anything else.
EDIT: After using Tasker and Toggle Network Type 5.0 to switch to WCDMA only when my phone is in standby, Phone idle has went to the top of the list and Google Play services usage has went down significantly to second on the list.
amirage said:
I don't know if its the auto-update feature that's hogging the battery or if it has anything to do with the google now feature.
Click to expand...
Click to collapse
I have shut off Google Play auto-update and the Google feed. It's possible auto-update could be more aggressive than it used to be, but my previous phone with a smaller battery still could use about 1/3 the standby battery percentage as the Pixel, and I had auto-update over wifi on with that phone. I can't say how much affect turning off the feed had on battery life, but Google Play Services remains at the top of my list with it off. I haven't gotten around to seeing if something like Wakelock Detector could give me some clue about what is going on with my phone, but with auto-update and the Google feed off my battery usage is constantly being reported as primarily coming from Google Play Services.
I'm really not in a mood to factory reset but then I'm not hopeful that this would really solve the matter.
Click to expand...
Click to collapse
The only suggestion so far that I haven't tested would be the idea about installed apps using Google Play Services, because a reset alone certainly did not solve my battery usage when I reinstalled my usual apps. It looks like I put a few apps on the new phone that I hadn't used on my previous phone, and I never tracked the battery usage without additional apps installed. I may try resetting and see if I get different behavior by installing apps over time, so I can check for changes in Google Play Services usage as apps are added.

amirage said:
Thanks for the info...woah...you have a whole of lot of things going for and I must say you are really using your phone's potential...The only issue with the suggestion is that I need to unlock the boot loader and root the device..it's so very new that I'd like to have it running like this for a while till I get bored of the stock experience...but yes I'll surely try out all the suggestions u have made once I root.:laugh::laugh::laugh:
Click to expand...
Click to collapse
Some suggestions provided here.
https://www.androidpit.com/google-play-services-what-is-it-and-what-is-it-for

The disable Auto-sync data suggestion from the link might save some battery, yet I've always turned that off, so it's not the cause of the issues on my phone. My prior Android phone had a short issue with Google Play burning through battery that was eventually fixed by an update, but I'm not sure what good it would do to uninstall Google Play Services updates, since all three OS versions have had the same issue. It's just silly that Google Play Services reports using more power than the screen, which is probably why I thought the iPhone 7 got a lot better battery life than the Pixel. Unfortunately Apple only provides Mac users a way to know notifications have been received without touching an iPhone, so hopefully I can eventually track down the Android battery usage to an app or some other similarly easy to correct problem. At this point I only have 5 apps from the Play Store installed, although it looks like safe mode also shuts off some of the default apps like Keep.

My phone reported about 200 mAh from Google Services while in safe mode over the past day, which is also labeled Google Play services when not in safe mode. The Pixel was mostly just idle with the screen off and not doing anything, so that may be around the minimum usage per day I can reasonably expect from Google Play services on the standard Pixel.
Edit: I flashed the January update and allowed the wipe. After shutting off most of the options for Google, like Google Assistant, the phone reported nearly 200 mAh from Google Play services in a day, so that seems around the minimum I can get by using the options the OS provides.

I seriously think it's a rogue app...I did a factory reset and so far it's been good.

amirage said:
I seriously think it's a rogue app...I did a factory reset and so far it's been good.
Click to expand...
Click to collapse
Good for you. Play services doesn't drain battery on its own. Some app has to misbehave or demand exclusive control of the play store app to cause play services to run wild.

Related

[Q] Google play store draining battery?

I have been using the GNEX for about 6 months and I never had any problems.
Since I updated to JB, the battery drain has been quite big. There is also some big lag sometimes, but I suspect that the lag can be tied to the market too.
I see that the market accounts for the battery drain now.
It should be noted that the market was not opened, no apps were updated and there were no notifications. So it must be running in the background.
I did not use the phone much today, read the news in the morning and made 1 phone call. So the drain is quite big for this using.
Has anybody had this problem and knows the solution?
P.S.
I haven't open the maps either.
You can force stop maps, maps can be started by any application that i has location services, Google search, twitter etc. Open play store under settings, uncheck all options.
I just had the same issue with Google Play Store. Plugged the N7 in to charge to get it to power up and the battery usage is showing the Play Store as "Keep awake" for 6h 46m, which essentially drained my battery overnight. I can't see any obvious reason it did this
thankyousam said:
I just had the same issue with Google Play Store. Plugged the N7 in to charge to get it to power up and the battery usage is showing the Play Store as "Keep awake" for 6h 46m, which essentially drained my battery overnight. I can't see any obvious reason it did this
Click to expand...
Click to collapse
I have exactly the same issue with my new LG Nexus 4 running JB 4.2 !!!
I removed it from charge this morning and after 5 hours in standby mode the battery was on 20%
ur best bet is to "don't keep activities" in the developer options
re: the maps draining, u'd have to turn off location services but it's needed for google now
^That kinda defeats the whole purpose of owning an Android device. I would at least start by uninstalling updates and opening the Play Store back up. Maybe it got stuck doing something it shouldn't have been. The Maps issue. Mine is always running. Never shows up in my battery stats. There are so many triggers that can cause it to run, so I've given up(There's always AutoStarts, though you need root for it) even trying since it isn't affecting my overall battery life. I leave GPS on, but turn off Google Location Services unless I need it.
Play Store and Play Music are really draining the battery in my Nexus 4...
johnyu142 said:
Play Store and Play Music are really draining the battery in my Nexus 4...
Click to expand...
Click to collapse
I found out that it happens only after it automatically updates my apps.
I disabled the auto update apps from play store and seems to be fine now....
[UPDATE - 16-12-2012]
Today I checked manually for updates, Installed 26 of them and the battery drained again after couple of hours.
For some reason, it does not stop the application and it is constantly using the CPU thus draining the battery. My phone is very hot (temperature) at the moment and I have not used it for almost 2 hours and it was not on charge !!!
This is ridiculous.....

[GUIDE] Insanely Better Battery Life When Idle - Battery Life Thread

UPDATE: Wanted to add from personal experience that these tricks all work on 4.4 KitKat ROMs. This information isn't stale
This guide should work for any Android phone running any ROM. (Though you do have to be rooted for most of these options. Nothing is THAT simple!)
The goal is to reduce your battery drain when your phone is idle. Nothing in this guide will improve your battery life when the phone is in use. But it will keep the battery from draining quickly (actually it will nearly keep it from draining at all) when the screen it off and the phone is not in use. And the battery savings can be extreme! As I write this guide my phone it has been 4 days, 15 hours, and 9 minutes since I last unplugged my Galaxy S4. I have 33% battery life remaining. You can have this too!
These fixes are not your typical "Lower screen brightness and delete carreir bloatware and disable auto syncing" tips. (Though all that stuff is still a good idea)
You can try all of these techniques or just some of them. Some of them will break features of your phone and might not be good options for you. Only you can decide if these fixes are right for you.
Special thanks for Mike216 and Penko956 for the endless research they did Greenifying, freezing, and disabling they did on just about every system and app on thier phone to see what all could be disabled. And to Torbitege who initially helped figure all this out with me for the HTC Sensation.
First off, what's using your battery?
If you're not already familiar with Better Battery Stats, fix that about yourself. Download it. Use it. Love it.
This app will run in the background constantly monitoring what's using your system resources 24 hours a day. It will tell you what apps are causing wakelocks, which are waking the device, etc etc etc.
The app won't do anything to help your battery life. But it will give you the information you need to adjust problematic apps.
Wakelocks and Battery Drain caused by Google Services
The battery saving impact is major.
This is my personal favorite battery saving technique. But it's not right for everyone, so read thoroughly.
Basically Google thinks your phone belongs to Google. Google Services runs A LOT even when you're not using the phone. This causes a ton of wakelocks and wake ups that use battery. I hate that. So I stopped it with a simple mod to the Google Services Framework.
Here's how....
This is a good old fashioned dirty fix, as it breaks some things. Most push notifications WILL NOT WORK AFTER DOING THIS!!!!! So this is not for everyone!!!! You've been warned. Please don't complain later in the thread that you aren't getting new mail or Twitter or whatever notifications after doing this. You're being told up front they will probably not work.
GTalk and GoogleNow (and maybe a few other things) will not work after doing this. Push notifications for any Google apps will also not work. They are casualties of the dirty fix. But if you're like me and never use GTalk or GNow this will help. Some other Google services might not work after this either. But if you're like me and the only Google service you use is the Play Store app, this will not affect you adversely. (Gmail and Google Maps run independantly of the Google Services framework and are not affected at all by this.)
Use this version of the fix for older Google Service Framework installs. You will know if you have a newer version if doing this install doesnt' prevent your wifi and data icons from turning blue (or whatever color your theme uses). If they turn blue, use the newer version below....
You need to download System Tuner from Google Play. The app will tell you to get Android Tuner instead. Don't do it. It doesn't have what you need. The icon is a blue suitcase with tools on it. Thats' the one you want.
First I froze GTalk and Gnow (Google Search). And no, you can't just freeze those two apps without touching the GSF. The GSF will still create wakelocks when trying to activate them even if they are not there. So you have to modify the GSF as well.
Go to System Tuner and select "Start Ups".
Then pick the Google Services Framework from the list and open it. You shoudl see a list of services.
Uncheck the things on the list below. (Basicall anything with GTalk or Checkin in the title)
gtalkservice.diagnostits.gtalkdiagnostics
gtalkservice.connection autherrordialog
talk.talkprovider
checkin.checinservices$reciever
checkin.checkinservices$triggerreciever
checkin.eventlogservices$receiver
gtalkservice.diagnostics.gtalkdiagnosticsbroadcast reciever
gtalkservice.serviceautostarter
gtalkservices.datamessagereciever
gtalkservice.sendxmppreciever
gtalkservices.packageinstalledreciever
gtalkservice.xmppendpointreciever
checkin.evenlogservice
gtalkservice.service.stalkservice
gtalkservice.pushmessagingregistar
You can freeze the GSF entirely with 1 easy step and that will also kill the wakelocks. But the Play Store becomes another casualty if you do that. Disabling the events above will stop the Google Services wakelocks dead in their tracks, and allow the Play Store to continue working. If you want to go that route you can do it but you'd have to unfreeze the GSF everytime you wanted to update an app.
Newer version if you have updated Google Service Framework.
Freeze the Google Services Framework entirely.
Profit.
Note: I haven't personally tried this and can't attest to it's viability to drawbacks. It was suggested by other members in this thread and confirmed to be working by several other people. Your miliage may vary.
One little quirk with both of the above versions is that when you turn on wifi or mobile data, the signal bars don't turn colors. They stay gray because you aren't connecting to the google servers anymore. (They normally change color to indicate that you are connected to the Google servers). After 1 day I stopped noticing they didn't change colors. Now it looks weird to me when I see them colored.
I highly recommend making a Nandroid backup before trying any of this. Once you go that, go nuts! You can't hurt too much when messing with the GSF because it will just shut down google elements. Worst case, you can always just reactivate everything, reboot, and it'll all work like it did before you messed with it. But if you accidentally disable Android System instead of Google Services, you will probably kill your ROM. So back a backup first.
And severely worst case, if you totally louse up your ROM, just restore the Nandroid and it'll all be back to normal in a flash. (Get it? In a 'flash'...haha I crack myself up)
The Greenify App Sollution
The battery saving impact is moderate.
This is one that you're just silly not to be doing.
Get the Greenify App from The Play Store
There is a free version. But its freakin' awesome so buy the donate version. It's $3 and the developer has more than earned it for the way he's making your phone awesome. (The donate version also includes some special experimental features. Read all about it. Do NOT just get the donate version. You need the free version too.)
This app basically lets your freeze any user app when you're not actively using it. And unfreeze it automatically when you want to open it again.
So if you have an app that likes to wake your device and run itself when you're not using the phone, you can just Greenify it and it will be prevented from using any system resources when you're not actively using the app.
You don't want to Greenify everything. Some apps need to run 24/7 like your messaing app, your phone app, etc. If you Greenify those you won't get messages or calls. The app is incredibly simple to us. You just select the app that's causing trouble and tell Greenify to 'go'. And it does the rest. It's just as easy to un-greenify an app if you greenify something you shouldn't have.
Not every app on your phone needs to be Greenified. Most apps behave themselves. Only do this to the ones that are showing as causing wakes or alarms or wakelocks in a battery monitor like Better Battery Stats.
Two that I will suggest for everyone to start with are Google Maps and T Mobile's My Account app. Both of these love to run when the phone is alseep.
If for whatever reason Greenify those apps hinders the way you use your phone, just ungreenify them! Simple as that.
Google Play Services and You
The battery saving impact is noticable.
Google Play Services wakes the phone a lot. It also does a lot. Read more about what all Google Play Services does here.
You have two options for this one. The first option is the nuclear option. Freeze Google Play Services outright. It will never bother you, but it might break some usefulness of other google apps.
The second option, thanks to XDA Member Karpfenhai , is to disable only certain aspects of the Google Play Services. This one uses the same technique mentioned above in the Google Services Framework Section, just different services to disable. (Thanks to Perseus71 for making me aware of this one and asking that it be included!) THIS HAS BEEN RECENTLY UPDATED
NEW PROBLEM AS OF MARCH 2015
The battery saving potential is ABSOLUTELY REQUIRED!
Since Google updated Play Services all hell has broken loose on custom roms. You get a persistent and unkillable wakelock for SystemUpdateManager.
The battery drain is horrendous. Your phone is awake and active 100% of the time.
This affects GPS version 7.0.97
I fixed this by going to the permissions manager (built into many aosp roms. If not available in your rom, consult yoir rom thread for ways to alter permissions) and disabling the permission in Google Play Services for "wake" and "keep awake".
Note: Some phones only show "keep awake". Just do that one if that is the case.
The problem is that on custom roms no ota is available. But Google tries to get it anyway. When it fails it doesn't shut down. It just keeps trying.
If the permissions method doesn't work, try this...
http://forum.xda-developers.com/general/general/fix-fix-systemupdateservice-wakelock-t3060548
I
Just so you don't think I'm kidding around when I say you can severely increase your battery drain when idle, take a look at tehse screen shots from my Galaxy S4.
My specific set up is running CyanogenMod 10.1 nightlies with ChronicKernal. I haven't been using my phone much over the past 4 days. I have a total of 2 hours and 34 minutes screen on time and 40 minutes of phone calls during that period. So this is admittedly very light usage. But that's perfect to show you that these techniques really work to minimize battery drain when the phone is idle. And I promise you that your results will vary based on your ROM and Kernel.
This won't make the battery last longer during use. The screen will still burn a lot of battery and the cell radio does too. But if you want to make sure your phone will be charged when you need it without you having to carry a charger with you everywhere you go, these are the mods for you.
As you can see from these screen shots I am at 4 days, 16 hours, 50 minutes since unplugging. I have 31% battery left. (That's what the 31 in the upper left corner is. Thats' from an app called Big Battery Notifier. Its free on Play.)
The other screenshot is from Better Battery Stats showing my Alarms screen. Alarms are loosely the same as wakes. Everytime an app wakes the device (not neccessarily turning the screen on) it will record an alarm. If you look at your BBS alarms screen without these modifications I bet you see a lot more alarms than you see here, and keep in mind that mine screen show is showing 4 and a half days worth. Each one of those represents an app or service waking the device and using battery.
If the written instructions somehow baffle you, here's a video of the whole thing!
http://www.youtube.com/watch?v=cUBpOl77Tm4
This will show you step by step how to do all of this.
Thanks to XDA Member Chaitanyapatel8880 for his work in putting this video together
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
*Note: You must use Greenify v1.82 to Hibernate Google Play Services! Search this thread for links to it.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
I like your way of dealing with Google play services. I'll change the op later.
That doesn't break function of the play services to run as a user app?
Sent from your phone. You should be careful where you leave that thing.
Skipjacks said:
I like your way of dealing with Google play services. I'll change the op later.
That doesn't break function of the play services to run as a user app?
Click to expand...
Click to collapse
I have not noticed any dysfunction, though there are likely some things I don't use. But for me it's been completely functional.
Besides, if I froze it, I'd have none of it's functions at all.
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
How do I convert those services to user apps?
Sent from my SGH-M919 using xda app-developers app
rodny23 said:
How do I convert those services to user apps?
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Titanium Backup will do it, I think you need the paid version though.
/System/App Mover is also good app for doing it. It's free on Google Play.
Dang right now Google services is at 41%
Sent from my SGH-M919 using xda app-developers app
Skipjacks said:
Titanium Backup will do it, I think you need the paid version though.
Click to expand...
Click to collapse
Yup. I think you're right.
Something disabled notifications for instagram, etc.
Sent from my SGH-M919 using xda app-developers app
kevinrubio1 said:
Something disabled notifications for instagram, etc.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Did you Greenify Instragram? If yes, that explains why you aren't getting notifications.
lordcheeto03 said:
Did you Greenify Instragram? If yes, that explains why you aren't getting notifications.
Click to expand...
Click to collapse
Nope, it's something in system tuner, I unchecked all the "checking" things so it's one of the "gtalk" options. I'm narrowing it down
Sent from my SGH-M919 using xda app-developers app
This has saved a bunch of us from odd battery drain. Skipjacks has been there and done that. Amazing informative thread! Going on two weeks without having to worry about bringing my charger to work thanks to skip
SGH-M919_Omega, the end result
kevinrubio1 said:
Nope, it's something in system tuner, I unchecked all the "checking" things so it's one of the "gtalk" options. I'm narrowing it down
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
I don't believe it. Instagram is its own thing. It shouldn't be reliant on the google services framework at all.
Sent from my SGH-M919 using xda app-developers app
Pinan said:
Just a note. If you convert Google Play Services to a User App (TB), you can then Greenify (free ver.) it. This works very well and does not affect other functions that may rely on that app.
I also Greenify Maps and Google Search. Two more heavy drainers. Convert to User App first.
Fwiw, my sleep drainage is 0.3 - 0.4%hr, with wifi on 24/7.
I get either 7-8 days standby, or so far, 5.5 days with 3.5 hours screen time, or likely 6-7hrs screen time single day. Screen shots are in my posts.
I would argue too that these settings/tweaks do indeed increase your battery time, since while sleeping, the battery is draining at a much lower rate, therefore keeping more juice for live time use.
Although you and I don't use all of the same "tweaking" programs, we do seem to be on the same mission. Better battery life! :good:
Click to expand...
Click to collapse
I'm not sure whether Greenifying Google Search would save as much battery as freezing it would, but I'm going to try it out and see how it works for me. I'll report back some results in case anyone is curious
funkl3 said:
I'm not sure whether Greenifying Google Search would save as much battery as freezing it would, . .
Click to expand...
Click to collapse
It does. It also allows other functions to still work such as TTS. I had the issue a while back. Something to do with shared voice.
I also freeze Contacts and Calendar syncs as well. If I want them to sync I simply thaw them for a few seconds.
Skipjacks said:
I don't believe it. Instagram is its own thing. It shouldn't be reliant on the google services framework at all.
Sent from my SGH-M919 using xda app-developers app
Click to expand...
Click to collapse
Maybe one of the "gtalk" options has something to do with notifications because last night I rebooted my phone a lot checking/unchecking options, none of the "checking" did anything! So that's good, and I unchecked some gtalk but not all and it worked!
Sent from my SGH-M919 using xda app-developers app
Great guide! A little bitter I had to read all of the pages in the original topic :laugh:
Skipjacks said:
I like your way of dealing with Google play services.
Click to expand...
Click to collapse
Btw. I forgot to mention that after I reboot the first thing I do is turn off Google Play in Running Programs. Persistent bugger. And of course I turn off notifications and auto update in GP as well with each new ROM install.
My tweak list is extensive. Someday I'll right it all down as you have. Save me some thinking, LOL.

Ok Google and battery drain

Hi all,
Just wanted to put this on the table. How many over here really use the Ok Google feature on the PixelXL. Granted it's a nifty feature, but I'm having this feeling that it could be linked to high google play services battery drain that I had raised in my other thread. Ever since I factory resetted, I haven't enabled this feature yet on the phone. And, the battery drain on google play services has been quite acceptable. In the 3 days that the phone has been off the charger, the google play services' CPU usage was about 35 mins. When I had Ok Google enabled, this had gone to about 3 hours per charge cycle although I used Ok Google just once...I know it's not quite mathematically accurate...
Can anyone here share their experience with the battery drain and Ok Google feature...if there's any correlation between high google play services battery usage and Ok Google
amirage said:
Hi all,
Just wanted to put this on the table. How many over here really use the Ok Google feature on the PixelXL. Granted it's a nifty feature, but I'm having this feeling that it could be linked to high google play services battery drain that I had raised in my other thread. Ever since I factory resetted, I haven't enabled this feature yet on the phone. And, the battery drain on google play services has been quite acceptable. In the 3 days that the phone has been off the charger, the google play services' CPU usage was about 35 mins. When I had Ok Google enabled, this had gone to about 3 hours per charge cycle although I used Ok Google just once...I know it's not quite mathematically accurate...
Can anyone here share their experience with the battery drain and Ok Google feature...if there's any correlation between high google play services battery usage and Ok Google
Click to expand...
Click to collapse
I never did find OK Google of any use, or the newly introduced Assistant for that matter, just doesn't go with me, really inconvenient, so always had it disabled, and never noticed Play Services taking up anything significant on battery stats, but just for the sake of that disabling on screen keys with the build.prop edit, I have now enabled OK Google so I don't get the FC every time I use Assistant, I will keep an eye on the battery stats now.
If you find it not useful then have it disabled anyway.
It seems that "Ok Google" is permanently on, regardless of if you manually set up the function or not.
I've had two previous Pixels and with both had set up the feature then disabled it a few days later. When saying the command on the Home screen, it would still work.
With my current device (#3), I didn't set up the hot word search at all yet it still activates from the Home screen just the same.
I think it's only possible to disable the "Ok Google anytime" functionality. It certainly has nothing to do with Google Assistant as my phone is set to Japanese language and the Assistant doesn't even support it thus isn't active.
Anyone else notice this?
I can vouch that as long as Ok google is not enabled and the hot words are not learnt by the phone, saying Ok google will not turn the phone on...that said @TokyoGuy I'm just curious why are you on device #3 and what happened to the other 2!
amirage said:
I can vouch that as long as Ok google is not enabled and the hot words are not learnt by the phone, saying Ok google will not turn the phone on...that said @TokyoGuy I'm just curious why are you on device #3 and what happened to the other 2!
Click to expand...
Click to collapse
That's odd. I wonder if the problem then is specifically *because* Google Assistant isn't available in Japanese, that I can't totally disable the hotword. That's the only explanation I can think of as it's never happened before in any of the countless phones I've owned or used in the past.
As for what I'm on phone #3, my first was a US 32GB model but I filled up the storage rather quickly and which got scratched up due to debris in the case. The scratches ticked me off any when I saw a used/mint standard Pixel model in a local store so I figured why not give it a try to see if I liked the smaller version. Ultimately it was too small however and thus I was able to get a 128GB Pixel XL from Australia (my current unit).
Because the Pixel hasn't been launched in Japan yet, my losses involved with changing units twice are surprisingly miniscule. (Read: All demand, no supply.)
I'm curious though if anyone else has the permanently active hotword.
Ahhaa...good for you that you can easily switch phones...It's a rare commodity this Pixel XL 128GB...
TokyoGuy said:
That's odd. I wonder if the problem then is specifically *because* Google Assistant isn't available in Japanese, that I can't totally disable the hotword. That's the only explanation I can think of as it's never happened before in any of the countless phones I've owned or used in the past.
As for what I'm on phone #3, my first was a US 32GB model but I filled up the storage rather quickly and which got scratched up due to debris in the case. The scratches ticked me off any when I saw a used/mint standard Pixel model in a local store so I figured why not give it a try to see if I liked the smaller version. Ultimately it was too small however and thus I was able to get a 128GB Pixel XL from Australia (my current unit).
Because the Pixel hasn't been launched in Japan yet, my losses involved with changing units twice are surprisingly miniscule. (Read: All demand, no supply.)
I'm curious though if anyone else has the permanently active hotword.
Click to expand...
Click to collapse
Ok, I reenabled the Ok Google detection and can confirm that Google Play services goes haywire...Can anyone else please reconfirm if this is one-off case or universal?
amirage said:
Ok, I reenabled the Ok Google detection and can confirm that Google Play services goes haywire...Can anyone else please reconfirm if this is one-off case or universal?
Click to expand...
Click to collapse
I've always had OK google on any screen, even locked in smart lock. And never seen any Play Services drain or any unusual drain either. But I like using my phone. Between the insanely fast charging and having a car charger and charger at work (though I get through a day without needing them), I just like having that extra feature and convenience. I also have Wi-Fi and Bluetooth always on even when not using them (use Wi-Fi at home, not anywhere else), and use the Google Earth screen live wallpaper too.
Thanks, btw, have your rooted your phone? Just wondering how u got the clock to appear in the centre...
jesssiii said:
I've always had OK google on any screen, even locked in smart lock. And never seen any Play Services drain or any unusual drain either. But I like using my phone. Between the insanely fast charging and having a car charger and charger at work (though I get through a day without needing them), I just like having that extra feature and convenience. I also have Wi-Fi and Bluetooth always on even when not using them (use Wi-Fi at home, not anywhere else), and use the Google Earth screen live wallpaper too.
Click to expand...
Click to collapse
Yes, I used it for quite awhile unrooted, unmodified stock. Wanted to play around and make sure I was familiar with it enough to help myself if I got into trouble, had couple days off, so I tried twrp and rooting. Back now to stock, though. This phone is the first for me to really feel stock is so good, it's not worth modding.

Battery drain by Google..

Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
For me google play services keep running in the background.
Could you please share a pic of your entire battery drainage from the apps?
I disabled it (google app, not play services) since day one, along with other annoying pests via ccswe and package disabler pro, both complement each other perfectly, of course there is the ADB commands method, but I preffer the apps I mentioned, as they provide very useful widgets to enable/disable problematic apps as google, playstore, updates, chrome, etc, you can even disable services within the apps, to avoid background data access or runnig on boot
Subham jyoti said:
For me google play services keep running in the background.
Could you please share a pic of your entire battery drainage from the apps?
Click to expand...
Click to collapse
This one?
winol said:
I disabled it (google app, not play services) since day one, along with other annoying pests via ccswe and package disabler pro, both complement each other perfectly, of course there is the ADB commands method, but I preffer the apps I mentioned, as they provide very useful widgets to enable/disable problematic apps as google, playstore, updates, chrome, etc, you can even disable services within the apps, to avoid background data access or runnig on boot
Click to expand...
Click to collapse
Can you guide me what needs to be done with these apps? I never seen so much battery drain due to google app on my previous phones
atrix4nag said:
This one?
Click to expand...
Click to collapse
Thnx. Yeah it's same like me. I don't know why it keeps running in the background
atrix4nag said:
Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
Click to expand...
Click to collapse
Firstly,
Look at my Google usage, screenshot
9 hrs background and only 0.1 % usage..!
So even if your Google is enabled in background
it should only take a minimum % eg 1 % ..?
So i would say that some settings in your
Google..?
that is enabled, eg syncing..... etc
I don't know all the tasks connected to Google.
I would rather cross check with battery
apps eg Betterbatterystats, Gsam battery monitor,
Wakelock detector lite etc
to pinpoint reason, than try and restrict Google.
Bottom line,
If you don't know what to do and you are desperate,
i would then factory reset device.
Should solve the problem..... hopefully.!
Good luck.
willcor said:
Firstly,
Look at my Google usage, screenshot
9 hrs background and only 0.1 % usage..!
So even if your Google is enabled in background
it should only take a minimum % eg 1 % ..?
So i would say that some settings in your
Google..?
that is enabled, eg syncing..... etc
I don't know all the tasks connected to Google.
I would rather cross check with battery
apps eg Betterbatterystats, Gsam battery monitor,
Wakelock detector lite etc
to pinpoint reason, than try and restrict Google.
Bottom line,
If you don't know what to do and you are desperate,
i would then factory reset device.
Should solve the problem..... hopefully.!
Good luck.
Click to expand...
Click to collapse
Thanks for your suggestions.
I don't want to do factory reset. I will try with other options first.
atrix4nag said:
Google is running in background and its Max battery drain app.. in the screenshot, i selected put app sleep when not in use, but still its active for 13+ hours in background.. how to fix it..
Click to expand...
Click to collapse
Same happened to me. What I did was to delete Data from Play services app, then I deleted cache from phone an voila. I have all sync and functional.
Ps. I charge my phone to 90% and I can get 5-6 SOT at 30% left everyday.
The issue op mentioned is not about google play services, it is about the google app instead I think
The problem is I don't think any batter stat apps can get low enough level stats to indicate what is using the Google app in the background to determine what is causing the drain. Usually, the culprit is an app frequently using location service (your GPS) to check your location which I believe the Android location service coordinates for apps other than the native Android/Google apps are obtained through the Google app in the background. That latter point is purely a guess because as we all know the Google app is a "multipurpose" app and you can't see detailed enough battery usage to determine what function of the app is being used that causes battery drain.
On my S10 5G, for the first 2 weeks I've used it, Google never was in the top 5, taking like 1-2% over the course of a day. Then seemingly all the sudden, it was #1, consuming like close to 1% an hour in the background. So I think, what did I change recently? I enabled Google Discover, but set the option to mae it update less fequently (6 hours) to reduce battery (the option actually says this will reduce battery usage). It didn't make a difference. So I disabled Google Discover and installed Google News instead. My Google app battery usage is lower now. About 0.9% per hour (all background usage of course). I think for most people that's good, but not when you were used to it being more like 0.1-0.2% an hour before.
I think the bottom line is if you want to use more features on your phone you have to live with a bump in battery usage. The 4500 mAh battery on my S10 5G lasts me abotu 1.5 days. LOL. But I don't play games or check Facebook/Instragram all day. Just a few texts, weather alerts, maybe an hour or two of browsing. Mabe an hour total of talk time. So relative to other people I should be less concerned if my phone is lasting well over a day on a charge, actually close to 2 days many times. I know a lot of other more "frequent users" (probably a lot of people younger than myself) that are on social media a lot and or listening to music/watching videos would kill to have their phones last 20-48 hours without having to charge.
Still, I keep an eye on things and it bugs me Google has jumped up. A great app to use is Accubattery and monitor the "SCREEN OFF" discharge rate. You're not actively using apps when the sceen is off so this gives you a good idea of your total background battery usage. You can make changes to settings, charge your for for a while, and let several hours pass, then check the screen off discharge rate and compare it to other discharge periods before you made the settings to determine if the changes you made had much of an effect.
Of course background usage isn't going to be 100% consistent, so the longer you measure the better, as if you look at it over like a 1 hour period, it could be certain apps were just more or less active during that particular hour. But if you compare like half day or more (6+ hour) periods to previous periods, you can get a good gauge if apps setting changes or newly installed apps are eating more battery in the background.
I disable Google feedfack, all their data collecting junk and their data backup too. Google is a pig.
Some blocked Google apks like Playstore are enabled as needed.
Even when Framework and Google Transport are blocked it's sometimes periodically necessary to clear their data to get them from using excessive cpu cycles.
Battery Tracker reports Google Framework running when AOD is on but it's likely misreading as long as battery draw remains at around 1%@hour while phone is screen off.
I'm running on Pie... who knows what Q will do.
Most likely make a bigger mess.

Question WTF s22 battery optimization

Hello guys,
i've reinstalled from scratch my s22 to try to boost my battery performance. Installed the last update and all the apps that i need. First battery cycle 6 hours and half of SOT yeeeeeeeeeeeeeeeeeeeeeeeee!!!
But than comes the crappy part :/ after a full charge from zero with phone in shut down mode i've turned on it and.... almost 4 hours of sot.
WHHHHHHHHHHHHHHYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY!!!!!
Anyone have found the same problem?!?
How can it be possible to go from 6.30 to 4 with the same type of use?!?
DAMN S22!!!
All Samsung's need to be optimized for best performance. 4 hr SOT means you're burning up that battery too!
Turn off all global power management ie adaptive battery. Find the power hogs and deal with each on a case by case basis.
Cloud apps including Google backup.
Keep display brightness on manual and below 50% when possible.
Disable Google, Samsung, app and carrier feedback. Turn off Google Firebase.
Get rid of all installed social media trashware.
Try temporarily disabling Google play Services and see if this helps much; Google backup, Gmail and Playstore are dependencies.
Manually close out apps like Brave browser that insist on running in the background.
Use tap on AOD.
Kill wifi if you don't need it.
Turn off locations when not needed.
blackhawk said:
All Samsung's need to be optimized for best performance. 4 hr SOT means you're burning up that battery too!
Turn off all global power management ie adaptive battery. Find the power hogs and deal with each on a case by case basis.
Cloud apps including Google backup.
Keep display brightness on manual and below 50% when possible.
Disable Google, Samsung, app and carrier feedback. Turn off Google Firebase.
Get rid of all installed social media trashware.
Try temporarily disabling Google play Services and see if this helps much; Google backup, Gmail and Playstore are dependencies.
Manually close out apps like Brave browser that insist on running in the background.
Use tap on AOD.
Kill wifi if you don't need it.
Turn off locations when not needed.
Click to expand...
Click to collapse
I just turned off Adaptive Battery and now the phone is just flying through the apps. Yes, Twitter and co. can still have the occasional hick-up, but it is now significantly improved. I was about to sell the Ultra and already got an iPhone 13 Pro Max, but this is quite literally a game changer. Thank you, my man. Time to get the iPhone back to the store.
I haven't heard of the Brave issue. It doesn't seem to run in the background on my phone. And I don't know why it would if Chrome doesn't. Can you point me to a thread or something about Brave? I use it on all my PCs everyday and quite like it. And on my Kindle Fire, where running background apps are usually very apparent. Have I just not noticed on my phone for some reason?
blackhawk said:
All Samsung's need to be optimized for best performance. 4 hr SOT means you're burning up that battery too!
Turn off all global power management ie adaptive battery. Find the power hogs and deal with each on a case by case basis.
Cloud apps including Google backup.
Keep display brightness on manual and below 50% when possible.
Disable Google, Samsung, app and carrier feedback. Turn off Google Firebase.
Get rid of all installed social media trashware.
Try temporarily disabling Google play Services and see if this helps much; Google backup, Gmail and Playstore are dependencies.
Manually close out apps like Brave browser that insist on running in the background.
Use tap on AOD.
Kill wifi if you don't need it.
Turn off locations when not needed.
Click to expand...
Click to collapse
cuvtixo said:
I haven't heard of the Brave issue. It doesn't seem to run in the background on my phone. And I don't know why it would if Chrome doesn't. Can you point me to a thread or something about Brave? I use it on all my PCs everyday and quite like it. And on my Kindle Fire, where running background apps are usually very apparent. Have I just not noticed on my phone for some reason?
Click to expand...
Click to collapse
It does on my Note 10+/Pie. I can see it doing it on the firewall. So I close it out when not using it. May be just my configuration. Lol it doesn't need run at startup permissions.
Otherwise it's bulletproof, which is why I use it.
No malware ever slipped through it as it and the the N10+ are configured. It's been well tested...

Categories

Resources