Extreme Battery Saving for SGH-T559X (and possibly S3 Mini) - Galaxy S III Mini General

Have you ever found yourself hooked up to the charger at least once or twice a day? Well this is an extremely easy fix for our Galaxy 4G Exhibits! First of all you will need to have root obviously.
Second you will have to flash any of the variants of CM11.
Third you'll have to download all of the following apps
- Antutu Battery Saver
-Battery Saver
-CPU Tuner
-Lux Light (for best results switch display to -50)

thanks for the effort, but i think you may have already missed a similar thread of other recommended apps to use

Related

[GUIDE] Tips on Awesome Battery Life for Power Users

Most of my droid using colleagues are quite impressed at how i manage to squeeze so much battery life out of my handset. I thought it was time to compile and share my tips and tricks with the community. I get about 20+ hours with relatively heavy use
First some caveats.
This is what I personally do - and I simply want to share if some of these tips and tricks can be useful for others. Your personal mileage will vary and not all of these tips will be applicable to all users. With that in mind, these are my personal requirements and phone capabilities which affect my strategy for longer battery life:
Some sort of data Connection Always On
At least 2,000 in quadrant after standard boot
Background Data Always On and AutoSync always on
WaveSecure and LBE Security Service Always On
Google Voice for sms and call forwarding/routing
1000 minutes + 5gb data grandfathered plan - so no use for major data monitoring and no use for wifi calling
Frequent use of bluetooth stereo headphones in conjunction with Amazon MP3 and Google Music Beta - music synced then listened to, rarely streamed
Infrequent use of Pandora
Required ROMS, Apps and Programs
Cyanogen Mod 7 Latest Nightly (kernel of your preference)
Tasker
Autostarts
Root Explorer
Titanium Backup (useful, not required)
Step 1: Remove CM Bloat
Before and after flashing a nightly I run Titanium Backup and backup all system apps just in case something gets ****ed up during what I do next. In general, I uninstall any apps i don't use and backup + uninstall any apps i use very infrequently.
I then uninstall the following:
File Manager (replaced by root explorer which is far more powerful)
Sound Recorder (keep in mind, im using GV for SMS and do not use MMS),
Music (replaced by the new google music from market and amazon mp3)
Voice Dialer (i've never understood the need for this when we have google voice search)
Home Screen Tips
Magic Smoke Wallpaper (if you don't use it)
Music Visualization Wallpapers (if you don't use it)
ADW Launcher (if you don't use it)
Gan Optimizer and Wifi Calling
Email (i only use gmail app and have it setup such that other accounts are forwarded, labeled, and gmail can SEND AS: other account)
FM Radio (people still listen to FM after howard stern went to satellite?)
Dev Tools (I never find a need for this)
Keep in mind all of these are backed up in case you decide you want them back or something breaks. Also, you might need to force close out of kineto/wifi calling before the uninstall through applications -> running services.
Step 2: Settings
I don't **** around with Render Effect for battery savings - it only helps on AMOLED screens (confirmed by c00ller here http://forum.xda-developers.com/showpost.php?p=14509485&postcount=4)
I have auto brightness disabled and use the status bar swipe brightness to adjust
CPU Governor: I prefer Smartass if available, if not then interactive, if not then on demand. I used to use Pershoot - but I think i now prefer Umaro or stock.
CPU Clock: I have this set to 1.2mhz. Honestly, its faster than most phones out there both in how it feels and quadrant score. 1.5 seems like overkill - and it will drain the battery faster. This really comes to personal preference though. Min should always be lowest frequency.
to make the system feel faster, i make all animations fast in spare parts. as a result, i do not use the screen on/off animations.
VM heap @ 32 mb
lock home in memory, use jit, enable surface dithering
GPS Always On
Step 3: Take control over startup
This where autostarts comes into play. Note that both After Startup and Connectivity Changed are triggered on boot - so this is where things need to be disabled. Here is what i have disabled:
xda premium
(Amazon) Appstore
Messaging (I only kept messaging so i can recieve t-mobile alerts)
Springpad
Maps (should be disabled unless you are a big latitude user)
Amazon MP3
Skype (keep enabled if you do sync and want to be signed in on boot)
Ebay (keep enabled if you have auction alerts on)
Touch Pal Dialer (still deciding if i like this or stock)
SyncMyPix
ROM Manager Premium License
DropBox
Netflix
Shopper
Firefox Beta (keeping this app around to see if it ever improves vs stock or dolphin)
(Google) Earth
(Google) Docs
Note that this isnt fully comprehensive for what u would want to disable - in general keep the google apps enabled and any apps u know should run at startup (for example those that receive push messages) or that you want to poll immediately.
Step 4: Automate with Tasker
I use tasker to do some automatic toggling of settings.
Primary battery savings: location based profiles that use location w/o tears (network location) that intelligently turn wifi on and off in locations where I know I have wifi access (for example in my apartment or near work + during work hours + not holiday + weekday). Under wifi settings -> advanced make sure the wifi sleep policy is set to Never.
I don't do this, but you may also want a profile that sets wifi off or data off or autosync off while at home during sleeping hours.
Secondary battery savings: when bluetooth is turned on, wait for connection for 3 minutes. if no connection is made, turn off. when bluetooth device is disconnected, check for another existing connection or new connection for next 3 minutes. if no connection is made, turn off.
Tertiary battery savings: Profile that alerts when battery is fully charged (with british higher pitched female voice) to prevent overcharging/battery damage (please correct me if this is a myth but ive found it to be true, anecdotally).
Additional Thoughts about Other Profile Apps and Tasker
I have found that apps like setcpu have a definite negative affect on battery life. Most kernel governors manage themselves properly and profiles are not needed unless doing heavy overclocking where you need high temperature failsafes.
Additionally, apps like juice defender seems to waste a lot of battery in their monitoring (versus Tasker) and I think the tendency for that app to toggle the cellular radio on and off (with that 20s delay) actually hurts battery. Again, I own these apps and have used them extensively and decided against them - but it does come down to personal preference. Still, an app like Tasker can do everything juice defender and setcpu do, if necessary albeit less intuitively, but with a smaller memory footprint.
A note on Bump Charging
See here: http://forum.xda-developers.com/showthread.php?t=871051
condensed: bump charging works but can weaken your battery in the long run. avoid it if you care about your battery longevity or have frequent access to chargers throughout the day.
Thanks to c00ler for the tip to byrong's research.
Open Questions that I have
Radio questions
If in a high 4g/3g penetration area - is it better to be on WCDMA Preferred or WCDMA Only?
If in constant wifi coverage - is it better to be on 2g only or a WCDMA setting?
If in constant wifi coverage - is it better to have cell radio off and make calls over wifi only?
Other questions
Is there any battery life correlation to USB PC charging vs Wall charging? What about stock charger vs other micro usb chargers?
Is battery weakened from extended time spent plugged in?
Is there anything else I am missing? I hope this guide is helpful.
Reserved for followup.
Great posts.
I recommend to freeze those system apps rather than to remove/uninstall them using Titanium Backup.
Considering that you 're using CM 7 nightly, there's a bit much work to do to uninstall the unnecessary system apps after flashing new ROMs.
Just don't know whether freezing a app would do more harm to performance than to just remove/uninstall them or not.
A few answers:
sundar2012 said:
Is battery weakened from extended time spent plugged in?
Click to expand...
Click to collapse
I do not know the exact answer but I will tell you that PC USB ports are limited to providing a typical maximum current of 500 mA while the wall charger that came with our device is capable of 1.0 A or 1000 mA. I use an app called Battery Monitor Widget and realistically I've seen numbers like 200-300 and 500-700 mA, respectively, as the charge current is a function of battery %. What I'm saying is USB charging for Wall charging is really more a matter of how battery life is affected by charge rate. I've read on the one had moving ions too quickly in a battery can lead to decreased lifetime while on the other, fast charging avoids crystallization of battery microstructure, which is good. Read more at batteryuniversity.com
sundar2012 said:
Is battery weakened from extended time spent plugged in?
Click to expand...
Click to collapse
Read this post.
sundar2012 said:
Does render effect only confer battery savings to AMOLED screens?
Click to expand...
Click to collapse
Yes, it only affects AMOLED screens. Why? Because in an AMOLED, every pixel IS its own light source. Every pixel can turn itself on and off at will. Therefore, darker wallpapers, images, themes, etc will have more pixels at a low-power state and lead to decreased power consumption. On the other hand, LCDs have a backlight that is always on, even when looking at a "pure black" image. To produce the dark image, the LCDs have liquid crystals that polarize the light perpendicularly to each other so that (theoretically) none goes through. However there is always leakage, which is why blacks never look as black as they do on AMOLEDs (lower contrast ratio), which can literally turn off to produce true blacks. Basically for dark images, AMOLEDs are dynamic go into a lower power state while LCDs are static and maintain one relatively high power state at all times.
c00ller said:
A few answers:
I do not know the exact answer but I will tell you that PC USB ports are limited to providing a typical maximum current of 500 mA while the wall charger that came with our device is capable of 1.0 A or 1000 mA. I use an app called Battery Monitor Widget and realistically I've seen numbers like 200-300 and 500-700 mA, respectively, as the charge current is a function of battery %. What I'm saying is USB charging for Wall charging is really more a matter of how battery life is affected by charge rate. I've read on the one had moving ions too quickly in a battery can lead to decreased lifetime while on the other, fast charging avoids crystallization of battery microstructure, which is good. Read more at batteryuniversity.com
Read this post.
Yes, it only affects AMOLED screens. Why? Because in an AMOLED, every pixel IS its own light source. Every pixel can turn itself on and off at will. Therefore, darker wallpapers, images, themes, etc will have more pixels at a low-power state and lead to decreased power consumption. On the other hand, LCDs have a backlight that is always on, even when looking at a "pure black" image. To produce the dark image, the LCDs have liquid crystals that polarize the light perpendicularly to each other so that (theoretically) none goes through. However there is always leakage, which is why blacks never look as black as they do on AMOLEDs (lower contrast ratio), which can literally turn off to produce true blacks. Basically for dark images, AMOLEDs are dynamic go into a lower power state while LCDs are static and maintain one relatively high power state at all times.
Click to expand...
Click to collapse
Thanks, will update thread to reflect information about bump charging and AMOLED.

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

Battery saver / CPU limiter

What's the easiest way to get a full time CPU limiter on my G2? I am now on the stock Lollipop ROM and I hate the built in battery saver which doesn't even limit the CPU (as far as I could tell with CPU-Z) and those orange bars (HELL NO) and the fact that it turns itself off while charging and doesn't turn back on (c'mon Goooogle, WTF??)...
I would like a full time battery saver but I would only use it for the CPU limiter, all other settings I can manually manage (radios, brightness, etc..). If you are recommending ROM's, I would like one with no issues at all (camera, bluetooth, etc.. I use them all) but I would prefer to keep the stock ROM if possible..
Thanks!
PS: Nevermind, I think I found something.. This should do the trick: http://forum.xda-developers.com/lg-g2/development/lp-5-0-2-kernel-3-4-107-dorimanx-1-0-lg-t3102512

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

Categories

Resources