Question [Q] Adaptive battery brings restricted background apps back to optimized - Google Pixel 7 Pro

Got weird observation - curious, if it's only in my case or it's typical.
1. I restrict background usage of the app (doesn't matter which one - google apps as well as 3rd party) with adaptive battery on.
2. After a while (let's say few hours) this app goes back to optimized by itself.
It happens with most of my apps. I can restrict 30 apps and after short period of time only 5-6 stay in restricted mode.
Has anyone got the same problem and/or can share a solution?

Same for me, just wanted to search if iam the only one. Although I think it takes days or weeks for me. Maybe it's a setting we Activate which deletes it (maybe Using adaptive battery?)

I have adaptive battery on and restricted apps, and they stay restricted.
I don't open these apps though, perhaps if you open'restricted' apps they become optimised, which makes sense.

piotrkruczek said:
Got weird observation - curious, if it's only in my case or it's typical.
1. I restrict background usage of the app (doesn't matter which one - google apps as well as 3rd party) with adaptive battery on.
2. After a while (let's say few hours) this app goes back to optimized by itself.
It happens with most of my apps. I can restrict 30 apps and after short period of time only 5-6 stay in restricted mode.
Has anyone got the same problem and/or can share a solution?
Click to expand...
Click to collapse
Thats weird, all my restricted app stay restricted with adaptive battery on

I've the same problem, restricted app goes back to optimized

I have the same problem as well, but I thought they reverted back to optimized following a phone restart - I thought that was the trigger. Anyone else confirm?

Psychlone said:
I have the same problem as well, but I thought they reverted back to optimized following a phone restart - I thought that was the trigger. Anyone else confirm?
Click to expand...
Click to collapse
that should not be the trigger, i restart my phone often and I don't think it ever reverted back because of this.

Hi, I have the same problem with or without adaptative battery. Any solution?
It's annoying because I have Youtube Vanced with MicroG and sometimes MicroG consume a lot of battery. And if I choose restrictive battery, this come back to optimized
PD: I'm not root
EDIT: Not only bring it back to optimized, Garmin connect app backs to unrestrictived (it's default for Garmin app).

Related

Battery

I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Dr_Nacho said:
I know I've made a few posts about this in the past, but now I've learned a few things since then.
I know the battery isn't the greatest on the infuse (no rom that I'm using atm..) but would like to get the most juice out of my device that I can. I have root access and currently use the apps "battery calibration" and "no-frills CPU control" which I set my cpu at a relatively low frequency to help keep juice.
My phone is drained throughout my day, even without use. I believe it primarily happens because my data (mobile network) consumes it. I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery. However, I have used this application in the past and after a few days of use, it shuts off my mobile connection altogether.
My question is, if I were to use this application again and my mobile network were to malfunction, would I be able to change my apn to regain my network connection? In the past I had to reset my phone to regain connection, which isn't really worth using if that's the only solution.
Or are there any other battery saver apps worth using??
Thanks
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Click to expand...
Click to collapse
A bit more information is needed before a specific course of action can be recommended. How much battery life are you using in an average 24 hour period? Also, what version of Juice Defender(beta, free, plus, ultimate) are you using, and what specific settings are you utilizing. It is a very customizable program after all. You might look into Battery Indicator Pro, which estimates your total remaining battery life based on your level of usage. I would also recommend CPU spy, which, if your device is rooted, will show the percentages that your device is running at various CPU levels.
If you turn off all the locational stuff, turn off 'update my current location' in Navigator, and set your CPU gov to conservative, you might get better battery life. I've not had any lasting luck with any of the battery saving apps. In the end, I decided to buy a couple of Anker batteries from Amazon just in case I have a bad battery day... Also some of the battery saving mods work, but I'm not sure about applying them to ICS and JB ROMS. I haven't tried!
Battery life is what you make of it..
Anything running in the background will drain the battery.. email constantly checking for new messages, twitter, Facebook, GPS, WiFi if no connection is found, etc..
Anything that makes the phone process even while the screen is off is going to kill a battery..
What ROM are you using? Some ROMs have better life than others..
How much are you actually using the phone?
What's the brightness set at?
Have you tried changing the processor and slowed it down?
Lots of information that is missing is helpful..
Its powered by Jellybeaned AOKP!
I know apps such as "juice defender" are great at reducing idle drainage because it shuts off your network connection while in idle to save battery
Click to expand...
Click to collapse
Some have good luck with these, others don’t. I prefer to try to adjust settings myself.
I believe it primarily happens because my data (mobile network) consumes it.
Click to expand...
Click to collapse
How about putting a widget on your homescreen to toggle data on/off. Keep it on only when you need it. I go a step further, I use Tasker to automatically turn my data off every time my screen times out (because that means I’m not using it... I can restart my data later with my widget when I need it). Maybe that’s extreme, but I’m not just watching my battery.. I’m managing my limited data plan.
My phone is drained throughout my day, even without use.
Click to expand...
Click to collapse
It may be that you have wakelocks keeping your phone awake when it’s supposed to sleep. One way to see this is (in GB or above) Settings / About-Phone / Battery Use...then click on the small graph at the top... should expand it to a large graph with traces along the bottom including Awake and Screen On. If you have long periods of time where phone is awake while screen is off, that’s a wakelock problem. A good program to troubleshoot that is Better Battery Stats. If nothing else, follow the instructions in the first post in the BBS thread linked below, and then post a dump to the end of that BBS thread (the developer and a lot of other knowledgeable people follow that thread and will help you interpret results):
http://forum.xda-developers.com/showthread.php?t=1179809
Thru use of BBS, I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
electricpete1 said:
I found that Google Maps is one that was keeping mine awake and I think someone else on the forum reported the same. If that program (Maps) is causing problems, you can disable it from auto-starting on boot using Gemini Manager. It will still be available when you need it, just take a few seconds longer to load the first time after boot. Then need to reboot to stop it from causing wakelocks after use (there may be other easier ways, but this works for me).
Another program (Power Tutor) was helpful to me to see programs that were consuming unusual amount of battery although not necessarily thru wakelocks. In my case Dolphin Browser HD was occasionally drawing very high power even when that program was not actively in use.
Click to expand...
Click to collapse
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
atrix4nag said:
So how can I stop maps to running in background? only rebooting the device is the only option?or is there any other option?
TIA
Click to expand...
Click to collapse
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
electricpete1 said:
Just to provide more details on my previous post (not sure if it's answering your question):
I followed instructions here:
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059
In particular, I installed the free program "Gemini Apps Manager". That allows you to stop programs from auto-loading at boot.
So I used the program to stopp Google Maps from auto-loading at boot.
That stopped a large chunk of my wakelocks, as long as I don't manually launch Google Maps.
If I do manually Google Maps, then those wakelocks come back, and to get rid of them I have to reboot.
I don't use Maps that often (only when I go on trips), so it's not a big problem for me to reboot when I'm finished with my trip to help keep my battery use low.
It may also be possible to kill it from the list of applications at Settings/Applications/ManageApplications and killing botht the application and the process...but I'm not sure if it will stay killed that way... haven't tried. I know some applications have hooks that make it hard to get rid of them once they're launched.
But (if you haven't already), I think it's a good idea to use BBS to find out what programs are causing problems on your phone. You may have other apps causing lot bigger problems than Maps. And it certainly may be the case that a program that acts up on one phone can be fine on another phone due to differences in the way the user configures the application settings and the phone settings (along with other possible differences in application version, ROM used, etc etc).
Click to expand...
Click to collapse
Thanks for your detail explanation. My main question was how can close the app without restarting? i feel my major battery drain is from dolphin browser, befor dolphin i used opera, even that has the same problem. Most of the time, if I dont open dolphin, my phone battery is good, but once I open it, it drains battery. So i am looking for soemthing simple which does, without rebooting the device.
Any way thanks for your help.

[Q] Help with Tasker

Hey everyone, first I'm not really sure if this belongs in a Tasker forums. Seeing as I use a N5, I figured it could also go here. Anyway, I've been having some problems with Npl wakelocks. I downloaded wakelock terminator with xposed and it seemed to have helped, however something didn't seem right as my battery was draining the same amount as when the wakelocks were happening. The only time I wasn't having the drain was when location was set to device only, which makes sense.
I'm completely new to tasker. I've watched a few tutorials and I've messed around with it a bit but with not much luck. I wanted to do one of two things. Either have location set to battery saver/high accuracy when the screen is on, and have it set to device only when the screen is off. Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time. I feel like this shouldn't be that hard but I messed around with it and got no where. Anyway, what are your guys' opinion about this strategy and would anyone be able to help me with implementing these tasks. Thanks!
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Lokke9191 said:
I wouldn't go the route of using tasker for your problem. And I would ditch that xposed module for wakelocks too. I run rooted with xposed on high accuracy at all times. My battery life is great. You need to find the source of your battery drain and eliminate it. Don't look for a bandaid fix using tasker. My guess is you have some rogue app killing your battery. Give us a list of all your apps, or delete them all, and install them one by one to track down the culprit. Also, are you running stock Rom and kernel? What other mods do you have?
Click to expand...
Click to collapse
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
PsychDrummer said:
Another option is to have it set to battery saver/high accuracy when google now/maps is open and device only the rest of the time.
Click to expand...
Click to collapse
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
PsychDrummer said:
I can run the phone as normal today with location and everything on and post my BBS log after. Basically, when I'm at home the battery is great. However, ever since updating to the new google search app I've been having extreme wakelocks from the Npl whenever I would leave my house. Which is why I found a thread on xda that was talking about that exact wakelock. You're right though. I'm going to get rid of the app because it seemed weird. The wakelocks weren't showing up on BBS but I feel like it didn't get rid of them. Who knows though, maybe you're right and it is something else that's draining the battery which is why the wakelock app didn't help.
Anyway, I'm running stock ROM/kernel with xposed. I use greenify module, appOpsX, snapshare, gravity box, and gesture navigation module. With gravity box I just use custom quick settings, smaller nav bars, some status bar mods like the day and double tap to sleep. However, again I have had the same GB mods since before the drain. I use a pebble however I've never had a drain from that and I've been using it since Dec. Most of my apps are greenified including facebook, instagram, as well as all my music streaming apps. A lot of the google services I don't use are disabled like books/magazines/movies. I have snapchat, but I don't use it too much, and facebook messenger that I don't greenify. When I check GSam stats though, android system and kernel take the most battery, followed by music players if I was streaming music that day. The rest of the apps are way down the list.
I posted in the battery thread asking if anyone had the same problem with the wakelocks after having the latest google play services. I noticed mine is still 4.3 for some reason so I might just update manually from androidpolice and see if theres a difference. But yeah, I will keep this updated with todays logs.
Click to expand...
Click to collapse
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Lokke9191 said:
Try this. Use titanium backup to uninstall Google play services and Google search. Then launch maps, and reinstall both from the play store.
Click to expand...
Click to collapse
What would that do though?
jj14 said:
This is what I ended up doing. You will need the secure settings plugin for tasker.
Set up a new profile for application "Maps".
When on, launch task GPS On (Secure settings, configuration GPS enabled)
Exit task, launch task GPS On (Secure settings, configuration GPS disabled)
I used the app factory to create an app for this, and use that on my N5 and my second phone too. Works great. Enables GPS when I launch Maps for navigation, and switches to battery saving when I exit Maps
Click to expand...
Click to collapse
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Aerowinder said:
Just run device only all the time, like everyone else does. It's a problem with Google's code, and the same bad coding is clearly seen throughout their entire app lineup.
Click to expand...
Click to collapse
Well, I actually like to use maps and google now. However, I don't actually need the location on when I'm not using either of the two services which is why I wanted to setup tasker.
It'll change them from being system apps to user apps. This has solved nlp wakelocks for many others experiencing the same problems.
PsychDrummer said:
Thanks! So, how would I set this up using device only/high accuracy? I'm also super new to tasker so if you don't mind I might PM you asking for help.
Click to expand...
Click to collapse
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
jj14 said:
Sure.
It isn't that hard - install the secure settings plug in first, and when prompted, give it Superuser access. Then, create a new profile in tasker - call it whatever you want. Set up the profile for the application "Maps"
When Maps is launched, set it up to fire a new task (I called it GPS On) - this task just enables the GPS setting in the secure settings (under third party plugins)
GPS on -> high accuracy
GPS off -> battery saving mode
Set up an exit task (I called it GPS Off) - this turns the GPS settings in the secure settings off.
I can send you the apk if you want (but you don't really know me, so you probably shouldn't use an apk from a stranger! lol!), or you can try to import this attached xml into tasker (rename the file to remove the .txt extension - filename will be AutoGPS.prj.xml) - the xml option should be safe.
I haven't tried importing an xml, but it should be fairly straightforward (Save profiles in /sdcard/tasker/profiles and then, in tasker, long press the profiles "tab" and "import"). Before doing this, backup your existing profiles in tasker, just in case. Also, make sure you have secure settings set up before you import this.
Click to expand...
Click to collapse
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
PsychDrummer said:
Cool, thanks I will give it a try. And it would be the same if I want to have location on when using google search/now?
Click to expand...
Click to collapse
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
jj14 said:
Yes, it should be. But in my experience, I haven't found Google Search/Now really requiring high accuracy GPS level location for any of the features yet. It gets by fine with just battery saving mode. So, I only enabled this for the Maps application.
Actually, now that I think about it, I don't know how you'd enable it for Google Now - since it runs in the background to notify you about upcoming events. Since you aren't launching Google Now most of the times, I don't know how you'd set up Tasker to enable the high accuracy GPS for that (and it is possible that Google now using active GPS may be part of the battery drain issue - I don't know for sure)
Click to expand...
Click to collapse
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
PsychDrummer said:
I actually wanted to keep the device on "device only" location instead of battery saving. For Google now I wanted the traffic card, but I would only need it if I physically open google now. I don't really need the notification.
Click to expand...
Click to collapse
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
jj14 said:
To keep device only, you should use Location mode (in secure settings) and set it to Device only or whatever you need, instead of GPS.
Note that "Device only" still uses active GPS and "This mode may use more battery power and take longer to determine your location" (Ref: https://support.google.com/nexus/answer/3467281?hl=en)
The traffic card still works on "battery saving" because it uses cellphone triangulation, and shows you the traffic in your vicinity, and based on your destination.
Click to expand...
Click to collapse
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
PsychDrummer said:
I know, I have always used battery saving. The problem is that with battery saving, I'm having these extreme wakelocks and Google is constantly searching for my location which is what I think is the cause of the drain I'm having. I'm going to use my phone today by just using device-only location and see how the battery lasts. It should be much better since I'm hoping the phone will be deep sleeping longer. Basically, when I take my phone off the charger in the morning and I'm still at home for the first 2 hours of the day the standby time is great. It usually goes down 1-2% in those 2 hours even if I use the phone a little. However, once I leave the house is when I get constant wakelocks from location services and the battery stats to deplete a lot faster. I mean, I can still get through a day just because I don't use the screen a lot. I tend to only use about 1 hr 30 min on a regular day but I just want to play around with settings to see what works.If I can get the same standby time throughout the day that I get within the first two hours when im at home that would be great.
Click to expand...
Click to collapse
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
jj14 said:
That's strange. With battery saving mode, I get no wakelocks, which with device only or high accuracy, I used to get a lot of wakelocks by the location services.
But yes, no harm in trying out the options. Tasker+secure settings should be able to set up the battery saving or device only (as described above)
Click to expand...
Click to collapse
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
PsychDrummer said:
You get Npl wakelocks? So far I haven't gotten it and that's the wakelock that usually keeps my phone awake for 2 hours or so. basically, I think the way it works is that the device only setting uses more battery when using apps that use location such as maps but when the apps are not in use it uses no battery on location.
Click to expand...
Click to collapse
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
jj14 said:
No. Ever since I switched to battery saving (and tasker toggling to high accuracy when I use maps), I have no location based wakelocks (no NPL wakelocks)
Click to expand...
Click to collapse
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
PsychDrummer said:
Interesting, I've been having the opposite. I even took a screen shot of the wakelocks on the stock battery app where when the screen is off there's a huge amount of individual lines for awake (of course this is backed up by BBS). However when using device only the awake and screen on match almost perfectly.
Click to expand...
Click to collapse
Not sure why the difference, but regardless, as long as the individual 'fix' works, that's all that matters

Explanation of Nougat Battery Consumption and Workarounds for Better Battery Life

Hello guys. This topic is pretty long and it is hard to read all of it but try to read all of it till end.
Well, let me begin. The main problem of the nougat update is the dramatic increase of battery consumption (for me at least) But why this is happening?
Actually this is a matter of battery managers. Huawei had created a great phone but obviously they messed things up in the software side. Google announced "Doze" feature with Marshmallow. If we could have a brief explanation of "what doze is" is it is basically a battery protection policy created by google. In Android, apps have the ability to use what’s called a “wakelock” to prevent your phone from going into a power-saving deep sleep mode. This deep sleep mode usually kicks in when your phone’s screen is off, but that can get in the way of how some apps work. For example, if you’re using a fitness tracker, you don’t want your phone turning off GPS or your accelerometer just because your phone is in your pocket with the screen turned off.
In principle, this is a good concept. Apps keep your phone awake and working when they need to, and let it sleep when they don’t. This is a problem, though, when every developer thinks their app is important enough to keep your phone on all the time. That’s why apps like Facebook kill your battery, even when you’re not using them.
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device). Here is a graphical explanation of how doze works versus time:
http://itresan.com/wp-content/uploads/2016/05/doze-header.jpg
Doze helps solve this problem by periodically blocking wakelocks and shutting off network access if your phone goes unused for a while. It will then periodically allow apps to check in during “maintenance windows” every so often (these windows occur less frequently the longer you don’t use your device)
If we turn back to the main topic, as I mentioned before, Huawei has some difficulties combining it's own features with google's. Huawei has its own battery manager. That's why you are not receiving some notifications from facebook or whatsapp. That is because that freaking battery manager shuts everything off but still, since it has a very poor approach, the system drains battery. It is basically a matter of doze does not kicking in. As you can see, the battery usage when the screen is turned on is about the same. However, the same thing cannot be seem when the screen is off.
So what to do in order to save some juice?
-There is some workarounds for doze kicking in like these ones:
https://play.google.com/store/apps/details?id=com.yirgalab.dzzz
https://play.google.com/store/apps/details?id=com.suyashsrijan.forcedoze
These two apps have different approaches. I prefer ForceDoze as it seems the google's intended way.
I want to highlight this item because this might be the most important thing in this topic. If you don’t do anything with your phone, Doze will still do its job. It runs almost invisibly in the background. Occasionally you’ll get a few messages at once, rather than spread over a few minutes, but for the most part there’s no noticeable change. In other words this is a bit different from the conventional full deep sleep and you do not have to afraid from doze as you do with the full deep sleep.
-DO NOT CLEAN YOUR RAM TOO OFTEN. This will cause closed apps re-open and hence, more cpu usage.
-No! Cleaners, Task managers and other stuff does not work! As I mention before, they even lead more battery consumptions.
-Huawei has poor google service implementations. Even one or two implementation has some bugs that causing battery drain(for example: google backup). Try to turn them off.
-Know when to reboot your phone. Too frequent reboots may do the same thing as you cleaning your ram. However, rebooting cleans app caches so the system will work smoother. Once a week or two weeks is fine I suppose.
Please hit the "Thanks" button if you like and please point out the missing things and if you see a mistake please warn me for correcting it. I hope you liked the topic.
Have a nice day!
Doze is problem for me. I don't have push notification by the night.
darrr1 said:
Doze is problem for me. I don't have push notification by the night.
Click to expand...
Click to collapse
It's probably not because of the doze but the huawei's power manager itself.
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
darrr1 said:
Problem starts when phone is not active longer than 2-3 hours. In root I removed phone manager and it did not help fix the push notification problem
Click to expand...
Click to collapse
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
I did everything what I can without succes.
furkey said:
Assuming that you are on huawei release (not los releases), untick your app from close apps after screen lock. Then go to apps, settings, special access, and make the system ignore battery optimizations for the spesific app you want to get notification from.
Click to expand...
Click to collapse
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
xtcislove said:
first thanks for this tip. i hate it that i dont receive whatsapp messenges all the time, i hope it will work now.
BTP:
I assume huawei did not remove "doze" from our firmware, but maybe they replaced it with theire own battery manager?
Is there a complete source for doze, so we can check if everything is there? If yes it should not be that hard to activate doze and deactivate the huawei one.
But i guess we need at least the kernel sources to clear things up?
Click to expand...
Click to collapse
Doze is not on kernel level but it is on software level. Programmatically we can activate what is left from doze or at least simulate it. However, if there is a certain need for doze we should cook a whole new rom and yes, it requires open source too.
But, let's clear a thing here: Huawei did not completely removed doze. Actually, I think they can't do that if they wish to use Android. Just some settings of Huawei conflicts with doze and prevent its functioning.
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
antimatter.web said:
I'm using the honor 9 with emui 5.1 (android 7.0) and screebl (app used to control how and when screen locks/times out) is constantly getting killed. I have added it to ignore(=allow to run) in battery optimization and it's activated as a device administrator. It is not selected to close (power intensive app prompt) or instructed to close when screen goes off. Yet it repeatedly is getting killed - is there something else I need to do? I can't seem to find anything else I can do to stop it from being killed and it's a major nuisance.
Click to expand...
Click to collapse
Could you finally solve this?
I also have and Honor 9, and have the same problem with aplicacition radardroid. Is getting killed, and also have all configured to prevent this...
Try by having both in the Settings
-Battery/Close apps after lock screen (uncheck in the list)
-Apps/Settings gear/Special access/Ignore battery optimization (make it allowed)
Thank szgfg,
Both are already well configured, but still closing the app.
mikicl said:
Thank szgfg,
Both are already well configured, but still closing the app.
Click to expand...
Click to collapse
Check also is not being closed by the automatic cleanup (so add it to clean whitelisted apps) and that is not being closed due to high consumption...disable that on battery settings... Let the advertisement but do not let phone administrator close that apps automatically
Enviado desde mi EVA-L09 mediante Tapatalk
Hi jcalderonv74,
Thanks for your answer. I didn't know about the clean whitelisted apps, was a surprise to find it. But unfortunetly, everything was well configured.
Option to avoid being closed due to high consumption was already OK.
So nothing to change, everything was as it has to be. Seems more a software problem in EMUI 5.0
After some days without touching anything in the phone's configuration, finally observed that everything is working fine. All aplications configured keep opened, and it's only Radardroid aplication that sometimes closes alone (only sporadically after a recent update)
Seems more an error in Radardroid aplication that in telephone's software. So I'm not worring more about that.

[GUIDE] Improve Battery life and performance (no root)

MFirst of all i want to apologyze for my bad English.
After the nougat update i start getting a really bad battery life and have to charge the phone 3 times a day. I start digging in the problem and do test in search for a better battery. I managed to improve my 3hous SoT to get between 4.30 to 6 hours SoT.
The tweaks in this guide are not magical, there are just tips that help me improve a lot my battery life. There is no need to unlock bootloader or to root the phone. The idea is to make a good balance between functionality and battery life. Everyone can choose what thinks they want to sacrifice for battery life and what they want to keep. All the steps that are listed here are reversible and can't harm your device in any way. It is pointed to people that do not know a lot of this subject.
My advice is to full apply all the steps and after getting a good battery life start to enabling the features that you want to have on the phone one by one and test battery.
At the end of this guide there is a section with improvements wich aim is to make the moto x style look like more like the news motorola Phones.
Simple Tips for Battery life:
-After a major OS upgrade it is important to do a full factory reset, full wipe. When logging with your google acount start the device as a new device. Do not restore apps!
-Try to not use the Turbocharger. Based on my own experience, a good 1-2 Amp charger get a lot more juyce that the turbo charger. It may sound weird to you but i tested this a lot of times and really see and important difference. I only use the turbocharge when i am in a hurry.
-Do a full calibration of your battery. Let the battery get to 0%. Turn the phone off and let it charge to 100% and left it plugged a little bit more. After that unplugg the phone, restart it and see if the % is still 100%. If not plugg the phone again after a 100% charge and repeat the process until you get a full 100% charge or near that number.
-A good advice if to left the phone charging in the nigth, or when you think it is a good moment. After get to 100% of the charge, unplugg the phone, restart it and plug it again. For my the battery is not getting a good reading after Nougat update. After a restart i always "lost" like 8% of charge. I do this every time i charge the phone.
-The NOUGAT room is draining battery very very fast when there is bad celular signal. So if you are not having a good celular signal it is a good advice to put the phone in airplane mode until you change your location. Also, there is drain with bad wi-fi signal so try to avoid that too. It is not strong like the celular drain but can influence in your final results.
-Turn off location when you are not using it. If you have to use it try to use the "battery saver mode" and put high accuaricy when you are going to use the GPS for a precise fix or navigation. Google Play Services have and excess use of wackelocks due to location, they are listed ass NLPcollectorwackelock and NLPwackelock.
-If you are on Wifi turn off data and if you are in data turn off Wifi. If you can use both try to use Wifi with a good wifi signal. It uses a little bit less battery that 4G for me.
-Unninstall apps that you are not using or going to use in a short-mid time. They may be running in the background and eating
juice.
-Turn off automatic brigthness. Put your brigth to the minimun you are happy with. I used mine almost in the minimun and i see the screen perfect. Also remember that the power scale is non linear. Putting the wheel in the half of the brigthness bar is not getting you "half the brigthness of the screen".
Download autobrigth switch https://play.google.com/store/apps/details?id=com.abrody.brightness&hl=es_419 .This make you turn autobrigthness on with a click. This is very usefull if you are outside, let you see the screen with 100% and then let turn it off when you are inside. It is a easy way to manage brigthness.
IMPORTANT:When you are not using your device it must go to sleep mode. It is a mode where the CPU is almost turned off and it doens't drain much battery. Later in this guide i will explain how to properly install a Battery monitor program. It is very important to watch if the device is sleeping ok and there aren't apps with bad behaviours keeping the device awake and draining your battery. This can be seem in GSAM Battery monitor watching the held awake tab. If an app is keeping your device awake you have to uninstall or contact the developer and tell him about your problem with his app.
Tunning the system to Optimize the Battery and Performance:
For this part you will need to have installed ADB drivers, you can download and install from here:
https://forum.xda-developers.com/showthread.php?t=2588979
You have to activated debug mode on the phone:
Go to settings, about phone, tap 7 times the Compilation Number until you see a message saying that you are a developper. Now go to settingss, developer and activated USB DEBUG mode. To see what apps are running in the background on your phone go to settings, developer, in execution.
Also you will need to install 4 more free apps, later they can be uninstalled if you want:
App inspector to know the name of certain package:
https://play.google.com/store/apps/details?id=bg.projectoria.appinspector
App Ops to manage special permissions of apps:
https://play.google.com/store/apps/details?id=com.findsdk.apppermission&hl=es
Shizuku Manager is needed to give the permissions necesary to App Ops:
https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api
Gsam battery Monitor for monitoring apps usage:
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm&hl=es
The aim of this part of the guide is to disable all the features and apps that may be drainning your battery.
All of this can be reverted one by one after getting a good battery and testing the results and the impact on battery life:
-Turn off location, bluetooth, NFC.
-Go to moto app and turn off Moto Voice, Moto screen, Wave to wake. I keep the flaslight and the cam gesture on but you can dissable them if you want.
-Go to settingss, Motorola privacy and turn off enhancet device support and help us with bla bla.
-Go to settings, security, back up and turn off data back up.
-Go to settings, location, turn of Google location History and share location of google. In the Rigth upper corner tap on the 3 dots and turn of bluetooth scanning and wifi scanning.
-Go to settings, google, search, and turn off all the features like feed, nearby, voice detection, notifications, doodles, google fit, firebase App Indexing.
-Go to settings, google, security, dissable google play protect,etc. (If you consider this ass important do not disable it)
-Go to settings, apps, tap the 3 dots in the upper rigth corner and tap on show system apps. Disable Motorola device manager and Motorola notifications. Also delete the apps data.
-Go to accounts and turn off syncronizations of all the things you really don't need. For instance in google account i left on contacts, Chrome and Contacts info only.
-If you are using chrome go to settingss, site configuration. Turn off location, notifications, sync in the background. In the sync settings just let the chrome sync only what you need.
-Disable all google and motorola apps that you are not using. For instance Google Duo, hangouts, play music, play books, play games, carrier services, Motorola connect, talkback, devices help, etc.
-Search for apps that ask for permission you think they don't need it. Speacially location.
-Turn off special permission that you think apps don't need. The special permission can be managed going to settings, apps, tap the wheel, advance-special acces:Look to "change system settings" and "get over other aplications". Also turn off acces to data usage for Google Play and Google Play services.
-Go to settingss, security, trusted agents, disable smartlock.
-If you have apps like greenify installed, uninstall them.
-If you have home widgets be sure that they are not using your location and also if it posible put the refresh time to the minimum.
-I don't use GBOARD, it was not working ok for me and also draining battery. So i search in the internet and donwload the latest google keyboard version before GBOARD, it works perfect. I do not recommend GBOARD as it is not working ok and it is not propperly optimized.
Using ADB for Background process:
The next step consist of disabling System process and apps that you no not need to run in the background, for example MotoCare:
Motocare is a system process that runs in the background and collects info of your device use even if you turn off motorola privacy features. That not makes much sense but it is there and can't be disable in a easy way.
After installing ADB, drivers and turning on USB DEBUG MODE, plug the phone, go to the search bar in windows and search for CMD. Open it.
Write:
abd devices
Is everything is ok you will see a device in the list that is your Moto x Style. If not figure out what is the problem, make sure DEBUG MODE is on and that you give the propper permission in the phone.
Then write:
adb -d shell pm grant com.gsamlabs.bbm android.permission.BATTERY_STATS
This will let you see full wakelock list in GSAM Battery Monitor app. This is very important to know if there is an app keeping your device awake.
next:
abd shell
cmd appops set "com.motorola.motocare" RUN_IN_BACKGROUND ignore
cmd appops set "com.motorola.motocare.internal" RUN_IN_BACKGROUND ignore
This last two lines will stop motocare. After this go to apps, with "show system apps" on search motocare and motocareint and delete all the data. After that check that motocare is not running in the background.
cmd appops set "com.motorola.ccc.ota" RUN_IN_BACKGROUND ignore
cmd appops set "com.motorola.ccc.checkin" RUN_IN_BACKGROUND ignore
This will turn off OTA services. If you want to take an OTA after this, (if motorola ever send another OTA for our device) you can just go to settingss, about phone and check for update manually. (After enabling Motorola device Manager and Motorola Notification). Anyway is there is a new OTA you probably are going to know it from XDA forums.
You can use the same command to disable apps that you don't need to run in the background but you want to use.
To use this commands just open app inspector, search the app you want. Copy the package name and use the command with that package. Anyway in the next step i will show you a easy way to do the same with other apps that are not from the system.
If you want to re enable and app to run in the background just reinstall it or write the same sentence changing "ignore" for "allow":
For example with Facebook. If you search it in app ops the package name is com.facebook.katana . The name of the package is "katana" because it is like smashing your battery with a Katana lol.
adb shell
cmd appops set "com.facebook.katana" RUN_IN_BACKGROUND ignore
to enable it:
cmd appops set "com.facebook.katana" RUN_IN_BACKGROUND allow
My advice is to not use this command with google services or with system apps you don't know what they do in your phone. It may get you in a problem.
Now we are going to see another way to stop apps for running in the background. This is usefull with apps that you want to keep and don't want to run in the background.
For example in my case, i use facebook app but don't want it to run in the background. Also i disable all navitagion apps to run in the background, Here we go and google maps in my case. They both work perfect when I open they, don't need them running in the background. I let apps like WhatsApp, Instagram, Tinder, Facebook Messenger to run in the background because i want to know when someone send a message and don't want to wait until i open the app. If you don't need the notifications my advice is to don't let run in the background. That will get you a considerable amount of battery. Whatsapp have a lot of battery drain. For some reasons it has the acelerometer turn on a ridiculous amount of time and it triggers google play services wackelock PackageMeasuremntservice.
Connect the phone via usb and launch terminal as we did before, search bar and search button, type CMD and open it. Open Shizuku Manager
Wrote in the terminal:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
if you do it rigth you will see that the server starts running. Now unplugg your phone, close shizuku manager and open App Ops. If you turn off your phone you will have to repeat the process in order to get app ops running again.
Search for apps that you don't want to run in the background. In the permission settings there is "run in the background", you can turn it off or on from there. It has exact the same effect that doing it in the ADB terminal ass we did it in the previous step. But motocare can't be disabled from the app.
Also you can manage all the permission from the apps one by one in a lot better detailed way than from the stock app settings..
There is also a trick with google play services and location. I am getting a big wake up with NLPcollector and variants. If you turn off the network location permission in google play services it will stop the wakelock even if you have your location ON. That make google play services almost drainless. The problem is that some apps may not get a correct location in "battery saving mode" because they use google play services. This is fixed turning on high presition mode or device only mode and letting the GPS do the location work only when you need it.
Finally you can tweak all your apps permissions and see the battery results. The two most important permission related to battery life are the location and the background one. Try to disable location for everything you don't need to be tracking you.
Tunning your Moto X Style:
To get the new Camera app from motorola:
Go to apps, search for stock camera app and disable it. Delete all the app data. Go to settings, security and turn on "Unkown Sources".After that donwload the moded camera app from this tread:
https://forum.xda-developers.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690
Restart your phonr and Install it! Now you have the new camera app . It work almost perfect, the only things that are not working for me are: Twist to change to selfie mode, shutter time in pro mode and white balance in pro mode. Don't forget to thanks the developer for this great app. Also turn off Unkonw Sources after the installation.
To get the Moto Z command Widget:
Donwload and install this app:
https://forum.xda-developers.com/moto-maxx/themes-apps/moto-z-command-center-widget-t3417171
Don't forget to turn location of the widget off, you can put your location manually and save battery.
Launcher 3:
https://forum.xda-developers.com/moto-z-play/themes/moto-z2-play-launcher-google-root-t3623608
It is the new Motorola Stock Launcher. You can try the Moto G5 Launcher too, it is in XDA.
Unlock Method:
The phone doesn't have fingerprint scanner but a good alternative is to use face unlock. LG and Samsung do a lot of marketing of something that is build in on android stock and work almost perfect. Go to security, turn smartlock on.Then go to smartlock and turn on face detection. It works like a charm, is almost instantaneous. My advice is to do this after getting a good battery life as smartlock features can affect battery. Make sure you don't have on trusted places on Smartlock as it drains your battery. Also if you have location ON it may drain your battery even if you don't have trusted place on, so take care. The trusted face feature on its own drains a negligible % of battery.
As i stated in the beggining:
If you want the best battery life you always have to do a compromise between it and features of the phone. For example i love moto display and the wave to wake feature but it takes so much juice of my phone.
My advice is to do all the steps, make sure you are getting a good battery life and after that start reenabling one by one the features you need and watching the impact of them in your battery life. Also i know that some of the stuff i mention may have a negligible impact in battery for themselves but when you put all together they do make a difference. My phone is draining almost 0% on stand by mode with doze. I let it with a %, go to sleep and when i wake up i have the same %.
At this moment i am testing battery on my phone and seeying wich features do make a big diference in battery life.
For instance i am using smartlock, face unlock with location off and in security settings i have android device manager enabled. They seems to not affect the battery performance so much. I will continue testing features to see wich ones are the main offenders.
Any suggestion or any question is welcome! Also if this helps you please let me know and post your battery life before and after.
Great guide, although might a bit extreme for some people to do all of these things.
I can tell you the biggest increase in battery life i have seen is to disable the Moto Display and Moto Gesture to wave over the display... My idle usage has stopped in half and maintains around 2% with it all off.
acejavelin said:
Great guide, although might a bit extreme for some people to do all of these things.
I can tell you the biggest increase in battery life i have seen is to disable the Moto Display and Moto Gesture to wave over the display... My idle usage has stopped in half and maintains around 2% with it all off.
Click to expand...
Click to collapse
Yes, i know that for some people it may be too much, but the guide is divided in parts so anyone can take what they seem comfortable with.
I agree with you, wave to wake and moto display are the main offenders and i feel that with nougat the battery drain of this features get agravated a lot more. It is a shame because i really like that features but they drain your battery even with the screen on..
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
If your SOT increased on Nougat, it is because the OS is more efficient elsewhere... hardware power draw cannot be changed with software.
Why not use the gestures? Like anything else, they are unnecessary for normal operation and consume extra battery, waiting for detect you waving your hand over the display takes some power, not a lot, but over 10-12 hours it is noticeable... Why buy a phone with gestures if your just going to turn them off? Because the pluses outweigh the negative and there is no perfect device.
Moto probably doesn't implement DT2W because the screen technology they use would require the screen (digitizer actually) to be powered all the time, increasing idle battery draw from 2-5% per hour. It is implemented in some 3rd party kernels and ROMs, but few people use it because over 12 hours of sleeping time, it consumes 25%-50% of your battery capacity. :/
I'm not going to get into the other stuff, things like disabling Google Play services and location services and stuff like that, just take away too much functionality for my taste for what you gain. In general when not traveling, I need 3 hours of SOT in a day and this device generally makes that. When traveling (which I did on very regular basis for years until this week) I was under 50% before 9am and near dead by noon if I didn't charge or connect to battery pack. So in general these optimization are not enough to do what I need, so I just skip them.
2be3_80 said:
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
For my after nougat update the battery life go to Hell. I was getting 3hs lf SoT wich is unaceptable for me.
I understand your point and i really like wave to wake. It is nice. For my is nicer to have 5hs or more of SoT. In nougat my wave to wake eats battery like crazy and i really don't need it much. Answering your question, disabling motocare only disable motorola remote support. All the other moto stuff doesn't affect the phone, only disable the OTAs. There is nothing in the guide that compromise basic functionality of the phone, maybe only disabling location permission on google play services with app ops can affect location on some apps. As i stated in the end, everyone have to chose between functionalitis and battery life.
After i managed to get 6hs SoT i start to enabling things and test how was my battery life. I will stop in the 5 hours SoT limit.
At this moment i reenable: moto voice, location in saving mode, smart lock with face unlock, android administrator to lock the device remotely and i am getting between 5hs to 5:20hs SoT. Next step is to try with moto display.
NahuelMS said:
For my after nougat update the battery life go to Hell. I was getting 3hs lf SoT wich is unaceptable for me.
I understand your point and i really like wave to wake. It is nice. For my is nicer to have 5hs or more of SoT. In nougat my wave to wake eats battery like crazy and i really don't need it much. Answering your question, disabling motocare only disable motorola remote support. All the other moto stuff doesn't affect the phone, only disable the OTAs. There is nothing in the guide that compromise basic functionality of the phone, maybe only disabling location permission on google play services with app ops can affect location on some apps. As i stated in the end, everyone have to chose between functionalitis and battery life.
After i managed to get 6hs SoT i start to enabling things and test how was my battery life. I will stop in the 5 hours SoT limit.
At this moment i reenable: moto voice, location in saving mode, smart lock with face unlock, android administrator to lock the device remotely and i am getting between 5hs to 5:20hs SoT. Next step is to try with moto display.
Click to expand...
Click to collapse
I have run ADB commands and after each and everyone I had no confirmation dialogue nor anything.
I have rebooted device and how can I check if I had done everything right?
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
I have run ADB commands and after each and everyone I had no confirmation dialogue nor anything.
I have rebooted device and how can I check if I had done everything right?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
If you have done everything rigth you wont see the apps running unless you open they. To see process in execution you have to go to seetings, about device, tap 7 times build number until you get the message that you are a developer.
Go to seeting again, you will see developer option. In there you search for in execution. If you do everything rigth you wont see motocare or moto things runnings. Same with the apps like facebook, etc. They only appear in execution when you open they or have they in recent apps.
Let me know if your battery get improved.
This if from last test:
Enabled moto display, moto voice, face unlock, location in battery saving mode. Disabling background things really help with battety life.
NahuelMS said:
This if from last test:
Enabled moto display, moto voice, face unlock, location in battery saving mode. Disabling background things really help with battety life.
Click to expand...
Click to collapse
That's really good achievement.
I can't get close to your results.
I have disabled moto apps running in background, location off, Moto display on, wave hand on.
I only use WiFi/network when needed.
Hmm what could be the culprit?
On this charge I think I will get about 4h sot.
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
That's really good achievement.
I can't get close to your results.
I have disabled moto apps running in background, location off, Moto display on, wave hand on.
I only use WiFi/network when needed.
Hmm what could be the culprit?
On this charge I think I will get about 4h sot.
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yes, i think the average for those conditions is 5 hs (mine conditions)
Are you using turbocharger? How old is your phone? Maybe the battery is getting bad? Did you disable apps like facebook running in the background? Installed Gsam Battery monitor amd check there isn't an app eating your juice or keeping your device awake? Do you have good signal? My best advice is to do all the steps of the guide and see how much of battery life are you getting in that condition. Them start reenabling things like moto voice, moto display and finaly wave to wake. Did your battery got improved dissabling moto stuff?
Wave to wake for my on Nougat was a battery hog. Maybe try to disable it and see how much your battery improves!
My phone is from February 2017, never used turbocharger (I believe it's killing battery over time). Not using Facebook.
When updated to Nougat I did factory reset and disabled various Google apps that I don't use, like Duo, Google+, etc.
My sot was around 4 h with Moto display and wave hand gesture. After disabling Moto stuff from your guide though ADB I haven't noticed any improvements. I will observe few more days. I don't have any Moto update processes running in background.
I use Gboard and like it very much, so it's a keeper for me.
Thanks
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
My phone is from February 2017, never used turbocharger (I believe it's killing battery over time). Not using Facebook.
When updated to Nougat I did factory reset and disabled various Google apps that I don't use, like Duo, Google+, etc.
My sot was around 4 h with Moto display and wave hand gesture. After disabling Moto stuff from your guide though ADB I haven't noticed any improvements. I will observe few more days. I don't have any Moto update processes running in background.
I use Gboard and like it very much, so it's a keeper for me.
Thanks
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Try one or two days without wave to wake and see how much battery you can get. I don't think Gboard should be a deal breaker in battery life in comparison with google keyboard, i don't think it is the problem. Maybe there is an app keepping your device awake? Your phone is almost new so i doubt from battery problems. Can you post a screenshot of battery usage and signal, awake time, etc, from your android battery usage?
This is from today with mid usage and time with low signal:
Today I did factory reset and will observe how it goes without tweaks but with most apps shipped with phone disabled that I don't use
2be3_80 said:
Today I did factory reset and will observe how it goes without tweaks but with most apps shipped with phone disabled that I don't use
Click to expand...
Click to collapse
If you allready did a factory reset i don't think it will give much battery in same conditions and take into account that android take some cycles to calibrate the system and the apps, so battery duration should getting extended during the first week until it reach a plateau.
Just an FYI... Up until a week or so ago, I was averaging 2h 45m to 3h screen on time in an average day and since I started using my phone for work (BYOD program, always had a separate work device before) the battery life started really mattering so I made the following changes...
- Dropped Facebook and Messenger (MASSIVE battery hog apps, always at the top of the list) and moved to Facebook Lite (yes, you can get it in the US, just have to use APKMirror, and it includes Messenger services in the same app)
- Dropped Accuweather (was keeping device awake and accessing location dozens to hundreds of times per hour) and switched to 1Weather
- Dropped Microsoft Outlook (keeping device awake and using background data, and a Device Administrator I didn't want) and switched to Nine
- Dropped OpenSignal (was using background data and waking device very frequently)
- Disabled Moto Display entirely
- Disabled Moto Action Wave to Wake
These 6 things are all I have done... I keep all services active, high accuracy location, all accounts and services syncing, no background data restrictions, no disabled apps, backup and other services like Motorola services all running, no adjustments in permissions, using Gboard as my default keyboard, and I have ~120 apps installed, 80% of which are occasional use only. I use a Quick Charger about 50% of the time for boost charging at work or when traveling, but overnights it is on a standard (5v/1.8A) charger and not QC. I have seen my Doze and Deep Sleep times increase significantly, with Deep Sleep time approaching to 75%... And Screen On Time over a normal day increasing by nearly an hour on average... In fact, yesterday I had my best SoT in over a year with 4h 28m over a 16 hour day in mixed use, including a 6 hour YuGiOh tournament where I used the phone to keep score of my matches (with marginal LTE service and no WiFi), going out to eat 20 minutes away, and then back home for some video game time with friends and still have 20% battery remaining when it went back on the charger, probably could have gotten 5.5 hours if I pushed it near zero. Making it sufficient for daily use for me again.
Am I saying this is the answer for everyone? No, but install a good battery monitoring tool like GSAM Battery Monitor and see what is using your battery (make sure to enable advanced reporting, requires ADB connection)... and don't just look at the default screens, dig into the app after some use. The "View % Power Used" screen only tells part of the story... Make sure to look at View Number Times Waking Device, View GPS Time Used, and View Time Held Awake because some things are not always so obvious. Accuweather for one was "hiding" some of it's usage in Android System and Google services in the View % Power Screen, but when you looked in View Time Held Awake and View GPS Time Used, it became evident it was doing something.
Some other apps which can be culprits are shopping apps, they often track where you are frequently... such as Walmart, Sam's Club, Best Buy, CVS, and most other dedicated apps for shopping. Alternative messaging apps like Messenger, Whatsapp, Kik, Skype, Viber, SnapChat (currently the #1 battery killer out there according to several sources), etc. often keep the device awake and use background data. Airline and other travel apps often check your location every minute or even more frequently even when not open. "Optimizer" apps like LionMobi Power Battery, CleanMaster, and similar tools are worthless and usually consume more resources than they help with. News apps like BBC News often use background data and keep the device awake... Some of these apps might be worth it's battery consumption for your usage, maybe not, the point is to know the problem and decide if it's needs to be fixed or not.
All I am saying here is that before you blame the device or hardware, make sure it isn't your software or usage that is the real culprit, but sometimes it does take some digging.
The last update to the clock app is buggy for me. It is using massive CPU and kepping my device awake for hours. It is important to check if it is working ok.
NahuelMS said:
The last update to the clock app is buggy for me. It is using massive CPU and kepping my device awake for hours. It is important to check if it is working ok.
Click to expand...
Click to collapse
I would try clearing the clock cache / data
On Gsam the clock doesn't even show up on my CPU usage.
Hemidrosis said:
I would try clearing the clock cache / data
On Gsam the clock doesn't even show up on my CPU usage.
Click to expand...
Click to collapse
Allready did that but it didn't fix it. The problem was sporadiclly. Finally uninnstaled the update, cleared all the data and updated again, no sign of the problem for now! Thanks!
Facebook lite and messenger lite if you use those services help a ton all by themselves. Shopping apps I disallow them using background data and location. It's doesn't take that long to grab location once open. Saves a great deal of data and battery.. Amazon apps turn off background data takes care of most battery drain issues related to them.

Question Did anyone notice the huge standby battery drain? Any way to measure what causes it?

First off, I love the phone and I'll keep it, but ever since I got the phone I've been wondering why it's draining so much in standby. It's my first Samsung phone since 2011, so naturally I assume it's Samsung apps/services that drain? Especially since I don't use any new apps than on my other phones and in the battery stats it doesn't really show any user apps that use a lot.
Anyone has way to measure what system/user apps drain during standby? Or even better, any dev that could do a deeper dive into this?
For example, I just lost 32% battery while sleeping for about 8h, it has never been this much on any other of my previous phones (OnePlus Nord/Pixel 3a/Pixel 3/Pixel 2).
In fact, my OnePlus Nord with 815mAh more than the Flip3 is currently on last charge 3 days ago (it doesn't show me hours anymore) and 2h35m SOT and 25% battery left. On the Flip I just now got 17h with 1h30m SOT and 5% left. Settings all similar besides location accuracy turned off for the Flip as that was a massive drain.
Something must be unintentionally draining the battery during standby and I really hope one of you smart guys can find it. Or Samsung fixes it with an update..
I disabled AOD and any unnecessary account sync processes. It's only drained about 2% in standby the last 5 hours, but there are still some things to finish configuring.
twistedumbrella said:
I disabled AOD and any unnecessary account sync processes. It's only drained about 2% in standby the last 5 hours, but there are still some things to finish configuring.
Click to expand...
Click to collapse
If have AOD on a schedule so it's turned off during sleeping, account syncing I don't have anything that I can turn off and I never did on any previous phone
M4-NOOB said:
If have AOD on a schedule so it's turned off during sleeping, account syncing I don't have anything that I can turn off and I never did on any previous phone
Click to expand...
Click to collapse
How old is your device? You got to give it some time to settle. I had 15% battery drain the first night, after that it went down to 5%.
M4-NOOB said:
If have AOD on a schedule so it's turned off during sleeping, account syncing I don't have anything that I can turn off and I never did on any previous phone
Click to expand...
Click to collapse
The first step in improving the battery is to remember that this isn't any other phone. You may want to explore what options are available and what all you have enabled. By default, almost everything is on to show off all the cool new features that make this a Flip 3, not a OnePlus Nord.
ione2380 said:
How old is your device? You got to give it some time to settle. I had 15% battery drain the first night, after that it went down to 5%.
Click to expand...
Click to collapse
Got it 4 days ago
twistedumbrella said:
The first step in improving the battery is to remember that this isn't any other phone. You may want to explore what options are available and what all you have enabled. By default, almost everything is on to show off all the cool new features that make this a Flip 3, not a OnePlus Nord.
Click to expand...
Click to collapse
Which Flip features are in use during standby though? During standby it's just another phone
M4-NOOB said:
Which Flip features are in use during standby though? During standby it's just another phone
Click to expand...
Click to collapse
Not true. Samsung has a bunch of features still in use.
Settings -> Advanced features -> Motions and gestures has a whole collection of things that are still running when the screen is off (and most aren't useful to the Flip, but came from "another phone").
Settings -> Cover screen allows you to disable turning on the screen when notifications arrive, if that is not something you need.
Also, unless you are using the app to lower the refresh rate, you may be running a bit high when idle.
twistedumbrella said:
Settings -> Advanced features -> Motions and gestures has a whole collection of things that are still running when the screen is off (and most aren't useful to the Flip, but came from "another phone").
Click to expand...
Click to collapse
I've turned a few things off there, but a lot of them OnePlus has too + a few more, which I had all enabled
twistedumbrella said:
Settings -> Cover screen allows you to disable turning on the screen when notifications arrive, if that is not something you need.
Click to expand...
Click to collapse
I didn't really get any notification during last night, so I doubt this was the culprit
twistedumbrella said:
Also, unless you are using the app to lower the refresh rate, you may be running a bit high when idle.
Click to expand...
Click to collapse
Yes I'm using that app and have it set to 48-96Hz
Appreciate the help, I believe there must be something that's unintentionally draining and while I went through every single setting in the beginning, I'm still very new to OneUI (and also impressed how far it came from the TouchWiz ****show)
One thing I always forget is that a lot of those features are running services and polling when they're enabled. Even though I'm not touching the screen with the tap to wake enabled, it's constantly waiting for that tap when it's asleep. Any one isn't a big impact, but Samsung has so many "convenience" features that I end up wasting battery to never use.
The calibration period is also horrible. Android 11 is slow to calibrate the battery and Samsung is worse. You can get a good idea of what is draining battery by going to Settings -> Battery and device care -> Battery. That may help find out if it's a renegade app.
One thing Asus does that I wish Samsung would embrace is Auto-start management. Some apps aren't efficient at polling for notifications and more than once have been the cause of major drain.
Another one even Samsung admits to be a source of drain is the edge panels. If you don't use them, it's best to kill the entire feature.
twistedumbrella said:
Even though I'm not touching the screen with the tap to wake enabled, it's constantly waiting for that tap when it's asleep. Any one isn't a big impact, but Samsung has so many "convenience" features that I end up wasting battery to never use.
Click to expand...
Click to collapse
I just assumed it's not a big impact as OnePlus has those as well, for example draw a "V" on screen for flashlight or ">" to skip song besides the regular double tap to wake and it never appeared to be a battery issue for me before.
twistedumbrella said:
You can get a good idea of what is draining battery by going to Settings -> Battery and device care -> Battery. That may help find out if it's a renegade app.
Click to expand...
Click to collapse
Do I assume correctly that some system apps or similar are hidden there? I just did the calculations and the percentages only make up 43.6%. I attached a screenshot
M4-NOOB said:
I just assumed it's not a big impact as OnePlus has those as well, for example draw a "V" on screen for flashlight or ">" to skip song besides the regular double tap to wake and it never appeared to be a battery issue for me before.
Do I assume correctly that some system apps or similar are hidden there? I just did the calculations and the percentages only make up 43.6%. I attached a screenshot
Click to expand...
Click to collapse
OnePlus also optimizes them better than brand new Samsung firmware. I had a lot of stuff enabled on the Note 20 Ultra that I won't be using for a month or two now.
Some apps are excluded, but it will let you know if it's something not included with the phone.
Another good idea is to uninstall, disable, or "adb uninstall" any bloat you don't use. Besides clearing up space in the app drawer, it kills off services you don't use. A lot of the apps will run services even before you sign in, even though they aren't actually handling any data.
twistedumbrella said:
Another good idea is to uninstall, disable, or "adb uninstall" any bloat you don't use. Besides clearing up space in the app drawer, it kills off services you don't use. A lot of the apps will run services even before you sign in, even though they aren't actually handling any data.
Click to expand...
Click to collapse
I already went through the list and uninstalled which I 100% knew what it was and that it's not needed, but not sure about 99% of Samsung stuff. Some Samsung apps on the phone I don't even know what they are and when I start them it just prompts to agree to some terms before starting the app... I'll have a look around for a Samsung debloat list
M4-NOOB said:
I already went through the list and uninstalled which I 100% knew what it was and that it's not needed, but not sure about 99% of Samsung stuff. Some Samsung apps on the phone I don't even know what they are and when I start them it just prompts to agree to some terms before starting the app... I'll have a look around for a Samsung debloat list
Click to expand...
Click to collapse
If you have the unlocked version, they allowed uninstall for a lot of apps that were previously locked. A lot can also be downloaded later from Google Play or the Galaxy Store if you change your mind.
I use Firefox, so I uninstall Samsung Internet and Chrome. Members and Health are two big ones that like to run those "please enable us" services. It's a lot of deciding what you might use versus what you can live without.
Another good idea is to add anything you won't use, but didn't remove to deep sleeping apps to kill it's ability to run in the background. It's the closest thing to auto start management without rooting.
[HOW-TO][DEBLOAT][ADB] The ultimate ADB debloating thread for the S20/+/U series
Hi, i´ve seen some threads and questions about debloating in the s20 forum, but by having a quick look at them, theres not much information for beginners. Thats why I decided to sign up and join the xda community. I would like to make this the...
forum.xda-developers.com
twistedumbrella said:
Another good idea is to add anything you won't use, but didn't remove to deep sleeping apps to kill it's ability to run in the background. It's the closest thing to auto start management without rooting.
Click to expand...
Click to collapse
Yeah I do have 57 apps there already
I just removed 85 apps/services via adb, let's see how it is tonight and I'll report back tomorrow
M4-NOOB said:
Yeah I do have 57 apps there already
I just removed 85 apps/services via adb, let's see how it is tonight and I'll report back tomorrow
Click to expand...
Click to collapse
Thank you for taking the time, mine is also going down %30 overnight. would love to hear about your result.
ShayMagen said:
Thank you for taking the time, mine is also going down %30 overnight. would love to hear about your result.
Click to expand...
Click to collapse
So far I don't have much hope sadly. Whole day currently at home and not using the phone much and it's looking like in the screenshot (screen off, loosing almost 2.7% per hour, as comparison my OnePlus is at 0.9% per hour)
https://imgur.com/RLITZwQ
It's 21:21 at the moment and I'm at 54% after 9h 42m (comparison OnePlus with 815mAh more: 7% after 79h with 2h54m SOT)
https://imgur.com/M9zO2hV
I'll probably head to bed in a few hours and then report back tomorrow morning how much I lost during the night..
I'm not claiming to have amazing battery life, since I almost considered keeping my trade-in and returning this one over it. I am interested why it is so bad for others, though.
twistedumbrella said:
I'm not claiming to have amazing battery life, since I almost considered keeping my trade-in and returning this one over it. I am interested why it is so bad for others, though.
Click to expand...
Click to collapse
HOLY **** I would love to have this battery life. I'm literally not doing anything with the phone and just loosing so much. I'm pretty much the opposite of a power user, so my phone is in standby most of the time and loosing so much is pretty frustrating.
EDIT: I might have an idea why it's so bad for me, I don't really have reception in my apartment (as you can see on my screenshots), so I assume it's constantly trying to get better receptions, I see 2 bars sometimes, but most of the time 0. I'll keep my phone at the window where I have reception for the rest of the day and see if it makes a difference. (Although the OnePlus has also bad reception, but does have a different carriers SIM card)
M4-NOOB said:
Yeah I do have 57 apps there already
I just removed 85 apps/services via adb, let's see how it is tonight and I'll report back tomorrow
Click to expand...
Click to collapse
Dependencies, dependencies, dependencies... some of those apks just sit there unless needed.
Do not disable apks/services unless you know what they do and what, if any, their dependencies are. Go too far and you'll end up in a boot loop.
What works for others probably isn't ideal for you.
Package Disabler is a better option as you easily toggle apks on/off as needed.
Screen off the serial offenders tend to be Google backup Transport, Framework and any cloud apps.
Try disabling Google play Services at night and see if that helps. You may need to disable Find my Device first as System Administrator if disable is greyed out.
Disabling play services also kills Gmaps and Playstore which are know hogs. Gmail as well to a lesser extent.
Google Firebase, do you need it? If not disable.
Carrier, Google, Samsung and app feedback, disable.
Using power management can cause erratic behavior and not solve the problem. Treat each power hog on a case by case basis instead. It takes a lot longer but yields a cleaner, more stable setup.
Play with it, go through -all- the settings. It's actually quit fun to explore and almost impossible to crash and burn.
Try this trick to stop ads globally:

Categories

Resources