[GUIDE] Improve Battery life and performance (no root) - X Style (Pure) General

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.

Related

[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

[Battery Life Help] Troubleshoot battery issues here! (Noob friendly)

Welcome to the new Battery Life Help thread.
Please post the recommended screen shots from post 4 when posting here.... Or you will only get guesses as replies... If you get any.
Read the first 4 posts here before posting. You may not even need to post after you have!
If you are on a device other than a Nexus 5, that's fine, but please state that up front.... Or things may get confusing for all of us. ?
I'm not the "technician" of this thread, as there are many knowledgeable members on battery life savings and troubleshooting. Sometimes opinions vary... And that's always how things are...especially on the interwebz. Usually that's a good thing.
All are encouraged to participate!!!!
Most battery issues are non device specific.... Most. And troubleshooting is almost universal. Occasionally there's device specific issues and bugs, but mostly its about basic setup and usage patterns. No matter the device.
So, some guidelines to make finding issues efficient. (A lot of this won't be possible if you are not rooted....so do your best)
1. Please please please.....use Gsam (my favorite) or Better Battery Stats (BBS) or Wakelock Detector when posting screenshots. No one can stop you from posting shots from the stock battery usage screens in settings....but 9 times out of 10 you'll be asked to use one of the above apps....cause the stock screens say to little to be useful finding an issue. Just install one of the apps. Use it until your issue is solved...then get rid of it if you wish. Tho really, they are great tools to have, and NO, they don't consume heavy amounts of battery life. At all.
2. No screenshots will probably get you no useful help. As any attempt to assist you would just be guesses and generic tips.
3. As of Kit Kat, you either need an xposed module found Here or if you use Gsam, also install Gsam Root Companion. Both found on Play Store. Without any of those, you can't see wakelocks in Kit Kat.
4. Here are the standard screenshots that will get you the quickest help. In Gsam anyway....or the equivalent screens in the other apps.
For Gsam, you should post....
- The main screen.
- App sucker screen.
(In app sucker, click the drop down for the rest...)
- Times waking device.
- Time held Awake.
- Kernel wakelocks.
Yes, that is 5 screenshots. A lot I know. But together those will give almost all the info needed to help you. Usually.
5. Obviously, above your screenshots, post your issue in as much detail as possible. Like your setup (location on or off... Gnow on or off...screen settings...signal strength on Data especially... And anything else you feel may matter) and your usage. Gaming? Navigation? Etc.
All of the above will lead to much quicker help, without the need for people trying to help having to ask you a bunch of questions.
Be patient!! Some battery issues are very hard to lock down.....but 95.6 percent of them can eventually be solved. And remember....usage plays a big part! You may be stuck with 3 hours screen on time because of your usage. Sorry. Games for example. And a really poor signal strength while on data is a battery death march.
Tips for better Battery Life
These tips are going to be a collection of all I know, as well as contributions from you guys over time...that I will add in. Unless of course I completely disagree. Lol. (I.E. Task killers, Juice Defender type apps....etc)
First thing is first, since it seems to cause the most problems......and so many can't live without it. Lol. Location Services.
Location Services
Location Services is so very poorly implemented in Android, its almost absurd. The service itself isn't so much to blame for battery issues, but its weakness to getting exploited by other apps. Social apps being the worst offenders. Its also very hard to pin down the offending apps. Yes, many have no issue with location services. They're the lucky ones. Sooooo many do lose a tonne of battery life to it tho, usually by excessive wakes caused by apps accessing it.
So, my first piece of advice. TURN IT OFF! Use your toggles. On when needed, off when done. It doesn't take long, its a couple clicks. Guaranteed you see FAR greater battery life because of it.
If you must use it....just must.....know that Batter Saver is NOT the most battery friendly setting. Device only is. (GPS only). Don't know why, talk to Google for an explanation. Signal strength for data I bet. And of course, high accuracy will drop your battery the quickest.
Location history reporting. Battery killer.
Android Device Manager. Found in Google settings app. "Remotely locate this device", battery killer. Neat feature....but will cost you battery time. And the other option, "remote lock and erase"....surely takes its share of the battery pie also.
So, device only is your best bet, but not so great indoors. Probably won't find the satellites. But it will be far better on your Juice. One way to use location on and help stop apps from abusing it, is Grrenifying the apps that use it, or using app ops or its equivalent to change app permissions and disallow them location permission.
K, I bashed on location enough. But it is the number one item in most issues I see.
Signal Strength
A weak signal is about the quickest drain a phone can have. If your signal is very weak and spending time out of service and scanning for a signal.....your battery can literally drop like a rock. The worst part, Gsam and similar apps don't really indicate the signal, radio or anything else is draining your battery. I'm not sure why these apps can't report the loss from signal, but I guess its just not possible.
Very hard to "fix" this issue.
- Your first option, get on WiFi. Its not really the text and phone part of the radio draining you, its data. If your signal is poor or non existent and apps are trying to sync over data.....the phone is working overtime trying to transfer the data. Getting on WiFi will fix this. Even with poor signal strength on the radio.
- Next option, toggle off data in poor coverage. No, your social apps and what not won't work. But you'll still get texts and calls. When you have a signal. This will dramatically slow the battery drain.
- Last option. Airplane mode. Yes, you will be completely cut off from the world. But your battery will barely drop.....assuming you have no issues and your standby drain is good.
Of course, combine poor signal with location services on high accuracy or battery savings....with data on....and you will be charging by lunch time or have a dead phone.
Roms and Kernels
I won't say much about this. There's those who will agree with me and those that always ask "what's the best ROM/kernel for battery life?". MOST experienced users will agree....ROM/kernel combos will make minor differences occasionally. Its all about setup and usage.....and signal strength.
I always say.....I could run any ROM or kernel (and I almost have) and will still get 24 hours plus with 6 hours SoT consistently, with my lean setup and low CPU demand usage. Guaranteed. Now, if you want me to prove it.....I wanna be paid for my time. And I'm not cheap.
Kernel tweaking, such as under volting/clocking, may gain you small battery life returns at best. And also possible lag and instability. Lots will disagree with me here. But thoroughly test it out yourself and see. ��
But to each their own I always say. Personally, I can't remember the last time I changed any kernel settings from whatever one I'm running. I just don't see the point. Fun and experimentation perhaps.....but big battery savings.....not gonna happen.
Last kernel thing......double tap to wake, even with the timeouts it has now.....lots of battery drain.
Greenify
I use it. Some don't. I use it on anything I know is going to run when it feels like and possibly steal my battery juice or cause any issues. One app I've always greenified is Maps. If it comes with the ROM, I convert it to a user app with titanium backup and then Greenify it. Games, any I ever have, greenified. I don't need or want to know my farm is ready to harvest. Lol. I'll find out when I open the game.
Use at your discretion. I wouldn't Greenify anything I use often, like dolphin or Tapatalk.....it'll just use more juice constantly loading them into memory. Social also won't sync if greenified. And be very careful greenifying system apps. That can cause you issues for sure.
Greenify tip from @Lethargy:
The paid version of Greenify let's you choose an option for Greenified apps called GSM push, when used with Xposed and the Greenify module activated. It allows you to still receive push notifications from hibernated apps. So you can Greenify those social apps that like to spam location services and burn data when your not even using them....and they will be awoken when you get a push notification. Will help with the drain from these apps better than doing nothing with them for sure! . A happy middle between always running and totally hibernated.
Screen Brightness
I think we all know a bright screen will cost you lots of juice. Out in the sun, there's not much we can do about it. I go back and forth sometimes. If I'm outside all day, I just usually put on auto brightness. But, nothing will help you save juice more than setting it manually. Someone not long ago mentioned an app called "Display Brightness ". Its free, and puts a very customizable slider anywhere around the edge of your screen that you want it. It gives you a quick access slider on your screen and its always there no matter what app you're in. You can change its size, location, color, transparency... Etc. Great little app.
Anyway.....if you keep the screen as dim as is comfortable for you, you'll get big gains in battery time.
I'm not convinced about LUX and its equivalents.... But many swear by them. Definitely something to look at too.
Tasker
I know little of tasker, I've never really got into it much. I did pay for it....and can't say when I last used it. Lol
You can do amazing things with it....to automate much of the things I've mentioned. A great tool for sure!!!
I've just never minded using toggles myself.
A few Quick Ones
- The more vibrating your phone does, the more juice it will drink.
- Games. We all know they kill the battery fast. Nuff said. . (Keep the screen dim)
- Social apps and other things that sync....the more you have, the more your battery time decreases. Especially picture heavy ones, like Facebook. It takes data transfer and CPU time to load all those images. Also, some wake your device a crazy amount of times to keep you up to date with your friends. (See Post Number 3 for help on controlling these and much more!!!!)
- Task killers. Guaranteed they waste more battery than they claim they'll save. Opening apps over and over is far worse on the battery than them sitting in memory idle. (In most cases. Greenify the exceptions). Android RAM is meant to be used. Too much free RAM is not helping, its wasted RAM.
- Juice Defender and other battery saver apps. Most will agree, some may not....but again, waste more juice than they save. For a moderate to heavy user, setup juice defender and look at your times held awake later. It can easily get over 2000 wakes per day.
Now...for a very light user.....very light....like you barely touch your phone all day....then Juice Defender may actually help you. But only the very light user.
Summary
Not all of these things are for everyone....but with each piece of advice you take, you'll save a little more juice.
Is my phone no longer a smartphone? Many have said that. Lol. Well guess what....in a few clicks, my phones intelligence can skyrocket. I just don't need things running 24/7 when I don't need them....or never use them.
So, here is a quick checklist of what I personally do after I install any ROM. And again, my battery life is as good as most I've seen. I'm just sharing this, not suggesting everyone do it. And also, all of our needs, usage and apps we use vary.....so there's no way to all have the exact same setup. Or the same battery times!!
After every install:
- I go into accounts/Google. Unchecked the things I don't want to sync. Usually I only have gmail, calendar and contacts checked.
- I turn location to device only, location history reporting is usually off for me by default, so I don't need to remember when I actually use it, then I turn it off completely.
- I go into Google settings app. In android device manager, they are both unchecked. Google Now is off. In ads, I check opt out of customizable ads. Location is already off.
- Sound settings. I uncheck all the options at bottom. No click sound, no vibrate on touch...etc. ( my keyboard makes no sound or vibration either). My phone only vibrates if I set it to vibrate. Otherwise it never vibrates on calls or notifications.
- I change a few cosmetics. (No battery impact here)
- I download titanium backup and restore my apps. Only user apps, and only data on the ones I don't want to setup again.
- change my wallpaper black. Not sure on an N5 if it helps battery life whatsoever.....its just my visual preference.
- Go into titanium backup and freeze, NOT uninstall...everything I never use.
- reboot.
- I Greenify all the apps I usually Greenify.
- Nova gets data restored, so not much to usually setup there. Its just how I had it.
- Restore the only widget I use. An agenda widget.
- Start LMT, Gsam, Display Brightness app and light flow...on some ROMs. The ones that have customizable notification LEDs by default, i don't use light flow. All of these get restored with data, so no setting up preferences required. Kii keyboard as well. And I disable the Nav keys.
Well, that's my setup routine. Again, to each their own. Just sharing my way. ��
That's all I have for now. Formatting (and spell and grammer check) will be tweaked to be easier to read in days to come. So no need to comment on my many mistakes. Lol. Plus additions I think are helpful from the community will be added. Along with credit, unless you don't want it.
Just whipped this up quick to help those that want it. I'll make it prettier soon. Promise!!
Good luck! ��
Managing syncs and services with "Disable Service"
Google Services drain? Syncs magically re-enabling themselves? Useless social app syncs?
Google apps and various social media apps use syncs. They'll put themselves under the "Accounts" section in Settings if they have any. At first the concept sounds fine, but the thing is, most of them are useless, abusively used and just waste your battery. Sync services cause wakelocks as they can't run while in deep sleep. Multiple syncs active causes dispersed wakeups, draining even more battery. Syncs also (for some unknown reason) sometimes re-enable themselves when you've unchecked them previously! Greenifying Google Play Services isn't a good idea since it'll constantly kill and automatically restart the services, which probably does more harm than good. It can also cause issues and break things, so what can you do about it?
There is a solution, use the app "Disable Service", found here: https://play.google.com/store/apps/details?id=cn.wq.disableservice
True to it's name, it allows you to selectively disable services for apps, completely preventing them from being used, as if they didn't exist:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see above, I only have a Sync for Gmail, it's the only one I have a use for and the others are completely disabled, not just unticked (they sometimes re-tick themselves..).
[Note: "* Google Play Services" is a hidden sync that's for Google Account settings, I can see it because I'm using the Greenify Donation Package along with Xposed, the feature called "Reveal Hidden Sync". Its integrated into the core of Google Play Services so you can't disable it completely without causing issues (unticking is fine). It doesn't cause any wakes anyways since it's only active for a moment when you manually change account settings in Google Settings (i.e. device is awake anyways and it's not like you're always changing the settings).]
Now Google Play Services, various Google apps and social media apps have a lot of services. How do we tell which ones to disable?
They have "Sync" in the name and begin with what they're syncing.
For example:
Under Google Play Services, PeopleSyncService is the sync for "People" under your Google account.
Under Google+, AutoBackupSyncService is the Auto Backup sync for Photos.
Simply uncheck the boxes to disable a service:
If you're unsure which sync is which, the best way to tell is going to the sync page (In Settings > Account, see the first screenshot of this post), then opening Disable Service, disable a service and see which sync disappears. Re-enable it if it turns out to be a sync you rely on. If you're not 100% sure what a service is for, feel free to mention me in this thread, I'll provide an answer if I know what is is.
Social media apps also use syncs for purposes such as "find your friends", "contacts sync" and "photo album sync". Useful for some, but not everyone. They also use syncs to "refresh" automatically while you're not looking at them. There isn't really any need for that.. I mean, it'll refresh posts when you open up the app again and your notifications are pushed to your device anyways, right?
Waste of battery. You can disable all these too with no issues. Extremely helpful if you have a bunch of social media apps which nag you for syncs.
Also keep in mind that Google apps put all their syncs under the Google account and you'll have to go their respective apps to disable them (usually with "Adapter" in its name, but not always). For example, the Google+ and Google Chrome syncs get merged under your Google account.
If you also have the Greenify Donation Package and Xposed Framework, you can enable "Wakeup Timer Coalescing". This feature causes your syncs to all sync at the same time, rather than leaving them to sync whenever they want. It'll save a bit of battery because it'll only need to wake once rather than multiple times. Useful if you still rely on a few actually useful syncs such as Gmail.
The Disable Service app is also useful for disabling useless services which other apps tend to activate even if they're not being used. One example is YouTube. It wakes up screen cast services even if they're not being used, which subsequently wakes up Google Play Services. If you never use screen casting, you can disable it so it won't wake Play Services pointlessly whenever you open YouTube. Examples of some other services you can disable if you don't use them are Wearable Services, Play Games, Analytics. Don't disable any services with "Gcm", "gtalk" or "push" in them or you risk missing notifications from apps which use GCM cloud to push notifications to your device.
If you never use location you can also disable everything with "geo" or "location" in it, so it'll be completely disabled. No more location wakelocks. Ever.
Do keep in mind that disabling some could render an app useless if it legitimately needs to use it.
Titanium Backup won't work on Disable Service as it doesn't actually store any data itself and disables it in the system ("pm disable"). The "cut off wakeup path" feature of Greenify Donation Package + Xposed does the same thing, but (as far as I know) temporarily as it stores it in Greenify's data, and you can only disable them once they come up, not selectively.
Luckily, Disable Service has a hidden backup/restore function which you'll probably miss. Its in Overflow Menu > About. Helpful when flashing new ROMs/clean flashing. Puts DS_backup.txt on your Internal Storage.
For a general idea of what most of us have disabled without issues, I've dumped screenshots of what I personally have disabled. Please note that not everyone's would be the same, and some people may still need specific services to be enabled. Here: http://imgur.com/a/YyPtT
Blocking the wakelock permission on Play Services isn't a bad idea either, see my post here: http://forum.xda-developers.com/showpost.php?p=54516634&postcount=332
If you're a user of location but you don't want the services to always be active when you don't need them (e.g. you only need them for driving/maps), you can use Tasker to enable and disable them. Create a new task, add action: Script > Run Shell. The command is "pm disable package.name/package.name.service".
e.g. for disabling AnalyticsService:
Code:
pm disable com.google.android.gms/com.google.android.gms.analytics.service.AnalyticsService
Make sure to check "Use Root". To enable a service you use pm enable instead of pm disable, of course. Try not to toggle them too much (e.g. enable/disable if Google Maps is open or not), as it'll probably cause a lot of lag. Manual toggles are probably best.
Enjoy your device without the annoyance of Play Services wakelocks/syncs:
(13% left, might've made it to 2 days with 7 hours SOT but I was tired so put it on the charger)
For those who want to disable OTA services (and it's possible wakelocks) PROPERLY:
Elluel said:
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$ActiveReceiver
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$Receiver
adb shell su -c pm disable com.google.android.gms/.update.SystemUpdateService$SecretCodeReceiver
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateActivity
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdatePanoActivity
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$Receiver
adb shell su -c pm disable com.google.android.gsf/.update.SystemUpdateService$SecretCodeReceiver
Click to expand...
Click to collapse
(you can also just "su" then "pm disable com.whatever" via a Terminal app)
How to analyze and improve your idle battery drain
If you need help to analyze your battery life, please use BetterBatteryStats to report logs.
1. Charge your phone to 100% then unplug it.
2. Leave your phone idle for at least 7 hours (do not touch the screen)
3. Open BBS and make sure that the start reference is "Unplugged" and the stop reference is "Current" or "Screen on"
4. Hit the Share button, select "Text Dumpfile" and save. The file is stored in the root of your sdcard.
5. Attach it in this thread
Note: Make sure that "Enable while charging" is NOT checked in BBS > Settings > Advanced
Any other information and screenshots about your usage pattern might help.
Here are a few screenshots from last night
‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗‗
Gsam has a lot of easy to follow info available, if you have root companion as well, and know where to look. Many battery issues will show their faces in these screens somewhere. Many, not all.
Please go from 100% to 10 or 15 percent battery left before taking screen shots.....for an accurate idea what's going on.
Here are samples of the important Screenshots from Gsam. Include these in your post and other members will quickly get an idea of what's happening. Hopefully. (not all issues are easy to find)
These are from Gsam with Gsam Root Companion also installed. Without Root Companion, or if you are not rooted....you won't have all these available. So do what you can.
Main Screen
App Sucker Screen
Number of Times Waking Device (in App Sucker drop down)
Time Held Awake (in App Sucker drop down)
Kernel Wakelocks (in App Sucker drop down)
Also, if you have a weak signal a lot...maybe include Phone Radio screen
If your using Auto Brightness especially, the Screen screen can say a lot
And from the systems settings menu, under battery. Click on the graph for a more detailed graph....(tho really not necessary if you posted the first 5 above....and Radio screen if you think your signal is weak)
That's about it, from Gsam anyway.
I know we have a battery thread with 3000 posts....but its cluttered now, as all threads get eventually. Its in General, not Q&A, where troubleshooting is usually found. And its title is Nexus 5 battery results....designed to share times, more so than fix issues. It just became the go to issue place.
Time for a more new member friendly thread that stands out.
Reserved. For moi'
Good idea for the thread. It might also be helpful if you detailed your usage. Of course, people's usage should be what works for them and even if someone emulated your usage they will most likely get slightly different results. However, having said that I think a lot of people will ask for it anyway. I am curious myself as well of course =]
PsychDrummer said:
Good idea for the thread. It might also be helpful if you detailed your usage. Of course, people's usage should be what works for them and even if someone emulated your usage they will most likely get slightly different results. However, having said that I think a lot of people will ask for it anyway. I am curious myself as well of course =]
Click to expand...
Click to collapse
I'll be putting my setup, and general tips in post 2 when I get some time.
My setup is simple really, turn all the frills off. Toggle them when needed. Screen dimmer, and manually adjusted. Greenify anything that can hurt battery life. I don't usually game... I have an N7 for that. I mostly use the browser, Tapatalk...and text. Yes, boring, I know. Lol
And try not to be running data in poor signal coverage areas. That's number one! Use WiFi, or turn off data and use it only when needed. Texts and calls still work with data off.
My setup definitely isn't for everyone....but decent battery life should still be obtainable with a more robust setup. Its all priority. Give up some things, gain more time. Keep some things, lose some time. And definitely squash any abnormal issues. I've ran just about every ROM out there, and always got similar battery life...setup the same on all of them of course.
And I hope others will see what I put and add to it anything I missed.
As I said, this isn't MY thread to oversee.....its just hopefully going to be a more efficient place for help. Assuming the appropriate screenshots accompany the posts. ?
It will be simplistic, nothing fancy. I'm not much into kernel tweaks and what not, not for the small amount of battery life they can add.
The purpose of the thread is for people to post issues, and for people to help solve them.
My tips won't be new to most, just gathered in an easy to find location....especially to help newer folks.
Oh....and the answer to the majority of battery issues......Location Services. Lol
Not location services alone perhaps....but it and the apps using it combined.
Thank Google. They just can't seem to get location services right.
Want significantly better better battery life immediately? Turn it off. Yes, off. Toggle it when needed (2 screen touches usually....a swipe and a click). And toggle it off when done.
Best tip there is. Yes, a sacrifice to some....but usually, great results.
KJ said:
Oh....and the answer to the majority of battery issues......Location Services. Lol
Not location services alone perhaps....but it and the apps using it combined.
Thank Google. They just can't seem to get location services right.
Want significantly better better battery life immediately? Turn it off. Yes, off. Toggle it when needed (2 screen touches usually....a swipe and a click). And toggle it off when done.
Best tip there is. Yes, a sacrifice to some....but usually, great results.
Click to expand...
Click to collapse
So freaking true. I've set up my rom's tile to toggle between High Accuracy and Off. When I need maps or location, I hit the toggle and once I'm done, hit it again :cyclops:
Looking good
Sent from my Nexus 5 using Tapatalk
Just going to put this out there - if you put your brightness on the lowest settings and your device isn't awake too much while the screen is off (i.e. wake locks managed, Greenify/ROM's wake lock blocker), average screen on time should be 4-6 hours EASILY. Everything else is has minimal impact (apart from listening to music with the screen off, which would be keeping your device awake, nothing you can do about that.).
There is NO magic setup that will give you phenomenal battery life - short of a battery case but that doesn't count.
This is 4 and a half hours of continuous use, almost always SoT (4 hours 15 mins SoT). Just browsing forums on Tapatalk while listening to music. Still have a quarter left of my battery:
Sent from my Nexus 5
Lethargy said:
Just going to put this out there - if you put your brightness on the lowest settings and your device isn't awake too much while the screen is off (i.e. wake locks managed, Greenify/ROM's wake lock blocker), average screen on time should be 4-6 hours EASILY. Everything else is has minimal impact (apart from listening to music with the screen off, which would be keeping your device awake, nothing you can do about that.).
There is NO magic setup that will give you phenomenal battery life - short of a battery case but that doesn't count.
This is 4 and a half hours of continuous use, almost always SoT (4 hours 15 mins SoT). Just browsing forums on Tapatalk while listening to music. Still have a quarter left of my battery:
Sent from my Nexus 5
Click to expand...
Click to collapse
Agreed. ?
No, there's no "magic" setup, but 3 hours average to 6 hours average screen time is a huge difference. And setup, usage and signal strength all play a role. The more features off....the longer you'll go. Yes, screen is huge....but things like location services (along with a bunch of social apps) gnow, android device manager...and certain apps can also make a huge difference.
KJ said:
Agreed. ?
No, there's no "magic" setup, but 3 hours average to 6 hours average screen time is a huge difference. And setup, usage and signal strength all play a role. The more features off....the longer you'll go. Yes, screen is huge....but things like location services (along with a bunch of social apps) gnow, android device manager...and certain apps can also make a huge difference.
Click to expand...
Click to collapse
Agree 100%, but by "setup" I meant ROM, kernel, etc. I hate it when people claim that a certain kernel or ROM would give you better battery life - we know otherwise. To some extent maybe, but its only a minor impact compared to other factors that may influence your battery life.
But yes, setup in the form of apps and whatnot could impact battery life but really that's just down to your own usage and management. I have a bunch of social apps on my device but I have them managed properly with Greenify and whatnot. My battery life is fine.
In the end the only real excuse is signal strength. But I guess that's what this thread is for - to help people with the other factors.
And yeah, always nuke location. Its useless and just wants your battery.
Sent from my Nexus 5
The guys saying "my battery sucks", yet have every single feature on, auto brightness, 6 different social apps...etc...etc....are the ones who don't know these things. And they have 3 hours SoT. Well....that's about right. Lol.
So hopefully with tips on what to cut out....they can pick and choose what the can live without. And times will increase with each cut or change.
KJ said:
The guys saying "my battery sucks", yet have every single feature on, auto brightness, 6 different social apps...etc...etc....are the ones who don't know these things. And they have 3 hours SoT. Well....that's about right. Lol.
So hopefully with tips on what to cut out....they can pick and choose what the can live without. And times will increase with each cut or change.
Click to expand...
Click to collapse
You should add it to the OP along with mentioning that a ROM or kernel will hardly make your battery life any better.
And I just hit 5 hours SoT with 15% battery left. I'm doing this just to see how much SoT I would get since I don't drain my battery down very often - and my device is asleep 99.99% of the time the screen is off (with the exception of music lol) - its just good management.
Also, I do have autobrightness enabled - but since I'm on a custom ROM I've changed the brightness levels really, really low, stock values are horrible i.e. battery drainer.
Sent from my Nexus 5
Lethargy said:
You should add it to the OP along with mentioning that a ROM or kernel will hardly make your battery life any better.
And I just hit 5 hours SoT with 15% battery left. I'm doing this just to see how much SoT I would get since I don't drain my battery down very often - and my device is asleep 99.99% of the time the screen is off (with the exception of music lol) - its just good management.
Also, I do have autobrightness enabled - but since I'm on a custom ROM I've changed the brightness levels really, really low, stock values are horrible i.e. battery drainer.
Sent from my Nexus 5
Click to expand...
Click to collapse
Awesome!!
Post 2 will have all the tips I can think of, no matter how harsh...Lol. As well as tips others contribute. Like yours!
Probably won't get to it til the weekend.
This is not a good battery cycle.
unsivil_audio said:
This is not a good battery cycle.
Click to expand...
Click to collapse
Seems pretty good to me??
Its on the borderline of acceptable to me. Location set to device, no GN. I can't tell if FB is a killer or not. I mean my wakelocks are under control (40 mins of that is listening to music). My battery life really seems to vary by the day with virtually no setup changes. I'm going back to location off today. We'll see if it helps.
v----This on the other hand was awesome...

Tips to For Increasing Battery Life on the Galaxy S9

Sooner or later you will find yourself looking to save some battery life. here are a few ways.
1- Disable Always-On Display
2- Put apps to sleep
3- Lower screen resolution
4- Use Dark wallpaper/ Shorten screen timeout
5- Auto Screen brightness off
6- Turn Wifi off when not in use.
The video shows how to do these if you're not familiar with the settings on the phone. Feel free to add to the list.
Honestly I don't get any better battery life when using the phone at FHD rather than QHD. If anything it seems to me that the software had become so optimized for QHD that it may actually turn out more SOT and general battery life times. But that may just be my experience, not sure
Sent from my SM-G965U1 using Tapatalk
blackout720 said:
Sooner or later you will find yourself looking to save some battery life. here are a few ways.
1- Disable Always-On Display
2- Put apps to sleep
3- Lower screen resolution
4- Use Dark wallpaper/ Shorten screen timeout
5- Auto Screen brightness off
6- Turn Wifi off when not in use.
The video shows how to do these if you're not familiar with the settings on the phone. Feel free to add to the list.
Click to expand...
Click to collapse
7. Turn off your device
ticalo said:
7. Turn off your device
Click to expand...
Click to collapse
Every year someone makes this joke.
Here's a link to one of my recent posts of all the things that I disable. They all add up...
Also, never let the phone fall below 10% if you're able to control it.
iunlock said:
Here's a link to one of my recent posts of all the things that I disable. They all add up...
Also, never let the phone fall below 10% if you're able to control it.
Click to expand...
Click to collapse
Why not let it fall below 10% ?
I've yet to see any conclusive evidence that the battery life improves when you lower the resolution. Best argument I've seen for doing this is an improvement in scrolling and animations
blackout720 said:
Every year someone makes this joke.
Click to expand...
Click to collapse
And every year I laugh at it because every year people buy the best phone on the market and then make a list of how to disable everything and cripple it so they can squeeze another hour of battery life in.
I get it because I used to be obsessed with battery life but then I realized I have chargers, wired and wireless, everywhere.
Install BK Package Manager and disable all bloatware.
Quick tip for excellent battery life:
1. Go to wifi advanced settings and tell your phone to turn off wifi during sleep unless the phone is charging. ( helps a little)
2. Turn on data saver on your phone (so when ur phone is off it updates using ur data instead of wifi. since wifi is off during sleep if u did step 1)
3. Go into data saver settings and give unlimited data access to specific apps that you use such as Google play services( for account and data backup) messenger, gmail and any other important apps)
4. Go Into your battery settings, under unmonitored apps, remove every app sitting in there. Then go into always sleeping apps, and set everything to sleep except the apps you use the most and want to receive regular notifications for. (So of course Google play services and Samsung services if u use those to back up your data and some messaging apps and mail apps, messenger, snapchat etc)
If you do these steps you are preventing your phone from randomly syncing information. (The biggest culprits being the apps you don't really use such as the Samsung apps like AR EMOJIS, ant services, galaxy app store, etc).
this has saved me significant battery life. Averaging about 8hrs screen on time and get abt 2 days battery with relatively heavy use. (Inbox,YouTube, instagram, snapchat, bleacher report etc).
Hope this helps
ticalo said:
7. Turn off your device
Click to expand...
Click to collapse
Make sure you turn off your Bluetooth before you do that.
---------- Post added at 03:14 AM ---------- Previous post was at 03:10 AM ----------
spaladugu said:
Quick tip for excellent battery life:
1. Go to wifi advanced settings and tell your phone to turn off wifi during sleep unless the phone is charging. ( helps a little)
2. Turn on data saver on your phone (so when ur phone is off it updates using ur data instead of wifi. since wifi is off during sleep if u did step 1)
3. Go into data saver settings and give unlimited data access to specific apps that you use such as Google play services( for account and data backup) messenger, gmail and any other important apps)
If you do these steps you are preventing your phone from randomly syncing information. (The biggest culprits being the apps you don't really use such as the Samsung be like AR EMOJIS, ant services, galaxy app store, etc).
this has saved me significant battery life. Averaging about 8hrs screen on time and get abt 2 days battery with relatively heavy use. (Inbox,YouTube, instagram, snapchat, bleacher report etc).
Hope this helps
Click to expand...
Click to collapse
You're trying too hard.
vintagerock said:
And every year I laugh at it because every year people buy the best phone on the market and then make a list of how to disable everything and cripple it so they can squeeze another hour of battery life in.
I get it because I used to be obsessed with battery life but then I realized I have chargers, wired and wireless, everywhere.
Click to expand...
Click to collapse
battery life degrades overtime tho. this could help down the road.
ilatimer1 said:
Install BK Package Manager and disable all bloatware.
Click to expand...
Click to collapse
This is all I really do. Disable those apps and services that I don't use. I agree it's crazy to get a flagship phone to then just turn off a bunch of features that make it a flagship.
Any advise for standby drain? Thats where i seem to be suffering! Even greenify doesn’t help!?
gibbo82 said:
Any advise for standby drain? Thats where i seem to be suffering! Even greenify doesn’t help!?
Click to expand...
Click to collapse
Are you inside a building during most of the standby time? Or anywhere that would cause a weak signal? I found inside large building or places where cell reception is low causes a lot of battery drain during standby
spaladugu said:
Quick tip for excellent battery life:
1. Go to wifi advanced settings and tell your phone to turn off wifi during sleep unless the phone is charging. ( helps a little)
2. Turn on data saver on your phone (so when ur phone is off it updates using ur data instead of wifi. since wifi is off during sleep if u did step 1)
3. Go into data saver settings and give unlimited data access to specific apps that you use such as Google play services( for account and data backup) messenger, gmail and any other important apps)
4. Go Into your battery settings, under unmonitored apps, remove every app sitting in there. Then go into always sleeping apps, and set everything to sleep except the apps you use the most and want to receive regular notifications for. (So of course Google play services and Samsung services if u use those to back up your data and some messaging apps and mail apps, messenger, snapchat etc)
If you do these steps you are preventing your phone from randomly syncing information. (The biggest culprits being the apps you don't really use such as the Samsung apps like AR EMOJIS, ant services, galaxy app store, etc).
this has saved me significant battery life. Averaging about 8hrs screen on time and get abt 2 days battery with relatively heavy use. (Inbox,YouTube, instagram, snapchat, bleacher report etc).
Hope this helps
Click to expand...
Click to collapse
No just no. Feels like i disabled every app there is. 4 hours sot. Maximum 24 hours total time. Draining 10% minimum during sleep if left unplugged for (7 hours) i put every app in sleep. Cant find samsung ar etc in (always sleeping apps tho) i set everything except for messenger. Snap.waze. bbs and spotify in always sleep. Still not sure it will work. Aod on. Auto brightness on.. maybe i shouldn't complain. But when people get 7 hours sot i feel like i need to complain. I had bad battery time with my s7 aswell.
Swordchan said:
No just no. Feels like i disabled every app there is. 4 hours sot. Maximum 24 hours total time. Draining 10% minimum during sleep if left unplugged for (7 hours) i put every app in sleep. Cant find samsung ar etc in (always sleeping apps tho) i set everything except for messenger. Snap.waze. bbs and spotify in always sleep. Still not sure it will work. Aod on. Auto brightness on.. maybe i shouldn't complain. But when people get 7 hours sot i feel like i need to complain. I had bad battery time with my s7 aswell.
Click to expand...
Click to collapse
I understand why you would be skeptical. i will try to get a screenshot the next time i have a chance.
Another thing I did notice is screen brightness is one of the biggest battery killers on the phone. Maybe try power saving mode but only use the -10% brightness option that should help a little bit or manage your brightness manually. Hope that helps
I'm pretty disappointed with the battery life on my S9+ to be honest. Today for example, with minimal usage, after unplugging at about 9:30 am I was down to 35% by noon.
I've recharged it and now left it sitting - it is consuming power at a rate of 1% per 10 minutes, just sitting on the table without me using it. I'm at home, with a strong 4G signal, WiFi router is in the same room, and Bluetooth is disabled.
I moved from an LG G6 to this phone because I was tired of the LG hanging and stumbling to do basic things, but at least the battery lasted a little longer - I could sit it on the table and I'd only lose a couple of percent over the course of a few hours.
spaladugu said:
Quick tip for excellent battery life:
1. Go to wifi advanced settings and tell your phone to turn off wifi during sleep unless the phone is charging. ( helps a little)
2. Turn on data saver on your phone (so when ur phone is off it updates using ur data instead of wifi. since wifi is off during sleep if u did step 1)
3. Go into data saver settings and give unlimited data access to specific apps that you use such as Google play services( for account and data backup) messenger, gmail and any other important apps)
4. Go Into your battery settings, under unmonitored apps, remove every app sitting in there. Then go into always sleeping apps, and set everything to sleep except the apps you use the most and want to receive regular notifications for. (So of course Google play services and Samsung services if u use those to back up your data and some messaging apps and mail apps, messenger, snapchat etc)
If you do these steps you are preventing your phone from randomly syncing information. (The biggest culprits being the apps you don't really use such as the Samsung apps like AR EMOJIS, ant services, galaxy app store, etc).
this has saved me significant battery life. Averaging about 8hrs screen on time and get abt 2 days battery with relatively heavy use. (Inbox,YouTube, instagram, snapchat, bleacher report etc).
Hope this helps
Click to expand...
Click to collapse
I followed these steps yesterday. I took my phone off the charger about 11pm yesterday. Here is my battery info since that time
Ill tell you one way that brought my battery life to Awesomeness. lol Sounds like nothing But i deleted/Disabled FACEBOOK APP and right now im on
1 DAY 12hrs and 27 mins
WITH 52% battery left
Before I removed facebook it was about 30 hours or so.

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

How to get good battery life?

Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
iElvis said:
Depends what you define as "good battery life." I find some people think they should be getting 12 hours SOT and 0% overnight drain because they read a post by someone who has their phone running with half the functions disabled and 5% screen brightness.
There are a couple of kernels that cap CPU performance if that's what you want. But you're probably better off figuring out what apps are using battery and optimize/remove them. Battery life is typically a userspace issue.
Click to expand...
Click to collapse
Now I am getting 3 hours of SOT max.
I do have quite a lot apps (127 apps)
But I can't figure out which ones are taking battery.
Read one of the battery guides posted in the forums, they might help you out.
With root you can detect drain eazy with betterbatterystats, if you wish to go that road.
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Why not search the forum bro? Someone made a special post on how to get the best battery life...... i know its hard to use the search function but please try
ItsCrewz said:
Hello everyone,
So I was wondering how to get good battery life?
I am on stock firmware latest update. No root.
Installed system wakelock detection but only whatsapp waking up like 5 times.
But, still draining a lot of percentage when the device is idle.
I used greenify to hibernate some apps.
Downgrading cpu is maybe an option.
I hope anyone has an idea!
Click to expand...
Click to collapse
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Lightbird said:
Disable functions you don't need currently. Some apps track you with gps even when you don't use them wich drains a lot of battery. Especially from Apps that don't need this to function normally this is very uncool. Take away the permissions Apps don't need if possible.
Also look up Settings/ Battery for your battery consumption
Click to expand...
Click to collapse
Thanks ill try!
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
I have battery optimization turned on!
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
The advanced one as well?
ItsCrewz said:
I have battery optimization turned on!
Click to expand...
Click to collapse
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
cellular signal booster is the best solution to significantly reduce battery drawing.
AOSP with fully manual control of each and everyone app and service on your phone.
mf117 said:
How do you do to setting up the email to sync every 3 hours? For example with Gmail or outlook
Click to expand...
Click to collapse
I use blue mail. It's free and works with exchange for my work email. I don't use Gmail as it sucks for tweaking. I rarely use Google apps. I use Google calendar, YouTube, Google sheets and Google docs and that's it.
In blue mail there are sync settings
geoff5093 said:
The advanced one as well?
Click to expand...
Click to collapse
Yes
Eric214 said:
I go to settings>accounts>google and turnoff all the syncing options. For calendar and contacts, when I add any, I go into there and just turn them on, let them sync and then turn them back off. Why just let them sync all day long with nothing to sync? Doesn't make sense to me. Also in Setting>Data Usage>Cellular Data Usage i tap each thing and disable background data for each individual app that I don't need doing anything. I leave apps like email, messaging apps (Textra, What'sApp web browser, Google Play Services, Solid Explorer, DropBox, Weather Android OS ) with background on so they work properly. So you know, things like Web Browsers and Solid Explorer you need their background data on so if you are downloading from the net or moving files with the file manager they will fail, so you have to leave those on. Likewise with Google Play Services, you can't download from the play store with background data disabled.
Also, you can turn off location permissions to all apps that don't need it. Go to settings>apps>App Permissions and you can select Location and it will list all apps that have the ability to request Location Permissions. Right now mine says 4 of 30 has location permissions. I have Samsung Internet, Google, Maps and Weather. I have all other apps location turned off. Here you can just go down the list instead have having to go into each app. I also Keep Location set to battery saving unless I need Maps and I just turn it to High Accuracy.
With this and keeping screen brightness on auto I get 9-11 hours SOT. Maybe a little less now since I just bought a gear S3 Frontier watch so my Bluetooth is always active now and communicating to the watch. Oh and a couple other things. I have work email set to push and personal email to sync every 3 hours and weather sync every 6 hours. These are things that are personal preferences and will cause battery life to vary. But setting up background data usage and Location permissions can go a long way for battery life.
Click to expand...
Click to collapse
Thanks a lot! I did everything. Lets see if it works!
ItsCrewz said:
Thanks a lot! I did everything. Lets see if it works!
Click to expand...
Click to collapse
Let me know how it works out for you.
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
prawalhaina said:
maybe you could try
1. going to developer option and decreasing the animation to 0.5x from 1x
2. disabling auto sync in accounts
3. enabling dark theme
4. using wifi more, than using 4G
you will significantly see improvement in the battery life, though the battery is already kickass in the first place
Click to expand...
Click to collapse
Yep having all that already
geoff5093 said:
Stop using apps like Greenify and wakelock detector, they honestly do more harm than good with the newer versions of Android. OnePlus has this built in anyways, called battery optimization. Turn on advanced optimization and only allow apps you NEED to get real time notifications for, I get great battery life with that setup.
Click to expand...
Click to collapse
You sure because when i use greenify i get way better battery life and greenify also adopts to the newer version of android with shallow sleep.

Categories

Resources