Fix battery drain in latest CM13 builds! - Galaxy S 5 Q&A, Help & Troubleshooting

Pretty tired of horrible battery life? Well, I've found a convenient solution for you.
Some tips:
-Download Greenify and enable Doze mode. This is a new generation power saving mechanism, which is way more intelligent than conventional mechanisms.
-Open up Play Store and disable all services, which enables automatic update checking and etc.
-This is a big one - disable Active display inside Settings app.
-Intelligently select between different battery modes. This won't bring a significant battery life difference, but it should be enough to be noticed.
-Download proper MM Gapps, since most of them are broken and in the end those will drain your battery quickly.
-Check your progress using Wakelock Detector and post them here for our convenience. This is a place, where problems are solved.

Related

Battery issue (AndroidOS "bug") - workaround (3% loss over 9 hours!!!) - final update

Battery issue (AndroidOS "bug") - workaround (3% loss over 9 hours!!!) - final update
Yes, I know, another battery thread. But after scouring many other threads for scraps of information, I feel I still have something to contribute on this widely talked about topic. If you’re not interested, don’t read or write on this thread – save your time, and mine. If it is useful to you, then great, please let us know. Here goes.
Like many people, I’ve been plagued with poor battery life on my SGS2. There are plenty of threads out there discussing how to trace the battery consumption back to the “Android OS” processes, specifically the “events” & “suspend” processes. Unfortunately, once isolating those processes, there’s not much we can do. Some say that when we get Android 2.3.4, battery issues might be solved, however:
My first Android phone was a HTC HD2, which was actually a WinMo phone that some clever people had managed to get a working Android ROM for. I started with Android 2.2.1, and as updates were released, upgraded to 2.2.2, 2.2.3, 2.3.1, 2.3.2, 2.3.3, and then I moved on to a new phone. All throughout these different Android versions, I had excellent battery life. The power draw on standby would be between 4ma – 6ma. (Unfortunately we can’t measure the power draw on our SGS2s.) If my phone was fully charged at night, I would wake about 8 hours later, to around 92% battery left. My SGS2 has more like 40-70% after that timeframe. The HD2 had great battery life before 2.3.4. We can all theorise about whether 2.3.4 will fix the issues, but I don’t know, you don’t know, and life goes on. (Personally, I suspect the Samsung base rather than the Android build, but that’s just a guess.)
So I decided to do a systematic approach to troubleshooting the battery issue on my phone, and identified the following possible causes & possible resolutions, based on other people’s comments, and a bit of logic:
• Battery itself
• Battery calibration
• Data connection
• Wifi
• Bluetooth
• GPS
• Location-awareness
• Latitude
• FastDormancy
• Phone connection
• SD card
• Kernel
• CPU speed
• Task killer
• Live Wallpaper
• Launcher
• Widgets
• Applications
• Stock vs custom ROM
• Hard-reset/data-wipe
Some details about my SGS2.I have a lot of applications installed, including the following that are always running (as services):
• WhatsApp
• PhoneWeaver
• Enhanced SMS & Caller ID
• NetQin Anti-virus
• Extended Controls
• Executive Assistant
• Enhanced Email
• Droidin
• Astrid Tasks
• SystemPanel
• SwiftKey X Beta
As well as the standard Samsung & Google background services.
I have used various versions of VillainROM, LiteningROM, and am now on CognitionROM 1.06. (All similar battery usage for me.)
I use LauncherPro Plus home launcher, and also have plenty of widgets on my screens:
• Beautiful Weather
• Agenda Plus
• Jorte
• Extended Controls
• Elixir (updating every 10 secs)
• LauncherPro Plus Facebook
• BBC News
• SetCPU (updating every 30 secs)
• 4 other miscellaneous small widgets
Ok, so here are my results, after testing most of the possibilities, for at least a couple of hours each, and some of them for longer:
Battery itself
I have 3 batteries, and all perform similarly, high drain occurs.
Battery calibration
I have used a battery calibration app several times, and followed the instructions to the letter, high drain still occurs.
This is however, still a useful process when changing ROMs, to help your battery stats be more accurate.
Data connection (tested for 8 hours multiple times)
Data connection turned off, high drain still occurs.
Wifi (tested for 8 hours multiple times)
Wifi turned off, high drain still occurs.
Bluetooth (I usually keep this off)
Bluetooth turned off, high drain still occurs.
GPS
GPS disabled, high drain still occurs.
Location-awareness
All location-awareness methods disabled, high drain still occurs.
Latitude
Never joined, high drain still occurs.
FastDormancy (tested for more than 8 hours in all 3 modes)
1. Default settings, high drain still occurs.
2. Configured for correct settings (my network supports FD) in /data/data/com.android.providers.telephony/databases, high-drain still occurs.
3. Disabled FD completely, high drain still occurs.
Phone connection (tested for 10 hours)
1. Set to GSM only, high drain still occurs.
2. Flight mode enabled (ie all network off), high drain still occurs. This is significant!
SD card
Removed external SD card, high drain still occurs.
Kernel
1. CF-Root KE7, KE8, KF1, KF2, KF4, high drain still occurs.
2. Cognition 1.03, 1.04, 1.05, 1.06, high drain still occurs.
CPU speed
Throttled to maximum 800mhz, high drain still occurs.
Task killer
1. Advanced Task Killer auto-kill when screen off, high drain still occurs.
2. Advanced Task Killer auto-kill disabled, high drain still occurs.
3. Advanced Task Killer auto-kill every hour, untested.
Live Wallpaper
I use a LWP that I have written, and am fairly satisfied that the code is efficient, and does not take up any noticeable amount of CPU when the phone is in standby. However, untested.
Launcher
Tried using LauncherPro, high drain still occurs.
Tried using TouchWiz, high drain still occurs.
Widgets
Removed all my widgets, <insert fanfare> high drain disappeared!!!
WiFi Sharing
Not exactly the "Android OS bug", but it can cause other battery drainage issues. I freeze it with Titanium Backup to prevent any grief.
Applications
Untested.
Stock vs custom ROM
Untested.
Hard-reset/data-wipe
I am sceptical of this approach, as it changes too many settings. Yes, everything will be faster, with less issues, more battery life, etc, when you do a data-wipe. However, once you configure everything back to how it was before, you’re in the same boat as when you started, and none the wiser.
So! A couple of important findings:
1. With Flight-mode enabled, I get poor battery. This pretty much eliminates any possibilities of 2G vs 3G, FastDromancy, and anything else that uses phone/WiFI/BT type stuff.
2. Widgets are what trigger the issues for me. I use a lot of them, and some of them update frequently. Android should be able to handle this, but something (probably either Android or Samsung code) is adding some battery overhead. This may be fixed by Google or Samsung in the future, but until then, I need a workaround. The next step for me is to add my widgets back in gradually, and see which ones trigger the battery grief. I'll update this thread with my findings regarding which widgets cause me grief, once I have them.
I'm back to having all my location services, data, phone, HSDPA/3G, SD card, and other basic services enabled. The only thing I don't have, is widgets on my homescreen, and battery performance is good.
Hopefully this will be of some help to those people still struggling with battery issues! If you're having battery issues, remove your widgets, monitor for at least a few hours, and report back!
------------------------------------------------
Update - 23/06/11
Every night at 10pm, my Data, AutoSync, & WiFi, are all switched off by PhoneWeaver. This should mean that minimal battery life is being used. I still usually get 30-60% drain though, which as we all know, is due to the "Android OS bug".
Last night, after having removed all my widgets, I charged my phone to 98%, and it entered its usual "Night mode" at 10pm. At 7am this morning, it automatically (via PhoneWeaver) went back in to "Home mode", which enabled AutoSync & WiFi. At 7:15am, my alarm went off, woke me up, and I checked the battery usage. It was down to 95%.
That's 3% drainage over 9 hours and 15 minutes!!!
This is the battery life that we should be expecting when we have things like Data & WiFi turned off.
I value my widgets, but I also value battery life. I'm going to keep working to find a decent compromise between the two. In the meantime, if you need battery life now, maybe consider removing some or all of your widgets.
------------------------------------------------
Update - 24/06/11
Last night, I re-added all of my widgets except Elixir, charged the phone to 100%, and let my phone enter "Night mode" (Data & WiFi off). Again, 9 hours later, WiFi auto-enabled, sync operations completed, etc. I checked it at 9 hours 15 minutes, and battery remaining was down to 96% - only 4% drop over the 9 hours. Similar to the night before. Very happy with that.
I've done a couple of tests today, and have found that adding the Elixir widget back on, brings back the "Android OS bug" for me. I have a lot of items configured in my Elixir widget (including some that show internal storage usage and SD card usage), and although I had set it to update only every hour, it still seems to trigger the hogging of my CPU by "Android OS". I'm going to try some different configurations of the Elixir widget (as it is a useful app), but at this stage, I've narrowed the battery issue trigger on my phone, to Elixir.
I haven't really heard of any confirmations from anyone else, that removing widgets has helped with their battery issues, so if you do have success with this, please let me know. I doubt it's specific to Elixir, but if you're affected, then the trigger may be something similar on your phone. If you want to test, I suggest the following:
1. Freeze the "Wi-Fi Sharing" app in Titanium Backup, as it commonly causes other battery drain issues. (Use "Wireless Tether" if you need that functionality.)
2. Remove all widgets from your home screen.
3. Turn off Data & WiFi connections.
4. Stop any running foreground applications (such as games etc), or reboot your phone.
5. Charge your phone, and note your battery percentage.
6. Turn off your screen, and leave it off for at least 2 hours.
7. Turn your screen back on, and check your percentage.
8. If there has still been a high drain (any more that 1 or 2%), check your battery usage to see if "Android OS" is the culprit.
9. If it's something else, target that. If it's still "Android OS", then I guess widgets are not your trigger.
10. Let us know whether it worked for you or not!
------------------------------------------------
Update - 28/06/11
Probably the last update from me, as my battery usage is nice and stable now, and I have no other information to give.
Happy to hear success stories from a few people - removing widgets has improved their battery life. Obviously we don't want to be removing all of our widgets, as if we wanted to cripple our phones, we'd probably just get evil iPhones, instead of the powerhouse that is the SGSII. For me, I've been able to add all my widgets back in, and narrowed down the drain to Elixir. Fortunately, I've found that I can use Elixir without any issues, as long as I take out the CPU & storage card stats icons. Even though I had it set to update only ever hour, it would still drain my battery way too quickly. I can live without a running commentary on how much free space I have on my SD card, and how much CPU I'm currently using. (SystemPanel gives me all the monitoring I need.)
So if you're still having trouble, my advice is to:
first calibrate your battery with a battery calibration tool (or manually delete your battery stats file)
second, freeze the "Wi-Fi Sharing" app, and
third, check your widgets. Most widgets probably won't impact your battery noticeably, and shortcuts shouldn't either. Once you've tracked down the problem widget(s), try to determine whether you can reconfigure it/them to avoid the drain (perhaps with less updates).
Some battery usage results from posters:
lindsaytheflint - 0.32% per hour, over 9.5 hours, in flight-mode.
JJEgan - 0.08% per hour, over 13 hours, in flight-mode.
sjedwardz - 1.77% per hour, over 22 hours.
So we can get good battery life with these phones, even without 2.3.4, and with only a little bit of tweaking. Obviously, using the phones (i.e. screen on) will (and should) use the battery faster, so the important test is while the phone is in standby. Good luck!
lindsaytheflint said:
Yes, I know, another battery thread. But after scouring many other threads for scraps of information, I feel I still have something to contribute on this widely talked about topic. If you’re not interested, don’t read or write on this thread – save your time, and mine. If it is useful to you, then great, please let us know. Here goes.
Like many people, I’ve been plagued with poor battery life on my SGS2. There are plenty of threads out there discussing how to trace the battery consumption back to the “Android OS” processes, specifically the “events” & “suspend” processes. Unfortunately, once isolating those processes, there’s not much we can do. Some say that when we get Android 2.3.4, battery issues might be solved, however:
My first Android phone was a HTC HD2, which was actually a WinMo phone that some clever people had managed to get a working Android ROM for. I started with Android 2.2.1, and as updates were released, upgraded to 2.2.2, 2.2.3, 2.3.1, 2.3.2, 2.3.3, and then I moved on to a new phone. All throughout these different Android versions, I had excellent battery life. The power draw on standby would be between 4ma – 6ma. (Unfortunately we can’t measure the power draw on our SGS2s.) If my phone was fully charged at night, I would wake about 8 hours later, to around 92% battery left. My SGS2 has more like 40-70% after that timeframe. The HD2 had great battery life before 2.3.4. We can all theorise about whether 2.3.4 will fix the issues, but I don’t know, you don’t know, and life goes on. (Personally, I suspect the Samsung base rather than the Android build, but that’s just a guess.)
So I decided to do a systematic approach to troubleshooting the battery issue on my phone, and identified the following possible causes & possible resolutions, based on other people’s comments, and a bit of logic:
• Battery itself
• Battery calibration
• Data connection
• Wifi
• Bluetooth
• GPS
• Location-awareness
• Latitude
• FastDormancy
• Phone connection
• SD card
• Kernel
• CPU speed
• Task killer
• Live Wallpaper
• Widgets
• Applications
• Stock vs custom ROM
• Hard-reset/data-wipe
Some details about my SGS2.I have a lot of applications installed, including the following that are always running (as services):
• WhatsApp
• PhoneWeaver
• Enhanced SMS & Caller ID
• NetQin Anti-virus
• Extended Controls
• Executive Assistant
• Enhanced Email
• Droidin
• Astrid Tasks
• SystemPanel
• SwiftKey X Beta
As well as the standard Samsung & Google background services.
I have used various versions of VillainROM, LiteningROM, and am now on CognitionROM 1.06. (All similar battery usage for me.)
I use LauncherPro Plus home launcher, and also have plenty of widgets on my screens:
• Beautiful Weather
• Agenda Plus
• Jorte
• Extended Controls
• Elixir (updating every 10 secs)
• LauncherPro Plus Facebook
• BBC News
• SetCPU (updating every 30 secs)
• 4 other miscellaneous small widgets
Ok, so here are my results, after testing most of the possibilities, for at least a couple of hours each, and some of them for longer:
Battery itself
I have 3 batteries, and all perform similarly, high drain occurs.
Battery calibration
I have used a battery calibration app several times, and followed the instructions to the letter, high drain still occurs.
Data connection (tested for 8 hours multiple times)
Data connection turned off, high drain still occurs.
Wifi (tested for 8 hours multiple times)
Wifi turned off, high drain still occurs.
Bluetooth (I usually keep this off)
Bluetooth turned off, high drain still occurs.
GPS
GPS disabled, high drain still occurs.
Location-awareness
All location-awareness methods disabled, high drain still occurs.
Latitude
Never joined, high drain still occurs.
FastDormancy (tested for more than 8 hours in all 3 modes)
1. Default settings, high drain still occurs.
2. Configured for correct settings (my network supports FD) in /data/data/com.android.providers.telephony/databases, high-drain still occurs.
3. Disabled FD completely, high drain still occurs.
Phone connection (tested for 10 hours)
1. Set to GSM only, high drain still occurs.
2. Flight mode enabled (ie all network off), high drain still occurs. This is significant!
SD card
Removed external SD card, high drain still occurs.
Kernel
1. CF-Root KE7, KE8, KF1, KF2, KF4, high drain still occurs.
2. Cognition 1.03, 1.04, 1.05, 1.06, high drain still occurs.
CPU speed
Throttled to maximum 800mhz, high drain still occurs.
Task killer
1. Advanced Task Killer auto-kill when screen off, high drain still occurs.
2. Advanced Task Killer auto-kill disabled, high drain still occurs.
3. Advanced Task Killer auto-kill every hour, untested.
Live Wallpaper
I use a LWP that I have written, and am fairly satisfied that the code is efficient, and does not take up any noticeable amount of CPU when the phone is in standby. However, untested.
Widgets
Removed all my widgets, <insert fanfare> high drain disappeared!!!
Applications
Untested.
Stock vs custom ROM
Untested.
Hard-reset/data-wipe
I am sceptical of this approach, as it changes too many settings. Yes, everything will be faster, with less issues, more battery life, etc, when you do a data-wipe. However, once you configure everything back to how it was before, you’re in the same boat as when you started, and none the wiser.
So! A couple of important findings:
1. With Flight-mode enabled, I get poor battery. This pretty much eliminates any possibilities of 2G vs 3G, FastDromancy, and anything else that uses phone/WiFI/BT type stuff.
2. Widgets are what trigger the issues for me. I use a lot of them, and some of them update frequently. Android should be able to handle this, but something (probably either Android or Samsung code) is adding some battery overhead. This may be fixed by Google or Samsung in the future, but until then, I need a workaround. The next step for me is to add my widgets back in gradually, and see which ones trigger the battery grief. I'll update this thread with my findings regarding which widgets cause me grief, once I have them.
I'm back to having all my location services, data, phone, HSDPA/3G, SD card, and other basic services enabled. The only thing I don't have, is widgets on my homescreen, and battery performance is good.
Hopefully this will be of some help to those people still struggling with battery issues! If you're having battery issues, remove your widgets, monitor for at least a few hours, and report back!
Click to expand...
Click to collapse
Thanks for the in-depth analysis.
I figured it as much that it had to be Active Widgets that cause a higher drain than normal. I dont have any widgets active and dont have any drain, but I can see them running as a service.
I always wondered that if they were removed from the service, will the battery life improve or not make any difference, since the widget isnt really running, only the service. Force Quiting the Widget Service only has them come back shortly after.
Ok I jump in. I've the same issues. Now I disabled my lockscreen (widget locker) and deleted all my widgets. I'll report later if this was the key. BTW what about the screen settings for the brightness? I've set my brightness to 40% static.
Sent from my GT-I9100 using XDA App
What kind of router do you have? Your drain is to high to be just the android-os bug.
Sent from my GT-I9100 using XDA Premium App
[germany]merlot said:
BTW what about the screen settings for the brightness? I've set my brightness to 40% static.
Click to expand...
Click to collapse
I haven't looked at the brightness, as I've been troubleshooting the drain issue purely for when the phone is in standby (i.e. screen off). My display is set to automatic brightness.
TheGhost1233 said:
What kind of router do you have? Your drain is to high to be just the android-os bug.
Click to expand...
Click to collapse
My home WiFi router is not the issue. I only have WiFi enabled for a few hours each day, but my drain is always. My tests included disabling all network connections.
A drain of 30-60% (i.e. resulting in 40-70% left after 8 hours from a 100% charge) is typical of the kind of issues a lot of people have been having. If it wasn't so bad, so many of us wouldn't be so desperate to have it fixed. And yes, my battery usage in both the built-in battery tracking, & SystemPanel, both indicate "Android OS".
Hmm..it could be because I also have high drain and I currently have 13 widgets on my homescreens:Simple calendar, Simi Clock, Spotify, 7xHangping chinese, Snowstorm (update every 3h), CNN(update every 6h), Pure messenger(update every 6hours).
I wouldn't want to get rid of any of those widgets because after all these are the main difference compared to iPhone. What is the point of having Android if you just want the icons on your homescreen.
On the other hand I have been wondering one other issue with the battery drain. When I used to have Touch Pro 2, I used many different ROMs and there the battery was hugely affected by which radio it had. For example I live in Finland and if I used chinese rom with chinese radio the phone did work but the signal was never as good as with European/Finnish radio and also more drain affected.
I noticed similarity when updated to Hong Kong firmware, I didn't get so good signal in any place and I think I lost more battery.
Of course this isn't the whole solution if the battery drain is high also with the airplane mode. But for me even if I turn the data off and use only 2G I get pretty decent battery. So I think there is more than one problem effecting this.
I THINK that CNN widget might be quite bad for the battery..that I could try to get rid off..
There have been plenty of reports of people with a specific router that, once connected just one time, will cause high drain until you do a factory reset. And yes it also displays under android-os but it's a second bug.
Sent from my GT-I9100 using XDA Premium App
I lost 30% battery from 100 to 70 in 8 hours i slept. The only thing that was on was the yahoo mail push service. I deleted all the widgets that came pre-installed except the time/date one on the home screen. The phone was locked with screen off and brightness set to 0.
Is this normal? I have frozen a lot of samsung apps and services that are not needed.
Maybe its launcher pro, I might try deleting that and see how it goes for a while
Hi TS,
good effort here. i am wondering, after you removed all the widget and experiencing better battery life, does Android OS still use high usage?
this is the first android phone that i notice Android OS taking up such a significant portion. all my previous phones, one hardly notices it's usage in the battery stats.
Great list with tests! Although I don't think widgets are causing the high drain. It's something more deep underlying in the stock ROM... All working ROMs are based on the stock one and that's why we all have the Android OS bug.
I've seen people that report no Android OS drain on AOSP ROM (which someone only got booting, it's not usable but there is no battery drain). On the MUIUI ROM which we also got booting is also no battery drain...
What we can do now is WAITING... until we either 1. get a new updated ROM from samsung which solves the issue. or 2. we get a clean and stable CM7 ROM
Thanks my opinion...
Think I'm going to post this everywhere as there seems to be huge amout of people that blame poor battery life on this bug even if it's not the case.
The example of my phone:
{
"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"
}
djfatrod said:
Maybe its launcher pro, I might try deleting that and see how it goes for a while
Click to expand...
Click to collapse
Yes, next thing I was going to try was a different launcher. I may still try switch to TouchWiz, and putting on all my widgets. Launcher Pro doesn't have any such issues with other Android phones I've had, but there may be something in the SGS2 code that causes an incompatibility.
sunwee said:
Hi TS,
good effort here. i am wondering, after you removed all the widget and experiencing better battery life, does Android OS still use high usage?
this is the first android phone that i notice Android OS taking up such a significant portion. all my previous phones, one hardly notices it's usage in the battery stats.
Click to expand...
Click to collapse
After removing the widgets, Android OS is no longer high. Other things are now higher (such as when I use the phone etc) which is what you'd expect in Android.
I agree with you - I haven't had this issue on other phones either.
(TS?)
d3sm0nd said:
Great list with tests! Although I don't think widgets are causing the high drain. It's something more deep underlying in the stock ROM... All working ROMs are based on the stock one and that's why we all have the Android OS bug.
I've seen people that report no Android OS drain on AOSP ROM (which someone only got booting, it's not usable but there is no battery drain). On the MUIUI ROM which we also got booting is also no battery drain...
What we can do now is WAITING... until we either 1. get a new updated ROM from samsung which solves the issue. or 2. we get a clean and stable CM7 ROM
Thanks my opinion...
Click to expand...
Click to collapse
I agree - I don't believe the widgets are the cause, but I do think having widgets is triggering the high drain. Something in Samsung's build is doing it.
I'm sure on a AOSP, MIUI, or CM7 the issue won't occur. It doesn't occur on proper builds on other phones. Just something in Samsung's build.
Definitely looking forward to a working non-Samsung build!
Personally I doubt, that the Battery usage stats from android give enough details about the battery usage. Therefore I think its misleading...
Btw, I am on stock rom KE7, no bug/drain here...
aurelm said:
Think I'm going to post this everywhere as there seems to be huge amout of people that blame poor battery life on this bug even if it's not the case.
The example of my phone:
Click to expand...
Click to collapse
I'm not sure what this adds, or how it's relevant. I don't think you read my first post properly, or if I was unclear, then I apologise.
The issue I was having, was that my phone was discharging very rapidly, even under various different scenarios, including my phone display being switched off for 8 hours, and flight-mode being enabled, etc. After this 8 hours of non-use, the battery would have discharged by 30-60%, and the "Android OS" processes (specifically, "suspend" and "events") were taking up around 90% of the usage.
This thread is not about debating the existence of the "Android OS bug", nor about how to identify it. This thread is about testing to see what can be done to workaround the "bug".
I think you also missed my statement in the first post: "If you’re not interested, don’t read or write on this thread – save your time, and mine."
pik1 said:
Personally I doubt, that the Battery usage stats from android give enough details about the battery usage. Therefore I think its misleading...
Btw, I am on stock rom KE7, no bug/drain here...
Click to expand...
Click to collapse
System Panel gives quite a bit of useful detail around things like CPU usage, which is a significant factor in battery usage.
lindsaytheflint said:
System Panel gives quite a bit of useful detail around things like CPU usage, which is a significant factor in battery usage.
Click to expand...
Click to collapse
It is actually interesting to see that there is Accu weather, AP mobile, digital clock and all those rest apps in the memory even thou I dont use them and never even opened them.
Sight...maybe I have to root the phone once again and freeze those apps after all even thou I was wishing that I could just keep my phone close to stock.

[GUIDE]How to improve your phones battery life

How to improve your phone's battery life
It is about time to make a guide to help people who are struggling with battery life. There was a guide to save battery life but that was only for dorimanx users (thanks to voku). This guide is for all s2 users who currently have to battle with their phones lack of battery efficiency.
Disclaimer
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this guide
* before doing anything! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Click to expand...
Click to collapse
Here are the things we are going to discuss:
- Battery life myths
- Affects of apps
- Affects of ROMs and Kernels
- Affects of screen usage
- Other things to improve battery life
Battery life myths
Here are some myths that some people believe to cause battery life drainage:
Q. Installing a custom rom will increase my battery life
A. This statement can be true if the right ROM has been chosen. A ROM with less inbuilt apps could have less battery drainage, whereas a ROM with lots a bloatware will be the complete opposite. However, a number of factors can account for battery drain, therefore this isn't necessarily correct.
Q. Rooting my phone will increase my battery life
A. Rooting doesn't save battery life. It just allows the user to modify the phone which would be otherwise be restricted by Google or by the manufacturer. It is installing battery saving apps (like Greenify) that can use root that could save your battery.
Q. Black or dark colours that are displayed on my screen will drain batteries faster than on a white or brighter colour.
A. Dark colours used to drain the battery more significantly than white or lighter colours. But that was for LCD displays! The S2 has a AMOLED display which blacks are displayed by switching off the individual LED crystals, therefore saving battery.
Q. Battery drain can be improved if undervolt my CPU/GPU
A. For most people, undervolting can be a very tedious adjustment a person can make to their phone. The actual battery savings from undervolting is small and can also be a waste of time for the inexperienced. Undervolting introduces instability and lagging if inappropriate voltages have been set and so the user experience will be annoying!
Q. If I reset the fuel guage indicator, the battery life will last longer
A. Resetting the fuel guage indicator (found in custom kernels) doesn't solve battery drain issues. It just helps to relieve the battery drop after rebooting your phone as the fuel guage sometimes needs to recalculate the battery's remaining life.
Q. Updating my ROM to the latest version will give me better battery life
A. In most cases, this statement isn't true. For stock roms, updates can be problematic and lots of things can go wrong during the installation. Updated stock roms can bring more bloatware to the device causing your phone to drain more battery. This happened when android 4.1.2 was released for the s2 and as a result, lots of people were forced to choose to install a custom rom. Custom ROM updates can be a good thing as ROM developers always work on their ROM to fix bugs. This can be a benefit for battery life since more bugs are fixed. However, sometimes an update may not go too well and battery life could start draining quickly after installing the update. Choose the version that you believe is best and/or check reviews/comments on XDA before flashing a ROM.
Affects of apps
You may have heard the less apps you have, the longer your battery life will last. This may be true if you have lots of apps that rely on active notifications, but even with having fewer apps with active notifications, there still could be a noticeable effect on your battery life.
Apps that use active notifications:
{
"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"
}
Apps that classify as active notifications includes:
- Instant messenging apps like facebook messenger, skype and hangouts
- Any social media related apps including youtube, facebook, google+
- Some games that have social media features
What you can do?
These apps are a likely cause of your battery drain. To prevent further battery drain, these apps can be removed by uninstalling these apps manually. Some phone OSes bundle social media apps with their software bundle, if you don't use social media apps like facebook, uninstall them. If you must rely on using social media apps, try using your phone's browser to load up the mobile version of the social media website. Doing this may save you battery life.
Battery saving apps
Believe it or not, some battery saving apps can drain your battery instead of saving you battery life! Here are some examples of battery saving apps that simply drain your battery:
- Apps that claim to manage your wifi and mobile data
- Apps like Juicedefender that claim to 'intelligently' manage your phones behaviour
- Task killers that don't require root (usually doesn't work properly anyway)
What you can do?
Uninstall the app. Enough said. If you have to use a battery saver, the only one I trust is greenify: https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en (Note: Requires root)
Google Now
Google now is one of the most commonly used apps on android phones today. It has many features that can make your phone experience easier. However, it is known to have a drain on your battery so here are the things you can do.
What you can do?
Turn off ask google from homescreen or from anywhere on your phone. This speech recognizer function keeps your microphone active which in turn could drain your battery. A better option would be to disable Google now altogether. Some home launchers have an option to disable google now from homescreen, so you will need to disable it from there.
Battery monitors
A battery monitor doesn't classify as a battery saving app. This is because it doesn't do anything to manipulate your phone so it doesn't really save any battery. Moreover, battery monitors look at the statistics of battery drainage which could help users identify their battery issue.
What you can do?
If you experience battery drainage after using and closing an app, install and wakelock detector: https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector&hl=en and you can see which app you need to force close to save battery. Apps that have a long awake time period could indicate a possible battery hogging app. Uninstall the app and your battery life could be extended. Another way to check if you have an app that is hogging up your battery is by using the in-built battery settings graph. Pressing the graph will allow you to see a combination of statistics. The statistic you should be focusing on is the awake bar and the screen on bar. If there is more awake than screen on, this usually indicates there is a rogue app. If they are the same, you have no wakelock problems.
Antivirus Software
If you are connected to the internet, there is a chance that you have encountered a virus once in your life. An antivirus may need to be installed to protect your device from viruses, all sorts of malware and even phishing. But what affects do they have on battery life?
So what's the battery affect?
Antivirus software aim to protect your phone without much performance hit. There are some fake antivirus apps that claim to protect your device but instead scams you into buying your product. Antivirus software don't usually use much battery life and are actually quite lightweight (most of them are, but they can still be unsuitable for old android devices like the i9000). Here is a good webpage that discusses the performance and the battery consumption on various antivirus suites for android devices: http://www.av-test.org/en/news/news...tection-apps-put-to-a-6-month-endurance-test/
Bloatware
Bloatware is one of the biggest culprits that just simply steals your battery life. Here are examples of bloatware:
- Any pre-bundled software that come with your phone
- Any apps that you don't even use that came with your phone
What you can do?
Uninstall the apps that you don't need/use. If you can't or have trouble uninstalling certain apps, try using titanium backup to freeze and uninstall any apps you don't need: https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup&hl=en (Note: Requires root). Some pre-bundled apps can only be uninstalled from your phone's application manager in the settings.
Affects of Kernels and ROMs
Custom kernels and custom ROMs can have a large variety of benefits for the user. Custom ROMs could add features that are only available on AOSP roms, custom kernels can add hardware improvements and functionality such as support for BLN and more CPU governors. But what are the battery effects concerning with custom kernels and roms?
Kernels
Kernels play an important role in any Operating system. It contains all of the drivers, information and programming required to allow the device to function properly. Without it, our phones will be worthless. Custom roms introduce more features than your standard custom rom kernel and here are the list of some kernels:
- Siyah Kernel
- Dorimanx Kernel
- Gustavo Kernel
- Apolo Kernel
- Speedmod Kernel
- And the list continues
The point is that custom kernels allow the user to customize more things on their phone than normal. This includes CPU governors, IO schedulers, voltages and etc. Here are some things you can do in a custom kernel that will help save you battery
Don't overclock your CPU
As simple as the statement reads, don't overclock your CPU. Overclocking your CPU could boost you phone's processing speed but this can also lead to overheating issues and bad battery life
Underclock your CPU
Here is where the benefits starts to come in play. Underclocking is making your processor run at a lower speed than the manufacturer's specifications. This results in better battery life but could also reduce performance. A slight underclock is enough to improve your battery life by a bit.
Play around with CPU governors and I/O schedulers
Being one of the more experienced XDA members around here, I often see users asking for the best combination of CPU governor and IO schedulers. My response will be to try a balanced CPU governor first or try a battery saving optimized CPU governor, then see which IO scheduler you like most. In my case, I like HYPER and SIO as it is a solid combination and provides great stability and battery life. For more information on CPU governors and I/O schedulers, visit my website here: www.androidmodguide.blogspot.com
Disable LED on touch
LED is a feature that allow your phone's hardware buttons to light up when you touch your phone's screen. This can be a bad thing in regards with battery life. Disabling LED on touch will prevent further battery drain especially if you constantly text others or play games.
Try not using BLN
BLN is a great feature that all phones should have. But keeping the phone's hardware button lights can lead to excessive power drainage. If you find BLN is not too important for your everyday phone usage, disable it. It will save you some battery especially if you get lots of notifications and constantly check your phone for updates.
Enable LCD Power Reduce
Even though the display on our device is an OLED display, the settings still applies for our device. LCD Power Reduce is similar to Adaptive Brightness in a way as they both alter the display settings when displaying different content. This feature is included is most custom kernels and is usually set to enable by default. If you disable this because you don't like the colours, you are missing out on extra power savings.
ROMs
One of the great things of rooting your phone is that you are able to flash a custom ROM. Stock roms can come with lots of bloatware and unnecessary apps that it just simply slows the phone down. Custom ROMs can help speed up your phone as they generally come with less or no bloatware and are better optimized for our device thanks to the developers of the ROM. Here are some examples of Custom ROMs:
- Cyanogenmod
- Paranoid Android
- Omni ROM
- Slimkat
- And many more ROMs
Here are the thing you can do in a custom rom that can help you reduce power usage
Avoid android lollipop
Android lollipop was one of the most anticipated android releases in Google's history. Lollipop comes with heaps of new features, optimizations and fixes that just make android better for everyday usage. However, with more features comes more chance for apps to drain your battery. Not all apps run on lollipop without bugs and are susceptible to stability issues due to the newly implemented ART runtime. If you care about your battery life, stick with stock android 4.1.2 or custom kitkat rom as they don't suffer from the same issue!
Use ART
Not the paintings or the drawings that you would think of when you see 'ART'. ART (or Android Runtime) is a new runtime for android that is supposed to replace the aging dalvik runtime that currently run on most devices with kitkat and below. The benefits of using ART is that it supports 64bit chips (which doesn't give us any benefits), faster app load times and slightly better battery life. ART for kitkat is still a bit unstable and it requires more of your storage space when installing apps (less apps, more space used). However, not all apps are compatible with ART so make sure to google the app and version (important!) before switching to ART.
Enable battery saving GPS settings
Enabling GPS on a phone can seriously drain the battery quickly if someone was to forget that it was left on. Newer android versions allow the user to use different combinations or methods to determine the person's location which can potentially save battery life for people who use location services a lot.
Enable Adaptive backlighting
A relatively new (yet still old) feature on newer android versions include a feature that controls the brightness of your phone when specific content is shown. The difference in brightness in not really noticeable and so it is a feature that everyone should enable.
Use the default messaging app for your messaging (SMS)
With Android Kitkat, you are able to set the default messaging app. The default messaging app that comes with your phone is most likely a basic messaging app that allows you to send any kind of normal SMS to someone else with a number. Third party messaging apps like hangouts are more heavy with features and this can be a bad thing if you care about your battery. The simpler the messaging app, the better! (Not regarding the look, but I'm talking about features)
Use lighter home launchers
Home launchers determine how your phone would look if you were to access your apps that are on your phone. Launchers can be designed for visual and function purposes. The general rule with launchers is choose a lightweight launcher (like nova launcher) for your phone and your phone will have more ram and responsiveness. Battery life could be slightly improved by switching launchers too.
Use stock android browser
Web browsers on android are a must for most internet enabled phones today. With the large variation of web browsers, people may feel tempted to try out a different, more advanced browser. However, the truth is that if you browser on the web a lot, third party browsers can drain your battery faster than stock browsers. Stock browsers are the browsers the come with the OS. It may not be the most aesthetically pleasing interface but it usually lighter than most their party browsers on the play store and can save your battery!
Use stock keyboards
Without a software keyboard on our device, how else could we type a message or search for anything on the web (excluding voice and hardware features)? The keyboard bundled with stock roms may not be the easiest to use so you might download and use a different keyboard. Third party keyboard could be resource hungry and as of a result, it could drain your battery. Choose a simpler keyboard like android keyboard (bundled with AOSP roms) or google keyboard with holo design.
Avoid using audio improvement apps
You may have seen an equalizer app or an app that specifically is made for users to tweak the sound of the music. This can be great when you want to improve your audio but this could cause addition audio drain to your phone. If you can, try not tweaking the settings too much or make any changes that would improve the loudness of your speakers or earphones as this requires addition power. Audio enhancing apps generally require more processing power from your CPU and from your DAC, so that means less juice for your phone! If you are using an app like viper4android, use the battery saving mode when installing the driver and don't install the super high quality mode to save battery!
Affects of screen usage
Most people are unaware that one of the biggest factors that affects your battery life is the screen usage. You screen is one of the most power hungry components on your phone and so it's best to limit the brightness to get the best possible usage time. Here are some things you can do to stop screen battery drainage
Decrease time to turn off screen automatically
Having the automatically turn off screen feature set to long periods of time can seriously affect your battery life, especially if you forget to lock your phone after you are finished using your phone. Setting this to a shorter time will ensure no extra battery life is wasted from excessive screen on times.
Decrease your brightness and turn off automatic brightness
This is one of the most common actions to do to increase your battery life. Having your screen too bright can lead to serious battery drain. Find a setting that suits you and disable automatic brightness as it could adjust your brightness even once setting your brightness level.
Use darker, black wallpapers
This isn't necessarily a good method to save battery but the evidence suggest that actual black colours will save you battery life. Choose a wallpaper that uses black colours and your battery life should be slightly better (if you find yourself using your phone to only use the homescreen )
Other things you can do
If you have tried everything to fix your battery life and you don't see any improvement, you can either buy a new battery or simply buy a new phone.
Use greenify
You may say "I thought battery saving apps were bad for battery life?" Well in this case, Greenify is different from most battery saving apps as it is responsible of 'hibernating' your apps stocking them from leaving your phone on wakelock which could consequentially result in loss of battery life. This option is available for all other rooted phones too with different versions of android too.
Buying a new battery
If you have done everything possible to fix your battery life and your battery life can't stop depleting, it is probably a good time to buy a new battery. There are a number of ways to check if your battery is dying buy monitoring your battery voltage depletion or seeing a drop in battery life when your phone is hardly awake. When buying a new battery, be sure to buy from a trusted source and if possible, buy a genuine battery. There are a lot of compatible batteries that state that they have {so and so} battery capacity but the chances are they have the same capacity as the genuine battery (and sometimes less!).
Disable fast dormancy
Fast dormancy(FD) is a feature that controls your mobile radio by putting it to sleep when not in use. This can be a good thing if your carrier supports this but it could be a bad thing if your carrier doesn't With stock rom, you can easily disable fast dormancy by going on the phone dialer and typing *#9900# . In custom roms, you can use quick dialer numbers, so you will have to use an app called fastdormancy toggle by the legend gokhanmoral: https://play.google.com/store/apps/details?id=com.gokhanmoral.fastdormancytoggle.i9300&hl=en. Even though the description says it's for the i9300, it should work with the i9100. As you can see on the image above, this shows the different combinations of phones that have FD enabled or disabled and carriers that do and don't support FD.
Mediascanner bug/Music bug/FP bug/Fuse bug fix
Known as the infamous music bug, this bug has existed since Android 4.0.3. The problem was caused by the corruption of FP registors, in other words, when your screen turned off, the code for saving your state of your phone was not properly coded by Samsung, and as of a result, battery life was lost. The music bug affected all users of android 4.0.3 or later and could be noticed when after playing music from an external sd card where the music would just suddenly stopped. To fix this bug, install a custom kernel that includes this music bug fix (like apolo kernel, dorimanx kernel or gustavo kernel) and your problem should be fixed. Note: This also requires a rooted phone with custom recovery.
Change your phone's modem
A modem modulates and demodulates signals for communication between networks. Your phone's modem is responsible of providing a software layer that controls the mobile cell to communicate with the cell tower. Sometimes, the current modem may be poorly optimized for your carrier/device which may lead in some battery drainage. To solve this issue, you may have to replace your current modem software with a newer or different one. The benefits can only be determined by the user, so it is hard to tell which modem is best for your usage. Have a look at this thread to download a modem: http://forum.xda-developers.com/galaxy-s2/general/ref-samsung-modem-ril-cwm-installers-t1881304
Factory reset
Some battery drain issues that can't be solved using apps like greenify or issues to do with mediaserver can be resolved with the good old factory reset. Factory resetting your device will return your device back to the factory defaults (deletes your apps, settings, etc) but doesn't delete you personal files (like music, photos, etc). Be sure to backup all important files just in case something doesn't go as planned. Beware: Stock Android 4.0.x Touchwiz users are advised that factory resetting with stock recovery with stock kernel can cause your phone to hardbrick. Once your phone is hardbricked, your phone is officially dead unless you buy a new motherboard for your phone! Update to JB 4.1.2 first then factory reset or install a custom kernel. To check if your phone is affected (if you have insane chip), download and run this app: https://play.google.com/store/apps/details?id=net.vinagre.android.emmc_check&hl=en.
Keep your phone cool and don't play games while charging
This is more of a maintenance tip for your battery but when you charge your phone, your phone's battery and circuitry can heat up. This heat can damage your phone's battery so it is important to keep your phone cool. Remove any cases on your phone and allow it to cool naturally. Don't play games while charging your phone as this will heat up your phone even more until your phone gets very hot. Remember that in the battery world, cool is better.
Huge thanks for all of the kernel developers including @dorimanx, @cybernetus, @Computoncio, @pedestre, @Gustavo_s, the developers of the custom roms including @CyanogenMod, @fusionjack and everyone else who made customizing the s2 possible.
Reserved.
Good guide mate thanks!
I will hopefully update the guide today, as well as my governor and scheduler guide
Update: I've added one new tip to stay away from android lollipop. I've also fixed how the image links were shown instead of the actual image.
gsstudios said:
I will hopefully update the guide today, as well as my governor and scheduler guide
Update: I've added one new tip to stay away from android lollipop. I've also fixed how the image links were shown instead of the actual image.
Click to expand...
Click to collapse
Definitely some good info here! Not sure I totally agree with your statement about Lollipop. Currently I find it very stable and don't personally suffer any more issues than I did using any other custom build. Battery wise I've had 4hrs+ screen time with 3g/WiFi, location on, sync on all day. No under clocking used. On a standard battery. With a some streamed Google play music, a couple of short calls and a lot of browsing. In fact with how smooth it runs in comparison to previous android builds vs battery life I highly rate it. Although yes nothing beats stock 4.1.2.
Also I did use sine build.prop tweaks with some Xposed modules and some popular battery saving apps.

[Guide] Optimizing Battery Life

Hey Guys, Kyuubi10 back again with a quick guide on improving the battery life of the HTC One M8.
Let's be honest, this phone is getting quite old now. You can already start to feel it lagging, and slowing down. And the battery doesn't last as much as it once used to.
But don't give up hope...your M8 isn't dead yet, and with some good management it can even rival 2016 flagships.
Let's begin with Marshmallow...
If you have not updated your M8 to Android 6.0 yet, WHAT ARE YOU WAITING FOR?
Marshmallow is the best version of Android yet, the efficiency of Lollipop with the Stability of KitKat, and a very fresh take on Battery saving!
Reasons why you should update ASAP:
1 - Lollipop's memory leaks 99% fixed (Don't want to say 100% due to the possibility of some existing out of my limited knowledge, but for all intents and purposes there are no more memory leaks.) This is very important, because the memory leaks were both draining battery life, and slowing down the device...which in turn keeps the screen on longer and wastes even more battery.
2 - Doze!!! It's the latest battery saving feature to be added to Android, and it's basically a SUPER idle state, where the phone if left untouched with screen off for long periods of time will not waste any battery whatsoever! I tested this when going to sleep, phone was in airplane mode, battery saver turned on, screen brightness at minimum...I left it at 100% charge, I woke up it was still at 100%. With airplane mode off, and battery saver turned off the phone lost only 3% battery overnight.
This being said, true battery saving is measured while using the phone right?
It's not about how long it can last without being used, but how long it can last while being used.
But what if you already are on Marshmallow, and your battery life is still not cutting it?
The following solutions are organized from simpler to more complex.
1 - Follow this official HTC guide: Tips for extending battery life. It provides tips on reducing screen brightness, keeping connections off when you're not using them (Wi-Fi, Data, BT, GPS, NFC etc...), lowering volume and vibration strength and using power saver mode.
While their advice is quite obvious stuff, and most of you probably do it anyways, I would like to stress the use of power saver mode when you are out and about away from a convenient power source. Doesn't matter if your battery is at 90%, turn PS mode on, you will barely even feel a difference, but your battery will last you much more than before!
2 - Buy yourself a smartwatch. While it may seem counter-productive to keep Bluetooth on constantly to keep connected to the watch, it actually improves battery life by helping you avoid turning on your phone's screen. At the end of the day the battery saving that comes from it may be equivalent to the drain caused by bluetooth being on, or even greater than the drain. Thus effectively saving you battery life, and being convenient while doing it.
3 - Here comes the big one...ROOT your device and install a custom ROM and Kernel. Just by installing an optimized ROM and optimized Kernel you will get battery savings + better performance. Often you will also have settings you can tweak to optimize battery savings at the cost of performance or vice versa. And with a custom Kernel you can choose one with battery saving CPU governors.
4 - CPU Governors. CPUs, just after your screen, is the second most battery consuming hardware part in your device. Especially since it is on most of the time. Choosing a governor that can make it's job more efficient can save you bucket loads of battery.
The most common one for battery life is called "Conservative", and it will provide you with considerable battery life at the cost of performance. But if you want both good performance and good battery life then you are probably looking for a governor which employs the "Race to Idle" ideology. (If you don't know what it is, do a quick google, it's easy to understand.)
A good option I like to recommend is Wheatley, but if your kernel choice lacks it then interactive will be good enough...but you will have to tweak it's settings yourself to make it most efficient. Couple months ago I created this guide which you may find helpful when tweaking the interactive governor.
5 - Since we have spoken about Rooting then let's start adding some ROOT apps to the mix. Greenify would be my first recommendation.
For 2 main reasons... 1, It helps you stop annoying, battery draining apps which keep themselves running in the background. 2, It's latest versions have included a feature where you can set Doze to start sooner than default. Thus allowing you to reap Doze's benefits earlier and for longer.
Talking about the annoying apps, there's one in particular which comes to mind....Facebook.
Personally, while I don't like it's battery draining, I also don't want to uninstall it...since it's quite useful. Thus in Greenify I found my answer!
6 - Last but not least, if you are noticing unusual battery drainage, but you can't find which app is causing it (or may even be a system app), or if you notice that Doze is not having any effect... it might mean that a wakelock is not letting your device idle for long enough for Doze to start.
For this you will need an app called "Wakelock Detector". Charge your phone to around 80-100% and place it on a desk and let it idle for a couple hours (e.g. When you are asleep). When you are back check what WD found, and it might surprise you. (I found an app called HTC Mode which was keeping my device awake and preventing Doze from starting.)
Another advantage of this app is that once you find the wakelock it links you to Greenify through which you can put that specific app to sleep. Thus preventing it from setting the wakelock again.
If you follow all these steps, you should be able to feel the considerable difference in battery life. Reminding you why you fell in love with this device
I hope I have been of help, I noticed that there weren't any Battery Guides specifically made for the M8, so I thought I would leave one here in case anyone is looking for one!
If I have helped you make sure to hit that :good: button, I will greatly appreciate it, and you will be helping the community find this guide more easily.
Thanks for reading! Enjoy your longer lasting M8!
Thank you for the Info! Before marshmallow I used "app ops" but this doesn't work on Android M. Because of the app wakelock detector I removed the messenger app from facebook. It drained my battery. Thank you.
Sent from my htc_m8 using XDA-Developers mobile app
adgadg15 said:
Thank you for the Info! Before marshmallow I used "app ops" but this doesn't work on Android M. Because of the app wakelock detector I removed the messenger app from facebook. It drained my battery. Thank you.
Sent from my htc_m8 using XDA-Developers mobile app
Click to expand...
Click to collapse
App ops is good for permissions, and stopping an app from connecting to the internet. Android M already has a permissions feature natively included.
What you want is to stop it from running in the background.
While you can uninstall it (and probably find another app which you can use facebook messenger in. e.g. Disa), I would personally recommend you simply use greenify to put it to sleep.
All official facebook apps are huge battery drainers, but greenify will keep them in check, so that you don't have to use another app with less functionality.
Obviously I am not forcing you lol, but it is my recommendation.

[Guide] Battery Tweaking – When squeezing battery is not enough!! - Tips

Hello, taken that I came from a mammoth battery of 6000 mA of the Ulefone Power, the 3000 mA of the ZTE Axon 7 just fails short to lasting me a day.
I felt in love with the screen of the Axon 7, just to find is the highest ranking sucker for battery, which makes me have to set it black and white and dim it…. This really sucks. ;-(
I have excellent sleeping battery savings 0 to 1% using the wakelock software, but is just when I turn on -> the screen starts draining the battery quick!.
I have installed 341 user apps and 163 system apps (I debloated heavily the phone, stock launcher, gmail, photo)…. Please notice that I have paid for the PRO versions off all the software shown here. Please respect the developers and show support by buying software that help us improve our day by day usage of the Phone.
By the way I have a A2017G with a ZTE A2017GV1.0.0B03 with rooted phone + locked boot loader
I atached a file to be opened with “My App List” which is a free Google Play app so you can download all the files I mention in the thread that belong to Google Play. The apps missing are Xposed files and you have to find them in the repository - > Xposed modules will be identified with (X). Some of the titles are in Spanish (I am a Spaniard) so I have provided a screen capture so you can identify the apps icon in Google play or use “My App List”.
I will not provide the configurations, at this point, per app (just a short description)…. Maybe we can do that in another thread to define optimum performance of the Axon 7 battery once we filter out which apps we shall use
My idea is that people share their 5 cents of which apps/tricks they use for battery savings so we could create an “optimal configuration” with the recommended settings.
[No message]
Phone Signal (2g/3g/4g) + Wifi
1. Intelli3G (X) : Switch to 2g when phone off, turn off data when Wifi connected
2. PNF Root: Changes the pulse interval of the Cellphone and the Wifi
3. Auto Pilot: If phone signal drops bellow a certain value then the phone goes into airplane mode and checks every xminutes for good signal, instead of pinning all the time
4. Gestor de red wifi: Uses gsm towers to localize the wifi hot spots for the network you connect to. If you are in an area where you do not have a network it will disconnect Wifi. Good option if you forget, like me, to turn off the Wifi when I leave home
CPU / System Tweaks
1. BootManager (X): Turn Off apps in the StartUp list
2. Auto Start Manager: Turn off apps in any event (aka if you turn the GPS on I do not want Google Maps to go on until I click it, etc)
3. CPU Turner: change governors / CPU speed in per profile configuration
4. Smart Booster Pro (X) : Control RAM and close apps as needed
5. HEBF Optimizer: Kernel Optimizer, FStrim,Zipalingn, Battery Savings, etc..
Wakelock / Sleep
1. DS Ahorro de Bateria (X): Deep sleep when screen off and control how often it wakes to ping Email/Whatsapp, etc..
2. Force Doze: Force doze right away after screen off
3. Amplify: Turn off wakelocks or control pulse
4. Greenify (X): Hibernate apps
5. No Wakelocks: Block all wakelocks per app, useful for killing wakelock of games or non notification apps, for example.
6. Power Nap: Stop wakelocks/services/alarms from waking the phone during standby
7. XDA forum thread: [Guide]0%[0,0%/h] Idle Battery Drain on Stock Rom (Xposed & Amplify Required!) from Celestial Fury . This is the BIBLE of wakelock management!!
8. Doze: Prevent apps from using cell or wifi internet connection when in sleep mode.
Screen Savers
1. Color Changer: Set the screen Black and White. It is the only app that I have found that allows setting a widget to on/off both in the launcher and in the pull down notification menu.
2. Pixoff Battery Saver: Huge battery saver – Turn off (a.k.a black) leds of a pixel so you save battery, I can achieve 50% savings with acceptable resolution. You can generate also your own pattern.
3. Screen Filter: Filter to dim the screen
4. Screen Saver: Black
5. Any App that I can set black theme
6. Substratum: Theming app, I use Dark themes (paid for them): Domination / Inversion UI/ Swift Black
7. Boot Animation: Change your Boot animation to a dark one
8. TeamBlack: Change to black multiple apps: Whatsapp, Tapatalk,Playstore,Keep, etc..
9. GravityBox: Set swipe the notification bar on, so you swipe your finger left and right to quickly change the DIM.
Battery Checkers and Wakelock Analizers
1. Wackelock Detector : Wackelocks / Greenify apps
2. GSAM Battery Monitor: Wakelocks / Plot
3. BetterBatteryStats: Wakelocks / Plot
Miscellaneous
1. Root Toolbox Lite: Clean Dalvink / Cache after TRWP .zip installation
2. Prevent Running: App will only execute if on intentionally clicked
3. Battery Calibration: After each rom installation, reach 100% charge and erase Battery_Stats
4. Battery Draining: After calibration, a quick cycle of discharge to 0%.
[No message]
WoW! @j77moduss you've done a great work here. One petition, please add links to the apps and to that Bible guide for wakelock management.
Well I did this:
1. Install a debloated ROM and my list of apps. I have about 190 apps.
2. Use Amplify to detect and limit wakelocks.
At this point the deep sleep is almost nothing so I did not focus on wireless signal optimization. It wouldn't bring any significant juice.
3. Find a good CPU and I/O governor/scheduler. I am using ATK Balanced Zhana profile for the Interactive governor, initially designed for the One Plus 3 and working excellent on our Axon 7. This balanced profile can increase the SOT to 7-10 hours without any lack of performance. There are more aggressive profiles such as X.A.N.A. for ramping up and down the cores, able to provide up to 14h of SOT. But the lag and the jittering when scrolling is very annoying when using an extreme battery saver CPU profile. However those profiles are there just in case. In a charging emergency they could be very useful. Kernel Adiutor is my favorite app for Kernel tuning, and it is compatible with our stock kernel.
I am happy with the current setup. I am benchmarking (Using BetterBatteryStats) the current battery performance with different profiles. I am planning to install Naptime or ForceDoze (Naptime seems to be better, What do you think?), however I do not use much the Doze mode except at night. While at work I need to receive emails, messages, etc, while driving I use Spotify and At home I often browse internet when I am not playing with it. And again, The battery problem is more related to the screen and CPU than any other subsystem of the device after working out the software wakelocks.
Saludos
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Altomugriento said:
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Click to expand...
Click to collapse
It all depends on the mix of apps you use. There are some apps that are not well polished and they have too many wakelocks, or incompatibilities with some combinations creating too much battery drain. When you install more than 150 apps and you use more than 4 or 5 social apps along the day you begin noticing a huge reduction in your battery. Not to mention Spotify, Google app, Google fit, etc. Well know for keeping your phone from going to a low power mode.
As I said before, the culprit of all this problem is basically 3:
1. Wakelocks: avoid your device to enter into low power mode, this makes your phone to waste too much battery at night or when you are not using it for some minutes.
2. CPU throttle configuration: Default governors and schedulers are usually not tuned. The manufacturers do not pay special attention to this and it is critical for having a smooth device with good battery. The ramp up and down parameters are critical here. A good profile can provide you more than 10 hours SOT without any lack of performance. Sincerely, ZTE should pay attention to this since the hardware is much more powerful than just the default 5 or 6 hours of SOT.
3. AMOLED screens are very good at saving power, and if you have your theme configured in black then the screen can contribute a lot in expanding the SOT figure. Some people use the phone more than 6 hours per day and they require to apply those mesures. probably +1:30 H of battery juice can be the difference between requiring a power bank or the battery charger.
With this phone I do never have to charge it during the night. And the car charger during commuting to work is in excess enough for keeping it alive and healthy the whole day and night and with better performance when I need it. You do not need 25 apps to do so, and probably the package @j77moduss is sharing with us is excessive and for sure overwhelming to the standard user. Maybe not 25 but 5 or 6 apps to fix the 1, 2, 3 problems and another 5 or 6 to monitor the behavior in case of excessive drain is really common and can help you on extending several hours the SOT of your terminal while reducing the idle consumption.
Altomugriento said:
100 % stock here, no debloated, no unlocked bootloader, nothing. Just using out of the box.
5:35 hours SOT is a fantastic battery performance.
Go thru 25 apps installs, unlock bootloader, etc etc for let's see... +1:30 Hs of SOT ? Really worth the pay and time spend in this?
I am missing something here?
Sorry but is a honest question, not trolling at all.
Enviado desde mi ZTE A2017U mediante Tapatalk
Click to expand...
Click to collapse
Based on your numbers (even though they're anecdotal we can use them as a point of reference), that's giving you a 26% increase in battery with software optimization alone. I would say that's pretty damned good and worth the effort.
However, I do agree that getting 5:35hrs of SOT is pretty awesome straight out of the box. That's one of the first things that blew me away with this phone. All this power and you're getting 5:30 SOT. I light game, mid user with videos/music, but I have all my google/exchange sync to push, and have an Android Wear device connected pretty much all the time. So I expect to hit the battery a little harder than most users.
Another thing that stood out to me was the stock build. Granted, it's not as polished as some of your heavy hitters out there, but it also has a lesser footprint than most (I'm looking at you HTC and REALLY looking at you Samsung) Rooting and debloating the stock ROM has been absolutely perfect for me. I like to know exactly what my phone is running and honestly, it's worked out quite well.
Hello again, a suggestion like Lord Kelvin said "what you do not measure you cannot improve"
I have a suggestion to verify how is really running the best configuration and it is Untutu Battery test.
Maybe we could post our configuration and the Untutu result.
Any other suggestions?
@j77moduss, these are my comments on the battery extension app pack in blue:
Phone Signal (2g/3g/4g) + Wifi
1. Intelli3G (X) : Switch to 2g when phone off, turn off data when Wifi connected
2. PNF Root: Changes the pulse interval of the Cellphone and the Wifi
3. Auto Pilot: If phone signal drops bellow a certain value then the phone goes into airplane mode and checks every xminutes for good signal, instead of pinning all the time
4. Gestor de red wifi: Uses gsm towers to localize the wifi hot spots for the network you connect to. If you are in an area where you do not have a network it will disconnect Wifi. Good option if you forget, like me, to turn off the Wifi when I leave home
I leave wifi, bluetooth and LTE signal activated the whole day and night. During nigh I have about 1% drain so the cell phone signal (very low at home) or wifi are not significant energy drainers lately. Probably the monitoring task of those apps are consuming about the same wireless energy you are saving with them.
CPU / System Tweaks
1. BootManager (X): Turn Off apps in the StartUp list Usually you install things you need. Stopping push notifications removes part of the functionality, otherwise they are not started.
2. Auto Start Manager: Turn off apps in any event (aka if you turn the GPS on I do not want Google Maps to go on until I click it, etc) What are you using this for? GPS is not by any means a huge battery drainer in this phone.
3. ]CPU Turner: change governors / CPU speed in per profile configuration This is the main cause of battery drain. An optimized profile can even duplicate the screen on time.
4. Smart Booster Pro (X) : Control RAM and close apps as needed This is actually a very bad idea. Free RAM equals to wasted RAM. reading from RAM take less energy than reading from the flash storage. While the app is cached in the RAM it is not using energy until it is required. If you flush the RAM then next time your phone will use a lot more energy and time to reopen the app. This was an issue Jellybean. Nowadays clearing RAM is something we should avoid at all cost. RAM is a cache for the apps, so use it as much as possible.
5. HEBF Optimizer: Kernel Optimizer, FStrim,Zipalingn, Battery Savings, etc.. Filesystem optimizations could be improved by just switching to F2FS filesystem. This doesn't require zipaligns and it helps on saving energy and extending the life of your flash storage.
Wakelock / Sleep
1. DS Ahorro de Bateria (X): Deep sleep when screen off and control how often it wakes to ping Email/Whatsapp, etc..
2. Force Doze: Force doze right away after screen off
3. Amplify: Turn off wakelocks or control pulse
4. Greenify (X): Hibernate apps
5. No Wakelocks: Block all wakelocks per app, useful for killing wakelock of games or non notification apps, for example.
6. Power Nap: Stop wakelocks/services/alarms from waking the phone during standby
7. XDA forum thread: [Guide]0%[0,0%/h] Idle Battery Drain on Stock Rom (Xposed & Amplify Required!) from Celestial Fury . This is the BIBLE of wakelock management!!
8. Doze: Prevent apps from using cell or wifi internet connection when in sleep mode.
Numbers 1,2 and 6 seems to be somehow doing the same thing. What is the best from your point of view? why? Numbers 4 and 5 seems to be the same, however I do not find any use for them without losing functionality. No. 8 falls into the phone signal group. In this group the true game changer is Amplify.
Screen Savers
1. Color Changer: Set the screen Black and White. It is the only app that I have found that allows setting a widget to on/off both in the launcher and in the pull down notification menu.
2. Pixoff Battery Saver: Huge battery saver – Turn off (a.k.a black) leds of a pixel so you save battery, I can achieve 50% savings with acceptable resolution. You can generate also your own pattern.
3. Screen Filter: Filter to dim the screen
4. Screen Saver: Black
5. Any App that I can set black theme
6. Substratum: Theming app, I use Dark themes (paid for them): Domination / Inversion UI/ Swift Black
7. Boot Animation: Change your Boot animation to a dark one
8. TeamBlack: Change to black multiple apps: Whatsapp, Tapatalk,Playstore,Keep, etc..
9. GravityBox: Set swipe the notification bar on, so you swipe your finger left and right to quickly change the DIM.
We have one of the best screens in the market. This AMOLED Samsung panel is excellent. The absence of backlight is a great for battery savings so the more black you have, the less relevant the screen is for the SOT. Number 2 and 3 seem to be similar and I am curious about them and have my fears regarding the extra CPU required to process the screen. Which one is better? The big thing here is number 5. Number 8 is also interesting. The rest are not providing a significant advantage.
Battery Checkers and Wakelock Analizers
1. Wackelock Detector : Wackelocks / Greenify apps
2. GSAM Battery Monitor: Wakelocks / Plot
3. BetterBatteryStats: Wakelocks / Plot
I really recommend everyone to use Accubattery for at least one week to learn how to properly charge the battery. The rest of the statistics are provided by the las couple of apps you listed. Nonetheless all the battery apps are needed when you are actively tuning your phone, after a while they become useless garbage until you face another huge change such as a new ROM.
Miscellaneous
1. Root Toolbox Lite: Clean Dalvink / Cache after TRWP .zip installation This is useless in current OS. Now since the huge transition to the new ART (Android Run Time), the OS detects new installed apps so cleaning dalvik / Cache is just adding more useless drain to the battery since the AOT compiler has to process all the apps instead of only the new one. In the old times this was beneficial, not it is something you must do only if it is absolutely required.
2. Prevent Running: App will only execute if on intentionally clicked I am curius about this. what is the purpose of it regarding battery saving?
3. Battery Calibration: After each rom installation, reach 100% charge and erase Battery_Stats Why? Battery stats are aso wiped when you do a clean flash. If the OS is good enough it should take cate of recalibrating the battery. It only takes a few seconds.
4. Battery Draining: After calibration, a quick cycle of discharge to 0%.[/QUOTE] NEVER!!!!!!! There are 2 states really dangerous for the battery. One is full charge. If you reach full charge, it means that you have stressed the battery a lot in order to reach that state. New hardware battery managers just avoid reaching 100% charge just to extend the battery life. It is a common technique for PC laptops. Accubattery is one of the few battery managers that is actually focused in extending the life of your battery. You won't want to have 20% less battery after 1 year of charging it to 100% each night. Well, the second and most dangerous state for a Li-ion battery is to reach full depletion. A state of deep discharge can make it impossible to recharge again since some batteries require an extra kick not provided by the charger. Do never leave any device on until depleted, if you leave it fully discharged for a while, chances are that you will need to replace the battery. The bottom line of this is: avoid 100% charge, 85% is fair, as much as %90 and do NEVER reach full depletion. If you r phone reaches 6% just turn it off completely.
There are other ways to improve the battery such as switching to F2FS filesystem with optimized mount options. F2FS is specifically designed for flash storage. It reduces the write cycles and optimizes the use of the cache so it is far more energy efficient than the linux etx4. On the other side, it extends the life of your flash storage, including the emmc and the micro SD card die. Less writes means less wear.
Also avoid unnecessary apps, they will drain battery when rebuilding the ART AOL cache and requires extra processing for the launcher as well as for the OS in general.
I am quite happy you opened this thread with this discussion. There are other users around here such as @JeromeLeung also looking for the best performance vs. battery balance for the Axon 7.
I attach some screenshots of my battery evolution and stats for today.
Basically it drained about 1% during 5 hours at night. At work the signal is even worse and depend on the place in the building. However I spend a lot of time on wifi. At work and during the morning the screen was on for 8 hours while the battery level only drop 50%.
Extrapolating these values to a full battery level, the SOT is about 16 h
During the day I attended 3 phone calls and multiple Skype and WhatsApp calls. I used Spotify during the round trip commuting using Bluetooth. I browsed internet, I used XDA labs app, mail (tons of them), text messages, Skype, hangouts and WhatsApp messages. 4 pictures and I also had to install one app.
I only applied 4 tweaks to get this:
1. Optimized F2FS filesystem
2. Amplify
3. balanced AKT Xhana CPU profile (amazing performance)
4. Dark themes in several apps
All that using ZADmix7 ROM with stock kernel as the base system. I also enjoy premium sound with Viper4Arise that takes some CPU for the audio enhancement while playing music during commuting.
So yes, only 4 tweaks can almost triplicate the screen on time, increase performance and solve the deep sleep problem.
Oki said:
I attach some screenshots of my battery evolution and stats for today.
..... snip .....
I only applied 4 tweaks to get this:
1. Optimized F2FS filesystem
2. Amplify
3. balanced AKT Xhana CPU profile (amazing performance)
4. Dark themes in several apps
.... snip ....
Click to expand...
Click to collapse
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
amphi66 said:
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
Click to expand...
Click to collapse
I think they released a new all in one script called AKT that only has 2 Xana and 1 Zhana profile. Simpler! :laugh:
JeromeLeung said:
I think they released a new all in one script called AKT that only has 2 Xana and 1 Zhana profile. Simpler! :laugh:
Click to expand...
Click to collapse
Thanks, I'll check again. I had downloaded the AKT just yesterday.
amphi66 said:
Thanks for the in-depth analysis. Can you explain "Amplify", which of the 5 "Xhana Balanced" profiles you used & looks like you are fine-tuning an update to the application of F2FS? How will that change F2FS implementation for those of us that haven't made the change yet?
Click to expand...
Click to collapse
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Oki said:
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Click to expand...
Click to collapse
Got it. I have HawkPepper, just above "Project'. The F2FS optimizations look interesting, but a bit confusing at this point. I used F2FS on my N5, but it was simply a question of having a kernel that supported, saving sdcard contents, changing structure from TWRP and copying tbe data back again.
amphi66 said:
Got it. I have HawkPepper, just above "Project'. The F2FS optimizations look interesting, but a bit confusing at this point. I uses F2FS on my N5, but it was simply a question of having a kernel that supported, saving sdcard contents, changing structure from TWRP and copying tbe data back again.
Click to expand...
Click to collapse
Axon 7 stock kernel supports F2FS, so you just have to do basically what you did with the N5. However there are some mount options that can optimize the structure created during the data restore, and that depends on the F2FS implementation. There are also some problems with the encryption, this is why I wrote the guide for the Axon 7.
Oki said:
The one I was using yesterday was the Xhana profile. It is under the balanced submenu of the AKT command. It won't work on stock kernel unless you enable init.d support before flashing the AKT profiles ZIP. Regarding the F2FS optimization, please read the updated OP of that thread, In my latest posts in that thread I explain the procedure to integrate the mount options in init.d. The rebuild of the filesystem structure with optimized values is about to be simpler, since we are tuning the new TWRP 3.0.3-f2fs with backported F2FS drivers from Android 4.10. Do not use it yet since it can destroy your data partition if you use it as any other TWRP!!!! 3.0.3-1 is the safest so far. But you are safe if you already have a backup of your /data and /sdcard folders.
Click to expand...
Click to collapse
Do you mind sharing the Amplify wakelocks/alarms/services settings you have on your phone? Just bought the app, but have no idea what is safe to tweak without breaking the phone </3
Pollito788 said:
Do you mind sharing the Amplify wakelocks/alarms/services settings you have on your phone? Just bought the app, but have no idea what is safe to tweak without breaking the phone </3
Click to expand...
Click to collapse
I haven't limited the system too much. I do not want to get rid of receiving messages or limiting location services, so I allowed the wakelocks to be active every 180 sec. I limited: GCoreFlp, Location ManagerService, NlpWakeLock, AudioIn, bluedroid_timer, NlpCollectorWakeLock.
Same for alarms: com.droid27.twc.ACTION_TIMER_TICK, ch.bitspin.timely.widget.UPDATE_ACTION and com.android.chrome/com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver.
I have not limited any service. I do not want to save battery while losing features.
I was losing about 1% through the night so I do not need to go very aggressive on Amplify configuration. I just force close Spotify after using it since I see it drains the battery when not in use. Amplify is not per-se a battery saver, it helps you on controlling rogue apps.
As you could see, the magic for saving battery is not Amplify, but the good tunables for the Interactive CPU governor and IO scheduler provided by AKT. These days I have been testing different Governors and I have found that BurnoutPR3 is best for benchmarks but for a daily driver Balanced Shana profile is awesome. With it I get from 10 to 16 hrs. of SOT depending on the high load time I put on the CPU (pictures, video recording time, youtube...).
I never charge the phone by night with the Axon 7 since I do not need it, all thanks to QC 3.0, I barely charge it in my car while commuting to work and by night, if I am under 40%, I load it about 25 mins to 70% and next morning while my 15 mins commuting time it reaches about 85-90% (never full charge it if you want your battery to last more than a few months). Short sessions of quick charge are healthier than long sessions to 100%. On the other hand do never leave your battery run out of charge or close to 0%. AccuBattery app can teach you how to get healthier charging habits.
Saludos
Oki said:
I haven't limited the system too much. I do not want to get rid of receiving messages or limiting location services, so I allowed the wakelocks to be active every 180 sec. I limited: GCoreFlp, Location ManagerService, NlpWakeLock, AudioIn, bluedroid_timer, NlpCollectorWakeLock.
Same for alarms: com.droid27.twc.ACTION_TIMER_TICK, ch.bitspin.timely.widget.UPDATE_ACTION and com.android.chrome/com.google.ipc.invalidation.external.client.contrib.AndroidListener$AlarmReceiver.
I have not limited any service. I do not want so safe battery while losing features.
I was lust losing about 1% through the night so I do not need to go very aggressive on Amplify configuration. I just force close Spotify after using it since I see it drains the battery when not in use. Amplify is not per-se a battery saver, it helps you on controlling rogue apps.
As you could see, the magic for saving battery is not Amplify, but the good tunables for the Interactive CPU governor and IO scheduler provided by AKT. These days I have been testing different Governors and I have found that BurnoutPR3 is best for benchmarks but for a daily driver Balanced Shana profile is awesome. With it I get from 10 to 16 hrs. of SOT depending on the high load time I put on the CPU (pictures, video recording time, youtube...).
I never charge the phone by night with the Axon 7 since I do not need it thankls to QC 3.0, I barely charge it in my car while commuting to work and, if by night I am under 40% I load it about 25 mins to 70% and next morning while my 15 mins commuting time it reaches about 85-90% (never full charge it if you want your battery to last more than a few months). Short sessions of quick charge are healthier than long sessions to 100%. On the other hand do never leave your battery run out of charge or close to it. AccuBattery can teach you how to get healthier charging habits.
Saludos
Click to expand...
Click to collapse
I appreciate the detailed explanation. Thanks a bunch !

LG G6 optimized for battery life

Hello, I am the new owner of the LG G6. I noticed a fairly large consumption of the battery in this phone, especially during idle
That is why I would like for myself and others to gather in this topic all the ways to improve the G6 performance in terms of battery life, which do not require rooting and are safe for the phone.
First, disable LDB (MLT in older versions) in hidden menu (LG 24/7 tracking of phone)
Search for "LDB function LG G6" in Google, there should be a theme on Reddit about MLT with exact instructions. Maybe someone below will drop the link, because I do not have such a possibility
What else can we do in the hidden LG menu to improve the battery life?
Second, turn off bloatwear
The easiest way is to go to settings > applications and disable (uninstall) applications that you do not use. However, this way you can not get rid of all the bloatware.
What are the other methods for improving the battery life of the LG G6?
Battery standby drain on my G6 (H870DS) is also poor. I lose between 1.5-2.5% an hour when the phone is just sat on the table. I have tried many things to reduce this without success. I have AOD off, battery saver on, gmail sync off, aeroplane mode on (no mobile/cell signal at home), Bluetooth off, WiFi off when screen off. I have removed/ hidden most of the bloatware using ADB commands and experimented with apps such as greenify and forcedoze but nothing seems to make any difference to the high battery consumption when the phone is idle. I have done 2-3 factory resets and nothing has improved. Gsam battery app tells me that a lot of battery usage is caused by android os, kernel and google play services. My conclusions are that android 7.0 Nougat has poor battery idle drain. LG will only update this to 8.0 Oreo eventually which might improve battery efficiency. Some people are reporting better standby performance with their G6’s so it might have something to do with which model/regions firmware you have. I also have the latest TWN firmware and this improved idle drain slightly. I shall wait for android 8.0 Oreo then factory reset and probably be disappointed. Great phone apart from poor battery standby and not having a notification led.
The most amusing thing I've noticed is that the Always-On Display has virtually no battery consumption. Whether it is running or not, I had the same high consumption on idle.
Tomorrow morning I will check whether turning off LDB (MLT) gives something.
I am afraid of updating to Android 8.0, because reviews of other phones after the update are extremely different, some say that the battery life has deteriorated, and others that have improved slightly
I too have my doubts that android 8.0 will be bring any improvement to battery standby drain so will be waiting to see other people’s experiences before I update.
This is also fun, because for the same type of device people report different effects of upgrades. So usually Android upgrade is a high risk game
It seems that turning off the LDB (MLT) feature has reduced the battery consumption in idle 2x, now the phone uses about 0.25% per hour.
Very interesting, that's the first time I've actually heard or read something about MLT/LDB. I wonder what both stands for and also what's its literal function. Polish forums are flooded with threads about "LG's spying app!".
I gave it a try and turned it off. Also I've turned off logging services too. After rebooting, I've removed two apps that are mentioned here and had to force-reboot again as "MLT has stopped" started popping up after a minute or two and it prevented me from doing anything on the phone
Hopefully it will improve battery life... even slightly, but improvement is improvement. For me, battery life is the weakest point of this phone (damned Android 7.0 and its idle battery drain bug)...
RAM is not so important for me, 4 gigs are enough and I've never experienced any slowdowns even with 30 tabs opened in Chrome
Someone on Reddit suggested disabling background running services for apps that use it for no real reason. This can be done by following:
Device settings > Smart doctor > Tap Memory > Tap overflow menu > Tap conserve memory
Selecting the apps that you want to not run in the background and setting the toggle to ON will help. Maybe. Ish.
romcio47 said:
I gave it a try and turned it off. Also I've turned off logging services too. After rebooting, I've removed two apps that are mentioned here and had to force-reboot again as "MLT has stopped" started popping up after a minute or two and it prevented me from doing anything on the phone
Click to expand...
Click to collapse
Let me know what effects have turned off logging and uninstalling these applications. It is a pity that these applications can only be uninstalled on the root device.
adaimespechip said:
Someone on Reddit suggested disabling background running services for apps that use it for no real reason. This can be done by following:
Device settings > Smart doctor > Tap Memory > Tap overflow menu > Tap conserve memory
Selecting the apps that you want to not run in the background and setting the toggle to ON will help. Maybe. Ish.
Click to expand...
Click to collapse
Thanks for the hint. I just did it. Too bad there are so few applications that I want them to not work in the background
adaimespechip said:
Device settings > Smart doctor > Tap Memory > Tap overflow menu > Tap conserve memory
Selecting the apps that you want to not run in the background and setting the toggle to ON will help. Maybe. Ish.
Click to expand...
Click to collapse
I will try it too, thanks for the hint.
jacekmi said:
Let me know what effects have turned off logging and uninstalling these applications. It is a pity that these applications can only be uninstalled on the root device.
Click to expand...
Click to collapse
Manually turning MLT off should be enough, I removed these apps just in case but I don't think it makes MLT "double off" as it's already killed in service menu.
I will do some checks and report in few days, stay tuned.
romcio47 said:
*
Click to expand...
Click to collapse
Can you tell me how, step by step, you have disabled the logs?
jacekmi said:
Can you tell me how, step by step, you have disabled the logs?
Click to expand...
Click to collapse
I don't have my phone with me but as far as I remember the steps are almost exactly the same as for MLT/LDB disable.
Only you click the button about logging instead of MLT, one or two rows below. Then you have to tap "disable" button until every logging service below is set to "Disabled".
romcio47 said:
I don't have my phone with me but as far as I remember the steps are almost exactly the same as for MLT/LDB disable.
Only you click the button about logging instead of MLT, one or two rows below. Then you have to tap "disable" button until every logging service below is set to "Disabled".
Click to expand...
Click to collapse
This option is called Log Services above the LDB function in the hidden menu. Unfortunately all these services I have already disabled :/
Another hint. Make sure that the built-in flash does not light when receiving calls and messages. You may not notice it, because the phone is always on the back.
This can be turned off: Settings> Accessibility> listening> Alarming flash
Tomorrow I will check how much battery I saved
My idle drain was over 60mAh per hour and over a day this was more than used by the screen. The Greenify aggressive doze helps, as does restricting mobile data in the background plus disabling all the bloat. Adding in the LDB hack has reduced idle drain to less than 40mAh per hour, not perfect but much better. To me it looks like LG thought the larger battery meant they could turn on all their rubbish and we wouldn't notice...
Going back to the subject, disabling the flash, acting as the notification light, did not bring about much improvement in battery life.
boomboomer said:
My idle drain was over 60mAh per hour and over a day this was more than used by the screen. The Greenify aggressive doze helps, as does restricting mobile data in the background plus disabling all the bloat. Adding in the LDB hack has reduced idle drain to less than 40mAh per hour, not perfect but much better. To me it looks like LG thought the larger battery meant they could turn on all their rubbish and we wouldn't notice...
Click to expand...
Click to collapse
Every big smartphone manufacturer throws a lot of his ****. The most important thing is to optimize your Android overlay for battery saving. Not every manufacturer handles it satisfactorily
https://youtu.be/iPpuYxJUGro
Sent from my LG-H870DS using Tapatalk
dalmm said:
https://youtu.be/iPpuYxJUGro
Sent from my LG-H870DS using Tapatalk
Click to expand...
Click to collapse
Thanks for the link. Some interesting information was in this video. The most interesting, because I've never seen it before, was to turn off Bluetooth scanning, which works even when Bluetooth is turned off.
To do this, go to settings> location> three dots> scanning> Bluetooth scanning
It seems that there are no hard and fast rules about this. Without any modification whatsoever on my G6, idle goes about 1% every 2 hours or so, even with light use. I'm running the v11d update of Oct 21. The update improved battery life that was already good. At the end of a workday, with bluetooth active and light to moderate use and a trip with Waze I typically have 75% left. It may be a regional issue with firmwares running slightly different apps in the background depending on where you are, or maybe difference in cell tower distances-- with a weak signal the phone radio powers up higher. Maybe LDB isn't used in my region (Middle East/Israel)
Are people using apps such as greenify, force doze, hibernation manager or clean master and if so what benefits in standby drain are they experiencing? Are these apps any good and do they create any problems of their own? From personal experience removing QuickMemo using adb commands improved my battery standby drain a little. What changes should be made in developer options to improve battery life such as animations or limit background processes etc. Nougat is set up to manage battery life in a certain way, so I just want to make sure I don’t make any changes or install any 3rd party apps that make my battery life even worse. What I have come to realise is that the G6 and the snapdragon 821 are not set up for efficient battery standby. Previously, I had a vodaphone smart ultra 6 (rebadge zte blade) with a 3000mah battery on marshmallow that would last upto 4 days on a single charge!

Categories

Resources