Idle battery drain found - Samsung Galaxy S10+ Guides, News, & Discussion

I have s10plus and my battery was very bad. I can't even reach 5h SOT. Then i get serious and at the end i found the problem with the kernel wake lock. I get bug report and i open battery historian and i detailed search everything. The problem was with NlpWakeLock. That's old problem. Nlp stands for network location provider. As you may know, Android provides developers with two ways of gathering location information. One is through the GPS_PROVIDER, which uses the GPS, and the other is through NETWORK_PROVIDER, which uses cell towers and WiFi APs to get your position.
If u want to fix the problem you have to go in Google Maps then on left upper corner and open settings and go to Notifications and disable all notifications.
There is a screenshot and disable everything inside all submenus

Disable all the toggles inside these?
---------- Post added at 05:41 AM ---------- Previous post was at 05:39 AM ----------
https://imgur.com/a/d5MR42J
Disable all the toggles inside these?
---------- Post added at 05:44 AM ---------- Previous post was at 05:41 AM ----------
https://imgur.com/a/d5MR42J

That's what they said...I'm not convinced the fix is that simple but it's certainly worth a shot

I wonder if that is similar to the attached. Edit. Never mind. Its router issue apparantly
View attachment 4769028
Sent from my SM-G975U using Tapatalk

How did you find this drain?

klau1 said:
How did you find this drain?
Click to expand...
Click to collapse
I take bug report in developer settings and upload it in battery historian.

I just disabled Google maps and use Waze

Swimguy14 said:
That's what they said...I'm not convinced the fix is that simple but it's certainly worth a shot
Click to expand...
Click to collapse
It fixed battery idle drain for me. You never know

Nice find. Thanx.

will give it a go and see, i've disabled them all.

Dimi2001 said:
As you may know, Android provides developers with two ways of gathering location information. One is through the GPS_PROVIDER, which uses the GPS, and the other is through NETWORK_PROVIDER, which uses cell towers and WiFi APs to get your position.
If u want to fix the problem you have to go in Google Maps settings and go to Notifications and disable all notifications.
Click to expand...
Click to collapse
Great find! I'm not a heavy user of my S10e that's I was always annoyed seeing 5 to 8% "Cell standby" daily battery usage and now it makes sense if google turns our phones into a radar station. Today it shows just 1% after shutting off yesterday all the Google Maps notifications crap. Had no idea it was there, sneaky, sneaky, sneaky google. They even added food-stuff location 'triangulation' in the latest update.

Just turned them all off as they were all on by default. My battery wasn't terrible but anything that can make it better is worth a try. Thanks for posting!
Sent from my SM-G975U using Tapatalk

Dimi2001 said:
I have s10plus and my battery was very bad. I can't even reach 5h SOT. Then i get serious and at the end i found the problem with the kernel wake lock. I get bug report and i open battery historian and i detailed search everything. The problem was with NlpWakeLock. That's old problem. Nlp stands for network location provider. As you may know, Android provides developers with two ways of gathering location information. One is through the GPS_PROVIDER, which uses the GPS, and the other is through NETWORK_PROVIDER, which uses cell towers and WiFi APs to get your position.
If u want to fix the problem you have to go in Google Maps settings and go to Notifications and disable all notifications.
Click to expand...
Click to collapse
Individually or?
Sent from my SM-G975U using Tapatalk

BL4CK-H4T said:
I just disabled Google maps and use Waze
Click to expand...
Click to collapse
Google maps is a massive drain on the battery. All the social side is activated in setting by default I've switched them all off, their is loads of them I was shocked.
Sent from my SM-G975F using Tapatalk

Just to make sure, should we disable notifications from the options inside the Google maps app, or should we do it through the phone notification settings?
Sent from my SM-G970F using Tapatalk

joaomateus said:
Just to make sure, should we disable notifications from the options inside the Google maps app, or should we do it through the phone notification settings?
Sent from my SM-G970F using Tapatalk
Click to expand...
Click to collapse
It's the Google maps notifications setting issue not the phone in general.

killer70107 said:
Disable all the toggles inside these?
---------- Post added at 05:41 AM ---------- Previous post was at 05:39 AM ----------
https://imgur.com/a/d5MR42J
Disable all the toggles inside these?
---------- Post added at 05:44 AM ---------- Previous post was at 05:41 AM ----------
https://imgur.com/a/d5MR42J
Click to expand...
Click to collapse
the link inst working

jpsrodrigues said:
the link inst working
Click to expand...
Click to collapse
The written instructions are clear. Disable all the 20+ notifications from within the notification settings of Google maps app

I NEVER have a problem with my S10e Exynos
6-6.5 hrs on screen time, in the evening I have 4% loss in 7 hours standby
I wanted to make a quick system with a good feeling throughout the day without any restrictions, without having to think much.
1. Turn off all notifications that are unnecessary.
2. go to Accu
Tap one of the app for a second and immediately send this app to standby after completion. This prevents maps from being "active" in the background for hours after being used. Google Maps, for example, is still "active" long after use (In Google maps I let the notifications ON, because I want to see also with GPS navigation and turned off screen the notification over the last maps message).
Do that, send app immediately in standby, with some apps except: Google Play services, phone services, SMS and Whatsapp alarm clocks etc ... that's not a good idea. otherwise you may miss a message, which should NOT be the purpose.
3. I also shut down the many unnecessary system apps from Samsung with ADB.
No Samsung Account, No Samsung Contacts, No Samsung Calendar, No Samsung WELLBEEING, No Bixby, No Samsung email, Kids and so on ... They're all in the trash.
Google knows me better than me, but I do not need Samsung for that
(I have the Bixby button with Google Assistant occupied, which has the advantage that the phone does not always have to wait for "keywords", which in my idea can also be helpful to save energy).
4. Go to Accounts, see if all accounts that are linked really need to synchronize all services.
Maybe you can omit the one sync here and there ... For example, Google notes, Google Fit ... I do not care if I really need them, I can do that manually with a swipe down in the app itself.
I do not look at energy-saving mode, I always have Wi-Fi, Bluetooth.
GPS only when I need it. Dolby Atmos and night mode is always on.
But I do not play any games that I do in a year only 50 minutes
This brings me to a usage profile of 6-6.5 hours on screen time, in the evening I have 4% loss in 7 hours standby

kraxn said:
I NEVER have a problem with my S10e Exynos
6-6.5 hrs on screen time, in the evening I have 4% loss in 7 hours standby
I wanted to make a quick system with a good feeling throughout the day without any restrictions, without having to think much.
1. Turn off all notifications that are unnecessary.
2. go to Accu
Tap one of the app for a second and immediately send this app to standby after completion. This prevents maps from being "active" in the background for hours after being used. Google Maps, for example, is still "active" long after use (In Google maps I let the notifications ON, because I want to see also with GPS navigation and turned off screen the notification over the last maps message).
Do that, send app immediately in standby, with some apps except: Google Play services, phone services, SMS and Whatsapp alarm clocks etc ... that's not a good idea. otherwise you may miss a message, which should NOT be the purpose.
3. I also shut down the many unnecessary system apps from Samsung with ADB.
No Samsung Account, No Samsung Contacts, No Samsung Calendar, No Samsung WELLBEEING, No Bixby, No Samsung email, Kids and so on ... They're all in the trash.
Google knows me better than me, but I do not need Samsung for that
(I have the Bixby button with Google Assistant occupied, which has the advantage that the phone does not always have to wait for "keywords", which in my idea can also be helpful to save energy).
4. Go to Accounts, see if all accounts that are linked really need to synchronize all services.
Maybe you can omit the one sync here and there ... For example, Google notes, Google Fit ... I do not care if I really need them, I can do that manually with a swipe down in the app itself.
I do not look at energy-saving mode, I always have Wi-Fi, Bluetooth.
GPS only when I need it. Dolby Atmos and night mode is always on.
But I do not play any games that I do in a year only 50 minutes
This brings me to a usage profile of 6-6.5 hours on screen time, in the evening I have 4% loss in 7 hours standby
Click to expand...
Click to collapse
How do you send in app in standby,
And what is "accu"? Accubattery? Battery from settings?
Thank you for your help
Inviato dal mio SM-G970F utilizzando Tapatalk

Related

"Google Play Services" battery drain issue

Anyone have a solution to "google play services" draining 75% of battery?
Thread moved, this is a good question better served in Q and A.
Please post in accordance with the XDA posting Rules.
Not a solution, but more of a workaround: Turn off Location Access in settings. Then force stop Google Play Services.
I know it's not the best solution, but it works (for me at least).
As soon as I turned that off, I got the best battery life my phone ever got (1.8%/h drain on idle). SGS II w/SlimRom 4.2.1.
Unfortunately I use Latitude, so I couldn't leave it off. Now I'm back up to it taking a ton of battery life (4.8%/h idle).
EDIT: I upgraded my ROM at the same time Google split out the location settings for their own apps. I don't know which caused it (or if it was both). However I know from BetteryBatteryStats and Android's own built-in battery meter that it is the network location checking that always has a wakelock (my phone only deep-sleeps about 40-60% of the time now).
It sucks. I have probably 20 minutes of screen time a day and maybe two short phone calls, yet it's dead at the end of the day (and occasionally warm).
EDIT 2: It looks like an Android bug: https://code.google.com/p/android/issues/detail?id=40660
I have the same problems listed there, I don't use Exchange or App auto-updates though, do you?
Probably Fix
Hi, try with this apk ir probably fixes that issue
SamsungAddicted said:
Anyone have a solution to "google play services" draining 75% of battery?
Click to expand...
Click to collapse
---------- Post added at 03:12 PM ---------- Previous post was at 02:47 PM ----------
WolfpackSpartan said:
Hi, try with this apk ir probably fixes that issue
Click to expand...
Click to collapse
Try updating google play to 4.1.10
I had 4.1.6 and also battery drain, now im trying it.

[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.

Battery optimization

What exactly does that feature do on an individual app? Security apps like cerberus recommend not using it.
Sent from my Nexus 5X using Tapatalk
Hi
km8j said:
What exactly does that feature do on an individual app? Security apps like cerberus recommend not using it.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
During Doze mode (this kicks in when you've not moved or used the phone for a period of time, such as overnight when it's left alone) stops apps from waking the phone or running background tasks, the idea being if the phone isn't being used, it's a waste of power for apps to keep going off on line chattering or receiving notifications and displaying them to the user. Notifications that you might have got immediately, don't ping through until you press the power button the next morning.
I suspect security apps like Cerberus don't want to partake in Doze mode as they want to wake your phone up every few hours regardless and scan it, or be able to download new signatures any time.
Despite setting an app to not be optimised, it still gets stop from waking the phone using alarms during Doze (alarms are something an app can set to say wake the phone up and run the app every 10 minutes or on the hour etc). However the developer of the app can work around this by setting a new type of alarm, for Google this work around is easily detected and it wouldn't surprise me if they start alerting on the Play store about apps that are potential battery drains because they by-pass Doze. Of course some apps have to, for example an alarm clock to wake you in the morning, or something like Tasker that you set to run things at specific times, so it will be up to the developer to explain why and the person downloading to make a decision about it.
Regards
Phil
Hi
PhilipL said:
However the developer of the app can work around this by setting a new type of alarm, for Google this work around is easily detected and it wouldn't surprise me if they start alerting on the Play store about apps that are potential battery drains because they by-pass Doze. Of course some apps have to, for example an alarm clock to wake you in the morning, or something like Tasker that you set to run things at specific times, so it will be up to the developer to explain why and the person downloading to make a decision about it.
Click to expand...
Click to collapse
That was my post in October, this happened to Tasker: http://www.androidpolice.com/2015/1...y-reasons-this-time-its-the-notorious-tasker/
It seems Google has perhaps pulled the plug on Tasker a bit too quickly due to a BETA version, but I think overall this approach is good for Android if it gets rid of battery draining apps, which usually are up to no good downloading ads or sending back data for marketing reasons. Obviously some apps are the exception to this like Tasker, which will need this exception to continue working correctly, as otherwise it will be restricted to one wake-up every 15 minutes only when the phone goes into doze mode.
Regards
Phil
PhilipL said:
Hi
That was my post in October, this happened to Tasker: http://www.androidpolice.com/2015/1...y-reasons-this-time-its-the-notorious-tasker/
It seems Google has perhaps pulled the plug on Tasker a bit too quickly due to a BETA version, but I think overall this approach is good for Android if it gets rid of battery draining apps, which usually are up to no good downloading ads or sending back data for marketing reasons. Obviously some apps are the exception to this like Tasker, which will need this exception to continue working correctly, as otherwise it will be restricted to one wake-up every 15 minutes only when the phone goes into doze mode.
Regards
Phil
Click to expand...
Click to collapse
Interesting reading. The question is why they even allow apps to use permission for ignoring doze, whe it most liley means ban in Play Store. Should be available to system apps only.
Note: Google Play policies prohibit apps from requesting
direct exemption from Power Management features in Android 6.0+ (Doze and App
Standby) unless the core function of the app is adversely affected.
Click to expand...
Click to collapse
Now the question is what authority can JUDGE whether certain app needs it or not.

Overnight Battery Drain

I have stock rom 3.2.7, rooted, xposed installed. I use Greenify and hibernated all apps except whatsapp and also cleared recent apps before going off to sleep. I had 23% battery when i went off to sleep at 00:30. When i woke up at 06:30 my phone was switched off. When i tried to switch jt on it said charge a little before switching it on in red letters. I fail to understand reason for drain, during daytime i get satisfactory battery life. Please help/advise.
Oxygen OS have had standby battery drain issues from the very beginning. The fault is not with the settings or with any of the apps installed.
Try a custom ROM if you want better standby life, like Sultan's CM13 or AOKP.
It happened same to me last night for first time (I have OP3 from june). I fully charged phone at 23:00, went to sleep. When I woke up at 6:00, phone was warm and switched off.
Did u turn on Doze in Developers options? That might explains it.
Settings > Backup > disable Google backup. Massive battery drainer.
If you dont use Google now, disable it. (I haven't and I still get only 5-6% drain overnight)
Any Bluetooth devices syncing overnight? I have found MiBand and MiFit app to be massive drainers.
Location services: if using Google Now, turn to device only, otherwise disable
Also disable WiFi and Bluetooth scanning from location settings.
Make sure greenify is actually working. Using the broom icon to clear recents app will stop greenify, unless it is locked in recents.
Use aggressive doze in greenify
Wipe data from Google play services. Wipe dalvik and cache from twrp
Install amplify. Even if you are not using paid version, you will still be able to find out wakelocks, alarms and services
Another app I'd recommend is wakelock detector.
Demian3112 said:
Did u turn on Doze in Developers options? That might explains it.
Click to expand...
Click to collapse
I did not turn it on. But eventually it was on by default
ungeeked said:
Settings > Backup > disable Google backup. Massive battery drainer.
If you dont use Google now, disable it. (I haven't and I still get only 5-6% drain overnight)
Any Bluetooth devices syncing overnight? I have found MiBand and MiFit app to be massive drainers.
Location services: if using Google Now, turn to device only, otherwise disable
Also disable WiFi and Bluetooth scanning from location settings.
Make sure greenify is actually working. Using the broom icon to clear recents app will stop greenify, unless it is locked in recents.
Use aggressive doze in greenify
Wipe data from Google play services. Wipe dalvik and cache from twrp
Install amplify. Even if you are not using paid version, you will still be able to find out wakelocks, alarms and services
Another app I'd recommend is wakelock detector.
Click to expand...
Click to collapse
Google backup on. Google now on. Bluetooth off. Location services on.
I clear all recent apps n go off to sleep, i still get whatsapp messages after clearing it, so if whatsapp works so should Greenify.
Google stuff is on throughout the day but i dnt get drains, it's only during night, so i guess the reason should be different.
I l try aggressive doze and amplify and wipes but i guess theres something v r missing.
Thanks
sunnyvarma222 said:
I did not turn it on. But eventually it was on by default
Google backup on. Google now on. Bluetooth off. Location services on.
I clear all recent apps n go off to sleep, i still get whatsapp messages after clearing it, so if whatsapp works so should Greenify.
Google stuff is on throughout the day but i dnt get drains, it's only during night, so i guess the reason should be different.
I l try aggressive doze and amplify and wipes but i guess theres something v r missing.
Thanks
Click to expand...
Click to collapse
Why not install better battery stats or gsam battery monitor and see what drains battery... Just create a custom reference point while going to sleep and see in the morning.
sunnyvarma222 said:
I did not turn it on. But eventually it was on by default
Google backup on. Google now on. Bluetooth off. Location services on.
I clear all recent apps n go off to sleep, i still get whatsapp messages after clearing it, so if whatsapp works so should Greenify.
Google stuff is on throughout the day but i dnt get drains, it's only during night, so i guess the reason should be different.
I l try aggressive doze and amplify and wipes but i guess theres something v r missing.
Thanks
Click to expand...
Click to collapse
If you completely clear recents, Greenify most probably will not work. Its dev Oasisfeng himself says so.
Apart from that, a BBS idle dump is the only way to identify the culprits.
tnsmani said:
If you completely clear recents, Greenify most probably will not work. Its dev Oasisfeng himself says so.
Apart from that, a BBS idle dump is the only way to identify the culprits.
Click to expand...
Click to collapse
I will clear all apps n then run greenify n sleep 2nite n revert back the results
Having same problem.. i thought my oneplus 3 is defected one.. but then here we go. Even i am doing the same. Let's see what comes tomorrow morning. Will update. Keeing my WIFI on.
tnsmani said:
If you completely clear recents, Greenify most probably will not work. Its dev Oasisfeng himself says so.
Apart from that, a BBS idle dump is the only way to identify the culprits.
Click to expand...
Click to collapse
I cleared all apps then opened Greenify with aggressive doze on and went off to sleep with battery at 30% and when i woke up it was at 6%. Wifi always on and connected to my home network
Lost 12 % overnight gsm battery saying that held awake... And dont know what is holding my device awake... On samsung i use to lose 1% overnight.
Ps getting network error not able to post screenshot
---------- Post added at 05:26 AM ---------- Previous post was at 05:18 AM ----------
I guess its whatsapp app backup which is holding the device awake and bcking up on google driver... Not sure though just a hunch. But 12 % is too much to lose.
Just look in to Settings - Battery and if the Google Play services is in the top the process called *net_scheduler* is cause. The problem is global not only for Oneplus users.
gizmoid said:
Just look in to Settings - Battery and if the Google Play services is in the top the process called *net_scheduler* is cause. The problem is global not only for Oneplus users.
Click to expand...
Click to collapse
I also own Samsung grand max and it doesn't show any battery drain overnight. And yes i can see "Google services" used my battery but not "google play services"
My Google Now is turned on and my OP3 lasted almost 3 full Days this Weekend with Just 1h SOT.
Google Now is not a huge Drainer for me. I recognized that it is useful to restart your Phone from time to time.
sunnyvarma222 said:
I cleared all apps then opened Greenify with aggressive doze on and went off to sleep with battery at 30% and when i woke up it was at 6%. Wifi always on and connected to my home network
Click to expand...
Click to collapse
Please post an idle dump from BBS which will indicate which is/are the culprit/s. Also post screenshots of your Battery page in Settings of the phone and Battery History Details.
How is the mobile signal at home?
---------- Post added at 03:06 PM ---------- Previous post was at 03:01 PM ----------
Sagar.Aman said:
Lost 12 % overnight gsm battery saying that held awake... And dont know what is holding my device awake... On samsung i use to lose 1% overnight.
Ps getting network error not able to post screenshot
---------- Post added at 05:26 AM ---------- Previous post was at 05:18 AM ----------
I guess its whatsapp app backup which is holding the device awake and bcking up on google driver... Not sure though just a hunch. But 12 % is too much to lose.
Click to expand...
Click to collapse
Till you reach atleast 10 posts, you will not be able to attach files or screenshots. You can upload them to a third party site and post the links here (without http or https).
You can also post an idle dump from BBS and screenshots as explained above. I will try to help to the best of my ability.
Greenify won't work if you clear recents using broom icon because that disables accessibility settings for greenify. Lock greenify in recents before using broom. Also make sure that accessibility settings, device administrator and usage access settings have been enabled for greenify.
I'd still recommend turning off Google backup
tnsmani said:
Please post an idle dump from BBS which will indicate which is/are the culprit/s. Also post screenshots of your Battery page in Settings of the phone and Battery History Details.
How is the mobile signal at home?
---------- Post added at 03:06 PM ---------- Previous post was at 03:01 PM ----------
Till you reach atleast 10 posts, you will not be able to attach files or screenshots. You can upload them to a third party site and post the links here (without http or https).
You can also post an idle dump from BBS and screenshots as explained above. I will try to help to the best of my ability.
Click to expand...
Click to collapse
Ok last charge i got 5 hr SOT with greenify its was facebook and google play i guess. Let me test few more days ill keep reporting
I'm getting about 6% battery drain over night with wifi off whereas my Samsung Tab S2 drains only 1%. :silly:
The signal quality isn't the best where I live so that could explain the difference. I'm also using 2 sim cards. Does this mean I will consume twice the radio power?
I installed bbs. Locked Greenify and bbs in recent. Activated Greenify in accessibility and administrator. Will post results in day or two

google play services

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.

Categories

Resources