Recently, Android Oreo was officially released and with it came loads of new features and optimizations. The new version will also reportedly be one of the most developer-friendly versions of Android with multiple customizability options available to users using ADB commands. We previously covered how to change the lock screen shortcuts and customize the navigation bar in Android Oreo. Today we bring you another tutorial to customize Battery Saver mode.
As you all know, battery saver mode on Android devices is a very useful feature to have, which basically limits/kills all background processes to provide longer battery life. Apparently this mod also disables the animations and vibrations of the device and also reduces the brightness of the screen. Fortunately, Android Oreo allows its users to customize these features. So, if you are bothered by losing these functions when your battery is low, read on as we show you. How to easily customize the Battery Saver Mode of your Android Oreo.
Customize Battery Saver Mode on Android Oreo Using ADB
note: The following method requires the Minimal ADB and Fastboot drivers to be installed on your computer. If not, you can download and install them. here. Also, I tried the method on my Nexus 5X and Google Pixel running Android 8.0 Oreo and it worked perfectly.
- To get started, go to: Settings -> System -> Developer Options and enable the toggle next to it “USB debugging”.
- Now, connect your device to your PC and start the ADB shell. Once inside, type the following commands:
To Enable or Disable Vibration:
adb shell settings put global battery_saver_constants "vibration_disabled=true/false"
To Enable or Disable Animations:
adb shell settings put global battery_saver_constants "animation_disabled=true/false"
To Enable or Disable Brightness Dim:
adb shell settings put global battery_saver_constants "adjust_brightness_disabled=true/false"
For example, I will enable vibrations on my Android Oreo device. Therefore, the command I would use is:
adb shell settings put global battery_saver_constants "vibration_disabled=false"
In addition, you can even choose combine various commands and execute them all at once, separated by commas. For example, suppose I want to enable animations, disable brightness dimming and enable vibrations, I will use the following command:
adb shell settings put global battery_saver_constants "animation_disabled=false, adjust_brightness_disabled=true, vibration_disabled=false"
note: Values you leave untouched will revert to their stock default values.
Customize Android Oreo’s Battery Saver Using Root
Alternatively, you can run these commands from your phone if your device is rooted with Magisk or SuperSU. Only. To do this, simply download a terminal emulator app like below. Terminal Emulator for Android or Termuxand just execute the commands you want from above.
note: When running commands from your phone, be sure to remove the “adb shell” from your commands. For example, if you need to enable vibrations, your command would look like this:
settings put global battery_saver_constants "vibration_disabled=false"
SEE ALSO: Android Oreo Common Problems and How to Fix them
Control Battery Saver Mode with Android Oreo’s Battery Saver
Google’s Android Oreo is shaping up to be one of the most developer-friendly Android releases on the market. The level of customizability offered by Android Oreo is certainly high, as there are already plenty of features available to the developer community. So, the ability to customize Battery Saver on Android Oreo 8.0 comes as a handy feature for those of us who don’t like to hamper the entire user experience when the battery is low. Share with us your thoughts on this tweak and what other parameters you would like to change on your Android Oreo device in the comments section below.
This tutorial was originally published at: XDA Developers. We tried it and it works fine.