Monday, 18 July 2016

6 Tips to Optimize Android Device Battery Life (rated by difficulty and effectiveness



1. Kill unnecessary background tasks (Beginner – Low)
◦ Method 1 (The easy manual way)
a. Press the “tabs” button and swipe out anything you don’t need every time you want to optimize.

◦ Method 2 (The rather easy automatic way)
a. Settings > Developer Options (If it isn’t there, go to “about phone” and press “build number” many times until the notification appears that you are now a developer.)


2. Reduce “Background process limit” to at most _ processes
◦ Method 3 (The app way)
a. Install Greenify (or another task killer) from the Google play store.
b. Add apps that you do not need to the list. Enable auto-hibernation if you have root. If you don’t, you will need to hibernate manually

.
3. Remove bloatware (Intermediate – Medium)
◦ YOU WILL NEED A ROOTED DEVICE! If you don’t know how to do it, forum.xda-developers.com may help.

◦ Method 1 (The automatic way)
a. Install a system app uninstaller from Google Play Store
b. Uninstall unnecessary preinstalled apps (make sure you are uninstalling the right app! If you are not sure, do not proceed!).
c. Reboot

◦ Method 2 (The manual way)
a. Open up your root file manager (or a terminal if you know how to use them)
b. Navigate to /system/app
c. Search for domain.developername.appname
d. Remove the folder.
e. MAKE SURE YOU ARE UNINSTALLING THE RIGHT APP! IF YOU ARE NOT SURE, DO NOT PROCEED!

4. Configure your CPU (Intermediate – Medium)
◦ REQUIRES ROOT!
a. Install a cpu manager app like no-frills from the play store.
b. Lower the “maximum frequency” field if desired.
c. Change the cpu governor to conservative if desired. (Note: OEM conservative governors may be modified to increase performance and therefore actually increases battery drain)
d. Grant root to the cpu manager.

5. Manage Wakelocks (Intermediate/Advanced – High)
◦ Universal (do this first)
a. Find out which wakelocks are causing your device to be slow. Download a wakelock detector.

◦ Problem 1 (app cpu wakelocks)
a. Uninstall apps causing excessive wakelocks.
b. Search up Google for apps that cause unnecessary wakelocks and uninstall them if possible.

◦ Problem 2 (screen wakelocks)
a. Make sure to tweak the settings of any background apps you run to not keep the device awake.
b. Problem 3 (kernel wakelocks)

▪ Universal (Do this first)
• Make sure there are no services causing partial wakelocks.
a. Disabling google play update service (even though it is a common first step for rooters) will cause a partial wakelock even though it will make your phone believe it is up to date. This is not a good idea. Re-enable the system update service and block notifications from google play services.
• If the previous step works, congrats! You have fixed your wakelock problems!

6. Install a custom rom (WILL WIPE DATA!) (Intermediate - Variable)
◦ Search online for good custom roms.
◦ Unlock bootloader and flash a custom recovery (like TWRP).
a. Link the device to your PC or laptop with android studio installed along with the platform-tools sdk.
b. Enable USB debugging under developer options.
c. Run “adb reboot bootloader” and when prompted on the device if you want to allow adb from the PC or laptop, tap continue. (If you have a Samsung device, use “adb reboot download” instead. You will also have to learn how to flash a custom recovery in Download mode. Once that is done, skip the next few steps)
d. The device will reboot to the bootloader.
e. You will have to unlock the bootloader. This will wipe data! If you are in the bootloader, type “fastboot oem unlock” and for some devices, you will have to type “fastboot oem unlock confirm” after that.
f. If you are in the bootloader, type “fastboot flash recovery <recovery_name.img>”
g. Once the flash if complete, reboot to recovery. If you are in the bootloader, use the volume buttons to navigate to “recovery mode” and press the power button to enter it.
h. Navigate to the folder where your custom rom zip is downloaded. (DO NOT EXTRACT THE ZIP!)
i. If you are using TWRP, use the “install” button. Navigate to the zip and install it.
◦ Once it is done, reboot to the system and enjoy your new custom rom.



No comments:

Post a Comment