Recently, Android Oreo was officially released, and with it came a ton of new features and optimizations. The new version is reportedly also shaping up to be one of the most developer friendly versions of Android, with multiple customizability options available to users using ADB commands. We’ve previously covered how to change the lockscreen shortcuts and customize the navigation bar on Android Oreo. Today, we bring to you another tutorial to customize the Battery Saver mode.
As you all must be aware, the battery saver mode on Android devices is quite a helpful feature to have, which basically limits/kills all background processes to ensure longer battery life. Apparently, this mode also disables the device’s animations & vibrations and also dims the screen’s brightness. Luckily, Android Oreo allows its users to customize these features. So if you’re annoyed by losing out on these functionalities while being low on battery, read on, as we show you how to customize your Android Oreo’s Battery Saver Mode easily.
Customize Battery Saver Mode in Android Oreo Using ADB
Note: The following method requires Minimal ADB and Fastboot drivers to be installed on your PC. If not, you can download and install them from here. Also, I tried the method on my Nexus 5X and Google Pixel running Android 8.0 Oreo and it worked perfectly.
- To begin with, head over to Settings -> System -> Developer Options and enable the toggle next to “USB Debugging”.
- Now, connect your device to your PC and launch the ADB shell. Once in there, type in 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’ll be enabling the vibrations on my Android Oreo device. Therefore, the command that I’ll be using is:
adb shell settings put global battery_saver_constants "vibration_disabled=false"
Additionally, you can choose to even combine various commands and execute them all at once, simply by separating them with commas. For example, suppose I want to enable animations, disable brightness dim, and enable vibrations, I’ll be using the following command:
adb shell settings put global battery_saver_constants "animation_disabled=false, adjust_brightness_disabled=true, vibration_disabled=false"
Note: Any values that you leave untouched shall revert back to their stock default values.
Customize Android Oreo’s Battery Saver Using Root
Alternatively, if your device is rooted with Magisk or SuperSU, you can run these commands from your phone only. To do so, simply download a terminal emulator app like Terminal Emulator for Android or Termux, and simply execute the commands that you’d like from above.
Note: While executing the commands from your phone, make sure to omit the “adb shell” from your commands. For example, if you had to enable vibrations then your command would look like:
settings put global battery_saver_constants "vibration_disabled=false"
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 versions out there. With already a plethora of features available to the developer community to make use of, the level of customizability offered by Android Oreo is definitely high. As such, the ability to customize the 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 while being low on battery. Share with us your thoughts about this tweak, and what other parameters would you like to change on your Android Oreo device in the comments section below.
This tutorial was first posted on XDA Developers. We tried it out and it works without any problems.