Battery Drain: MDE Service Framework - Samsung Galaxy Note 20 Ultra Questions & Answers

Battery has been bad since I switch to note 20 ultra from note 10+.
Trying to find the root cause.
Anyone knows what mde service framework is? Can't find much info on it..

aarick said:
Battery has been bad since I switch to note 20 ultra from note 10+.
Trying to find the root cause.
Anyone knows what mde service framework is? Can't find much info on it..
Click to expand...
Click to collapse
Could it be this .....quote from G search >
What is MDE Service Framework?
The Android media router framework allows manufacturers to enable playback on their devices through a standardized interface called a MediaRouteProvider . ... This guide discusses how to create a media route provider for a receiver device and make it available to other media playback applications that run on Android.Dec 27, 2019
link to my G search
https://www.google.com/search?safe=...hUKEwiJ6LLOo43sAhVtx4UKHQs9A-gQ1QIoAHoECAsQAQ
Maybe try a Factory Reset .
Could it be ,that when switching from /old backups from N10 + /re installing apps /setting /Smart switch ...etc something got corrupted ...?
I know it's a hassle, to factory reset , but as i see it
You can "stress " and look for the "culprit " , that causes the battery drain or
maybe try a factory reset ...it might help ??
Good luck

•Try to find the issues of this load otherwise doing a hard reset may only land you in the same situation.
Lot of junk running... do you need it?
A package blocker like PD MDM can be used to turn off bloatware.
Cloud services and Goggle backup tend to be habitual offenders.
Turn off Google, Samsung and carrier feedback.
I had a lot of trouble with ARcore, disable it if you aren't using augmented reality applications.
Clear data on Goggle Backup Transport, Goggle Framework and google.android.gms.policy.
Clear system cache and log files with a cleaner.
SD Maid does a good job.
I use the old version of Device Care to clean the cache when it used 360° however I block internet access when it runs then package block it because of the Chinese junk in it. It's a good cache cleaner
•Turn off 3rd party power management apks and like Adroid manage its self. Don't set apps to sleep.
•Clear system cache on the boot menu.
In Developer options in Running Services, see what's running. In Stand By Apps all buckets should show as active, if not power management is being used. Android will power them down when not in use even if shown as active.
•Monitor your battery milliamp draw in realtime; at idle it should go down as low as 60 ma at times and average about 180-300 ma at idle. Frequent or sustained spikes in the 400-1000+ range indicate excessive cpu activity; find what's doing it. Examine what was recently opened or cache when the drain starts in Running Services in Developer Options.
•Before doing a hard reset try resetting Settings; it's less drastic and time consuming.
•If you do a hard reset be more careful during setup.
Avoid loading a bunch of junk 3rd party apps... keep it clean. Test new 3rd party apps before the reload if you can.
Play with it... observe and play some more... you will find it.
Go through all the settings, poke around, see what's there and learn what it does. Unlike playing in the Windows Registry it's relatively safe to do and fun

blackhawk said:
•Try to find the issues of this load otherwise doing a hard reset may only land you in the same situation.
Lot of junk running... do you need it?
A package blocker like PD MDM can be used to turn off bloatware.
Cloud services and Goggle backup tend to be habitual offenders.
Turn off Google, Samsung and carrier feedback.
I had a lot of trouble with ARcore, disable it if you aren't using augmented reality applications.
Clear data on Goggle Backup Transport, Goggle Framework and google.android.gms.policy.
Clear system cache and log files with a cleaner.
SD Maid does a good job.
I use the old version of Device Care to clean the cache when it used 360° however I block internet access when it runs then package block it because of the Chinese junk in it. It's a good cache cleaner
•Turn off 3rd party power management apks and like Adroid manage its self. Don't set apps to sleep.
•Clear system cache on the boot menu.
In Developer options in Running Services, see what's running. In Stand By Apps all buckets should show as active, if not power management is being used. Android will power them down when not in use even if shown as active.
•Monitor your battery milliamp draw in realtime; at idle it should go down as low as 60 ma at times and average about 180-300 ma at idle. Frequent or sustained spikes in the 400-1000+ range indicate excessive cpu activity; find what's doing it. Examine what was recently opened or cache when the drain starts in Running Services in Developer Options.
•Before doing a hard reset try resetting Settings; it's less drastic and time consuming.
•If you do a hard reset be more careful during setup.
Avoid loading a bunch of junk 3rd party apps... keep it clean. Test new 3rd party apps before the reload if you can.
Play with it... observe and play some more... you will find it.
Go through all the settings, poke around, see what's there and learn what it does. Unlike playing in the Windows Registry it's relatively safe to do and fun
Click to expand...
Click to collapse
appreciate the suggestion. Considering I had all the same apps on my note 10 and didn't have similar issue. Am incline to believe issue is related to restoring with smart switch. So will consider doing a reset when I have the time to set everything up manually.

aarick said:
appreciate the suggestion. Considering I had all the same apps on my note 10 and didn't have similar issue. Am incline to believe issue is related to restoring with smart switch. So will consider doing a reset when I have the time to set everything up manually.
Click to expand...
Click to collapse
I don't like smart switch or trust it. This type of Samsung apk has failed me miserably before... bugware.
The 10+ between Goggle, Samsung and carrier apks can be witchy. Lots of junk that does nothing for you and creates conflicts that suck resources/power/internet bandwidth are all too common.
Since each configuration is different you need to play with it.
Without root you lack advanced diagnostic tools which makes it more difficult as if Google wants it that way... effective real time monitors I can use in Windows are completely missing in Android.

Note 20 ultra user here myself, by chance have you got mobile hotspot active? Or the auto hotspot running? Just done a Google search for the service and found this thread. For me turning off the hotspot and auto hotspot stopped the battery drain for this service in its tracks. I have also noticed the phone getting alarmingly hot 50c to 55c when it is switched on and in use, though saying that I'm finding general use makes the phone uncomfortably hot to hold

Im using N20 ultra exynos version and only in the beginning the phone would get hot and battery life is very poor. After about 3-4 weeks im seeing a massive improvement in device performance and battery life. Using ccswe to disable packages. Naptime helping stand by battery drain as well.

blackhawk said:
•Try to find the issues of this load otherwise doing a hard reset may only land you in the same situation.
Lot of junk running... do you need it?
A package blocker like PD MDM can be used to turn off bloatware.
Cloud services and Goggle backup tend to be habitual offenders.
Turn off Google, Samsung and carrier feedback.
I had a lot of trouble with ARcore, disable it if you aren't using augmented reality applications.
Clear data on Goggle Backup Transport, Goggle Framework and google.android.gms.policy.
Clear system cache and log files with a cleaner.
SD Maid does a good job.
I use the old version of Device Care to clean the cache when it used 360° however I block internet access when it runs then package block it because of the Chinese junk in it. It's a good cache cleaner
•Turn off 3rd party power management apks and like Adroid manage its self. Don't set apps to sleep.
•Clear system cache on the boot menu.
In Developer options in Running Services, see what's running. In Stand By Apps all buckets should show as active, if not power management is being used. Android will power them down when not in use even if shown as active.
•Monitor your battery milliamp draw in realtime; at idle it should go down as low as 60 ma at times and average about 180-300 ma at idle. Frequent or sustained spikes in the 400-1000+ range indicate excessive cpu activity; find what's doing it. Examine what was recently opened or cache when the drain starts in Running Services in Developer Options.
•Before doing a hard reset try resetting Settings; it's less drastic and time consuming.
•If you do a hard reset be more careful during setup.
Avoid loading a bunch of junk 3rd party apps... keep it clean. Test new 3rd party apps before the reload if you can.
Play with it... observe and play some more... you will find it.
Go through all the settings, poke around, see what's there and learn what it does. Unlike playing in the Windows Registry it's relatively safe to do and fun
Click to expand...
Click to collapse
Hey! Thank you so much for your tips. Can you please point out a good app for measuring standby power usage? I used to use Gsam Battery Monitor Pro, but that no longer seems to be compatible with my Snapdragon Note 20 Ultra. I don't get accurate reading and it seems the dev has abandoned the app (last update Jan 2020)

xenofont said:
Hey! Thank you so much for your tips. Can you please point out a good app for measuring standby power usage? I used to use Gsam Battery Monitor Pro, but that no longer seems to be compatible with my Snapdragon Note 20 Ultra. I don't get accurate reading and it seems the dev has abandoned the app (last update Jan 2020)
Click to expand...
Click to collapse
Not sure what works with Q; I'm running Pie.
Galaxy's Battery Tracker is useful.
I use the Accubattery overlay sometimes to measure ma but again Q.
DecChek is a useful tool.

Duplicate entry removed.

blackhawk said:
Not sure what works with Q; I'm running Pie.
Galaxy's Battery Tracker is useful.
I use the Accubattery overlay sometimes to measure ma but again Q.
DecChek is a useful tool.
Click to expand...
Click to collapse
have DevCheck installed. Does the Pro version allow to keep it running in the background collecting data for analysis later? I specifically want to understand how much is the drain in standby mode and whether T-mobile 5G could also be the culprit here?

Looks like DevCheck won't collect data silently in the background. So any recommendations for a reliable app to measure standby drain would be very welcome.

xenofont said:
have DevCheck installed. Does the Pro version allow to keep it running in the background collecting data for analysis later? I specifically want to understand how much is the drain in standby mode and whether T-mobile 5G could also be the culprit here?
Click to expand...
Click to collapse
Don't know.
Goggle system apks are more likely to blame.
Try blocking suspects with Karma Firewall and see what it does.
Turn off auto sync for Gmail and look hard at 3rd party apps including Samsung.

xenofont said:
Looks like DevCheck won't collect data silently in the background. So any recommendations for a reliable app to measure standby drain would be very welcome.
Click to expand...
Click to collapse
Use GSAM after enabling permissions via adb. Make sure the app is also not set to be optimized or restricted in background usage .

Limeybastard said:
Use GSAM after enabling permissions via adb. Make sure the app is also not set to be optimized or restricted in background usage .
Click to expand...
Click to collapse
Tried all of that already. Did you get accurate readings?

xenofont said:
Tried all of that already. Did you get accurate readings?
Click to expand...
Click to collapse
Accurate enough for me to determine what is using my battery and make necessary adjustments, yes.
So when you tried that already, what did you come up with? You see MDE Framework in there?

The mde service framework is a system service that enables media playback on Android devices. It provides APIs to support the following media playback operations:
- playing audio and video files
- streaming audio and video content
- recording audio and video
- managing playback queue
- managing media player settings
The mde service framework is implemented in the media server process and uses the MediaDrm API to support DRM-protected content. See also https://grouphowto.com/mde-service-framework/

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.

[APP][2.x-5.x] [APK] BATTERY SAVER ULTIMATE

Overview
Battery Saver Ultimate application provides the best power settings to saves the battery time of your device or your tablet. Whenever the battery runs low or goes too much down, just tap the power saver app to turn on the saving mode.
Battery savers help you to switch off all the extra functions like WiFi, Bluetooth, GPS, sound and other energy consuming apps on the device. The app will notify when the power gets down in percentage and it even shows the charging stages.
Charging Stages:
Free Battery Saver Ultimate app regulates the manner in which your device is charged with a Unique 3 Stage Charging system to ensure you get the most out of your battery and reminds you not to over charge.
Types of Mode :
1. Saving Mode: (Use in lowest Battery Status)
Device Brightness set to 10%
In Activate WiFi of the Device
Stand By time to 15 seconds
2. Sleep Mode: (Use when you sleep)
Turn Off Call & SMS and turn ON the Flight Mode
Set Vibrations Off.
Airplane Mode.
Sound Off and mute media sound too.
Brightness set to 10% or minimum level.
3. Customized Mode
You can Customize app usages as your need to save Battery Power.
Can adjust the battery saving setting freely depend on your need and usage.
Can adjust WiFi, Bluetooth, vibration, sound, device brightness, synchronization and stand by time.
Features and Requirements
Accurate battery remaining time
Shows Standby Time.
Accurate charging remaining time
Schedule power saving modes for work/class/sleep and more!
3 Stage Charging system 1. Fast charge 2. Continuous Charging 3. Tickle Charging.
Wifi/Data/Bluetooth/GPS/Flight Mode toggle!
Brightness control!
Shows Battery Health, Current Battery Power in mAH, Temperature, Voltage and Battery life status.
Interesting app. I installed it on my tablet. Look up how it will work. Pity that application is not in material design...
Can I say dodgy app here full of ads and nothing as you say it is. Gives me to play games and full of ads. Avoid
Looks very Good though
Full of ads, nothing like advertised. Avoid.
mr_stax123 said:
Looks very Good though
Click to expand...
Click to collapse
Please state more
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
First, you need not concern yourself with free ram on an Android device. Android manages resources better by itself. As for the apps that launch on startup, you can got to menu>settings>apps and select the "running" tab to show you exactly what is really running. Then, the easiest way is to uninstall the app in question.
Automated task killers do nothing but cause more problems than they can potentially solve.
You might find this thread enlightening.
mr_stax123 said:
i want to prevent apps to auto start to save battery and ram, which app should i use, grrenify or autorun manager or any other?
Click to expand...
Click to collapse
The task killer discussion gets old. I think there is risk of oversimplifying both sides. ie on one side people want to treat it like pc...not correct. On the other side people seem to imply any discussion of memory management considerations is irrelevant/rejected because "android will handle it all"....which is not always entirely correct either. The latter may be closer to the truth especially for new devices, but there is still room for middle ground. Not all programs are equal, some launch "services" which takes priority over other app processes. Too many of those services can eventually crowd out cache and slow your phone down. Maybe most people with newer phones will never get there, but there are still people with older phones (including the op for all we know) and also some folks with new phones who (if they listen to the oversimplifications) may get carried away on the number and type of apps they install over the life of their phone
---------- Post added at 12:47 AM ---------- Previous post was at 12:43 AM ----------
Even so, killing off those services is not the answer. If an older phone has too many running services so it taxes it's resources then it's either time to uninstall some or get a device that can handle it. If it's a problem with the app itself hogging resources, then let the developer know and find an alternative.
If you try to tow a boat with a bicycle, the answer isn't to throw away the boat's engine to make it lighter. Similarly, a task killer may make the phone's performance improve briefly, but over time it will make things worse. And it fixes nothing.
An app preventing another app from "auto-starting" is a task killer. Look at it this way: The phone boots up and runs it's processes. The auto-start blocker detects an app it doesn't want to run, so it kills it. Now, depending on what app it is, the phone may call for it again and thus running it later, which defeats the purpose of an auto-start killer, unless that app is a task killer which again kills said flagged app to keep it killed.
The way to properly manage an app you don't want to have enabled on the phone at bootup is to disable the app on the system manager (newer phones have it AFAIK), freeze the app via Titanium or similar apps, get into the app settings and disable certain features like auto-sync and set everything to manual.
However, the OP did not specify what phone and which apps. It may be apps which the phone requires to run at some level, like Maps (which several apps call for), or maybe the apps he is seeing are just RAM cached, which really don't matter at all.
Adjusting with app settings is preferred if you can, but does not always solve the problem (I referred to wakelock/battery drain problem with a certain version of Maps on my previous phone ... many people we having the same problem at the time and the only way to stop it was to block the app from starting as indicated in link below, or else to freeze it). Freezing has the disadvantage that you cannot run the program easily (requires you to launch TiBu to thaw the program). If you have blocked the program from autostarting, then it does not start at boot or other automatic time, but it remains available to manually launch the normal way (clicking the program icon). At that point (if it's a program like Maps), it will probably stay running until next reboot. It was my preferred solution when maps was giving me wakelocks and battery drain on my phone. Maps didn't run automatically on boot and never started until I manually started it. After that point I could live with the battery drain or reboot
Rom Toolbox Pro is a great app with many features and of course, there's an auto start manager that allows you to disable various receivers off the apps that start on boot. There's also a freeze/deep freeze feature as well. Great app

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

[Guide] My Battery Optimization Guide for OnePlus 6

Hello everyone,
This guide is for non-rooted, stock-firmware phones. It is geared more towards getting good stand-by times, but of course this will also benefit screen-on time. It has some OnePlus-specific things but also many non-specific to one manufacturer. It does not contain miracle information, but from my experience it can help quite a bit. It assumes that you keep phone, mobile data, Wi-Fi and sync enabled at all times. Those are core features of any phone and are not means to save battery. The optimization steps are listed in the order which I think impacts battery life. You may or may not apply some or all of the things listed, depending on your own needs.
So:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
2. Enable "Developer Mode" by going to Settings->About Phone and tapping 7 times on the "Build Number". Then go to Settings->Developer Options and enable the "App Wi-Fi Multi/Broadcasting Filter" option. I did not find any app impacted negatively by this, even casting to Chromecast works fine.
3. Go to Settings->Display->Ambient Display and disable the "Lift up display" and "Wake screen on notifications" options (which are useless compared to a true Always-On Display option anyway), and instead put the phone's RGB notification LED to good use. The Light Flow (one of many, but in my opinion the best) app can customize the LED color for different types of notifications, as well as setting a priority or cycling between colors. Since the LED's "always-on" nature, it is actually much more useful than a dead screen that only wakes up when lifted. When I use Light Flow, I set the LED blinking speed to "Always On" and a diffent color for each app. Works much better than any "ambient" mode.
4. Go to Settings->Display->Themes and enable the "Dark Theme". It reduces power consumption for OLED displays such as the one from the OnePlus 6.
5. Social media apps (especially Facebook) are battery hogs because they need to continuously gather your personal data and usage information. If you are only an occasional user, prefer uninstalling those apps and instead using the browser to access your account. This will also benefit you in other areas, like productivity
6. Keep Location off until you need it. This will ensure that the system does not wake up the GPS due to some obscure request from an app that can also work without knowing your location.
7. Go to Settings->Apps->Application list, tap on each app and review permissions. Remove Location permission for apps that you don't want to unknowingly wake up your GPS and draining your battery. I prefer to only allow Location access to Google Maps and Waze but your mileage may vary.
8. Disable Face Unlock. Activating the front camera so often does consume quite a bit of battery, as can be seen in battery stats. And as you may have read, it is not very secure anyway. As the rear-placed fingerprint sensor makes it almost unusable for me (for example I cannot unlock it while in the car cradle or on the desk), I chose to use the Smart Lock features with my Bluetooth smartwatch and my home Wi-Fi network and my phone stays unlocked while my smartwatch is around, which eliminates the necessity for both face unlock and fingerprint reader.
9. Prefer using software from companies that do not live from user data (like Google and Facebook). Collecting as much user information as possible requires wide system access and takes up a lot of battery. I like to replace Gmail with Microsoft Outlook (even for my Gmail addresses) and I use Samsung Internet instead of Chrome. The Samsung browser seems to be the most battery-efficient browser available, way above Firefox. Microsoft Edge may also be a good alternative.
10. Use an ad-blocker if supported by your browser. Animated ads and additional loading of ad-related content contributes quite a bit to the web browsing battery drain.
11. Go to Settings->Accounts->Google and for each Google account, tap on it and then disable syncing for information that you do not need synced. Clicking on a Google account shows you sections of info to be synced. Disable what you don't need. For example, you may only need Contacts syncing for your primary Gooogle account and not all of them. Same with Google Fit data, pictures, etc.
12. Go to Settings->Apps->Special Access->Usage Access and disable this access for OnePlus Switch and Google Play Store (not for Google Play Services, it may have unwanted side effects). This stops these apps from consuming system resources and battery to continuously collect usage data.
13. Go to Settings->Apps->Application list and disable applications that you don't need and can be disabled (some cannot be disabled).
14. Opt out of (do not enable) the "send diagnostic information" checkboxes whenever you are asked for, unless you are really selfless and want to give [a percentage of your battery life] to the community Go from app to app and see if it has this or similar setting (sometimes these settings are sugarcoated into "enhance your experience by sending your data to us"). Disable if found.
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
16. Wipe cache after each update, especially if you notice worsened battery drain. To wipe cache, turn off the phone, then hold Power + VolDown buttons continuously until it starts, keep holding until a menu appears. After you enter your phone password you can choose "Wipe Cache/Data" section which brings another menu, choose "Wipe Cache" then after confirmation, choose Reboot.
17. If you are not using the landscape mode a lot, prefer to lock the phone rotation in portrait mode (the toggle is present among the quick toggles) and only unlock the rotation when needed. From what I have read, somehow the auto-rotation seems to unnecessarily cause some activity (even wake-locks), and from my experience I did see a bit of improvement from this tweak, looks like more than placebo.
18. If you already have a OnePlus 6, this does not apply. But if you are after ultimate battery life, keep in mind, less chips means less power draw if all else is equal, and RAM memory needs continuous refresh, so a model with 6GB of RAM may be a bit more power-efficient than one with 8GB RAM, especially given the fact that still-large 6GB of RAM virtually guarantees that there will be no extra overhead related too app reloading.
Hopefully this will help some people.
Below you will find some of my usual stand-by times after the optimization. Since update 5.1.7 battery life seems to be improved even further (see last 2 screenshots - with 5.1.7 and 5.1.8).
Thanks for all this. Most of the things I already did myself, but some of them actually make a lot of sense but I've never thought about it before.
Already very happy with the battery life I'm getting, but very curious if it will be even better now.
Thanks for this nice pice of guide!
All of this means nothing if you have really bad cell reception like me. -105 to -112 dBm at the office. Drains like hell in standby.
Cst79 said:
1. Go to Settings->Battery->Battery optimization->[tap on the 3 vertical dots on the upper right corner] and enable the phone's "Advanced Battery Optimization" (aka. Aggressive Doze) feature, while at the same time whitelisting apps from which you need instant notifications, like Whatsapp or Outlook, etc. For other apps notifications may be delayed. Some applications like AdBlock Plus for Samsung browser also need whitelisting to work properly. Just go by trial and error with finding which applications need whitelisting.
Click to expand...
Click to collapse
By Whitelist you mean changing it to "Not Optimize correct?
mesajoejoe said:
By Whitelist you mean changing it to "Not Optimize correct?
Click to expand...
Click to collapse
Correct !
well done on post [emoji106]
Dumb question, is Advanced Optimization (with some apps not optimized as needed) definitely more efficient than normal, with every app set to optimize as by default (and everything works)?
Why isn't there 3 settings for every app: not optimized, optimized, and advanced optimized?
and i got this today... now charging...
Muntasir Mahmud Saif said:
and i got this today... now charging...
Click to expand...
Click to collapse
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Cst79 said:
Looks pretty great ! Did you use the optimizations from this guide ? Any other tips ?
Click to expand...
Click to collapse
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Cst79 said:
15. Do not enter your OnePlus account information. This will activate all kinds of data-sending services that will contribute to the battery drain.
Click to expand...
Click to collapse
Hi Bro,
Sorry that i not so understand what this item 15 means.
xiah1512 said:
Hi Bro,
Sorry that i not so understand what this item 15 means.
Click to expand...
Click to collapse
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
Ok, Thanks bro.
For those suggestions that cut down on network chit-chat, this also serves as a partial data usage optimization guide. Thanks for taking time to enumerate all these suggestions. I found a few slam-dunks in this list.
Cst79 said:
As you may know, especially if you purchased your phone or accessories from the OnePlus website or accessed the OnePlus forums or support, you can create a OnePlus account online. At phone setup, OnePlus asks you to optionally enter this account for various benefits. Do not enter this information when/if asked. Or, if already entered, you can delete it from Settings->Accounts.
Click to expand...
Click to collapse
What does adding that account allow you to do?
Muntasir Mahmud Saif said:
no bro...i always make my own optimization...no offense though... I'll post the guide later on...
Click to expand...
Click to collapse
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
-marco- said:
how did you fix the massive overnight drain eventually?
I'm getting 8% drain overnight, I dont think that's normal.
Click to expand...
Click to collapse
You are on 5.1.6?
Joyarup said:
You are on 5.1.6?
Click to expand...
Click to collapse
I am, yes.
-marco- said:
I am, yes.
Click to expand...
Click to collapse
I was also facing this weird issue, then I noticed that the phone wasn't deep sleeping for some reasons, I rebooted it before going to sleep and it went to deep sleep fine and the drain was around 2% on LTE standby overnight. I will try different kernels too, currently using EX.

Battery drain unrooted Android 11

On stock and android 11 unrooted phone.
Coming from rooted android 10 the battery drain is way higher on android 11
Done all the usual stuff to stop drain and debloated few things but what else can anyone recommend for battery saving
Thanks
Things that help me are:
DEBLOAT
Debloat Oneplus account
Debloat Oneplus cloud
Debloat Oneplus wireless emergency alerts.
Debloat Google Pictures
Debloat Google Movies
Debloat Google Music
Debloat Google Gmail
SETTINGS
WIFI Scanning settings: Turn OFF
Bluethooth/Printing : Turn OFF
NFC: OFF, never use it.
Adaptive brightness : OFF ( Always adjusting consumes battery)
Use a dark Wallpaper & Screen time out is 30s
Notification, only allow the apps you want. Or switch off, every notification wakes the phone from Doze mode.
Location: OFF
Battery : Optimise every user app, including Google Play store & Google Play Services (Battery HOGS)
Accounts: Switch Sync data off
Hope this helps you.
@soka said:
Things that help me are:
DEBLOAT
Debloat Oneplus account
Debloat Oneplus cloud
Debloat Oneplus wireless emergency alerts.
Debloat Google Pictures
Debloat Google Movies
Debloat Google Music
Debloat Google Gmail
SETTINGS
WIFI Scanning settings: Turn OFF
Bluethooth/Printing : Turn OFF
NFC: OFF, never use it.
Adaptive brightness : OFF ( Always adjusting consumes battery)
Use a dark Wallpaper & Screen time out is 30s
Notification, only allow the apps you want. Or switch off, every notification wakes the phone from Doze mode.
Location: OFF
Battery : Optimise every user app, including Google Play store & Google Play Services (Battery HOGS)
Accounts: Switch Sync data off
Hope this helps you.
Click to expand...
Click to collapse
Thanks for the above
Optimise the battery on most apps and not getting some notifications ie Gmail so take it this is one of the side affects
Yep, stuff that runs in the background always eat battery. Especially Google apps.
@soka said:
Yep, stuff that runs in the background always eat battery. Especially Google apps.
Click to expand...
Click to collapse
Goggle play Services, Playstore, Google backup Transport and Framework are prime offenders.
The former two I kept disabled unless I need them. The latter two are package blocked.
Sync is turned off. Gmaps is kept firewall blocked unless needed otherwise it constantly is running in the background.
@soka said:
funkyirishman said:
Thanks for the above
Optimise the battery on most apps and not getting some notifications ie Gmail so take it this is one of the side affects
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Optimization can eat battery and cause erratic behavior. Developer options>Standby apps, all buckets should show as active. Otherwise power management is active and it will cause trouble.
Dependencies... disabling some apps can cause seemingly unpredictable consequences and higher battery consumption. Goggle play Services has lots of dependencies but killing it saves battery. Turning off location helps too.
Turn off all carrier, manufacturer and app feedback.
Disable OTA updates; only update if proven to be worthwhile. Most updates harm the usability and provide little improvement. If the phone is running fast, stable and fulfilling its mission leave it be. Most carrier Android phones need to be optimized or they will run like pigs. Updates generally just complicate the optimization process.
Each Android and user are unique requiring different solutions. Play with it.
With Google you're not the customer, you're the product... the less Gookill, the better.
blackhawk said:
Goggle play Services, Playstore, Google backup Transport and Framework are prime offenders.
The former two I kept disabled unless I need them. The latter two are package blocked.
Sync is turned off. Gmaps is kept firewall blocked unless needed otherwise it constantly is running in the background.
Optimization can eat battery and cause erratic behavior. Developer options>Standby apps, all buckets should show as active. Otherwise power management is active and it will cause trouble.
Click to expand...
Click to collapse
Was looking at this but what do you mean by 'all buckets'?
Some of the apps are on WORKIng_SET /ACTIVE or RARE and a few on FREQUENT
Anything to do on these to save battery
Also I have Dont Keep Activities ticked but even when I close the apps its still running and press clear all
funkyirishman said:
Was looking at this but what do you mean by 'all buckets'?
Some of the apps are on WORKIng_SET /ACTIVE or RARE and a few on FREQUENT*
Anything to do on these to save battery
Also I have Dont Keep Activities ticked but even when I close the apps its still running and press clear all
Click to expand...
Click to collapse
*These are the buckets. Google terminology not mine. More Google bloatware.
If you can't change their run state there then power management is disable... as is best.
Simple close apps when done with them.
If they continue to cause trouble try limiting background battery and/or data usage.
Ditch the really bad actors if can't get them to behave.
Power management apps will cause nothing but trouble and eat battery. Android manages its self well without this junk with well written apps.

Categories

Resources