contador Saltar al contenido

How to customize the Battery Saver mode in Android Oreo

Recently, Android Oreo was officially released and tons of new features and optimizations have come with it. Reportedly, the new version promises to be one of the most friendly versions for Android developers, with multiple customization options available for users using ADB commands. Previously we explained how to change the lock screen shortcuts and customize the navigation bar on Android Oreo. Today we bring you another tutorial to customize the Battery Saver mode.

As you all need to be aware, the battery saving mode on Android devices is quite a useful feature to have, which in practice limits / kills all background processes to ensure longer battery life. Apparently, this mode also disables the device's animations and vibrations and also attenuates the brightness of the screen. Fortunately, Android Oreo allows its users to customize these features. So if you are annoyed losing these features while running out of battery, keep reading as we show you how to easily customize the Android Oreo Battery Saver Mode.

Customize the Battery Saver mode in Android Oreo using ADB

Note : The following method requires the installation of Minimal ADB and Fastboot drivers on the PC. If not, you can download and install them from here. Furthermore, I tried the method on my Nexus 5X and Google Pixel with Android 8.0 Oreo and it worked perfectly.

  • To begin with, go up Settings -> System -> Developer Options and turn on the switch next to "USB debugging" .

  • Now connect your device to your PC and start the ADB shell . Once there, type the following commands:

To enable or disable vibrations:

 le impostazioni della shell adb inseriscono battery_saver_constants globali "vibration_disabled = true / false" 

To enable or disable animations:

 impostazioni della shell adb inserite global battery_saver_constants "animation_disabled = true / false" 

To enable or disable Dim brightness:

 le impostazioni della shell adb inseriscono battery_saver_constants globali "adjust_brightness_disabled = true / false" 

For example, I will enable vibrations on my Android Oreo device. Therefore, the command that user:

 impostazioni della shell adb inserite global battery_saver_constants "vibration_disabled = false" 

In addition, you can also combine several commands and run them all at the same time, simply by separating them with commas. For example, suppose we want to enable animations, turn off dimmed brightness and enable vibrations, use the following command:

 impostazioni della shell adb inserite global battery_saver_constants "animation_disabled = false, adjust_brightness_disabled = true, vibration_disabled = false" 

Note : Any value that you leave intact will revert to the default stock values.

Customize the Android Oreo Battery Saver using Root

Alternatively, if your device rooted with Magisk or SuperSU, you can only run these commands from your phone. To do this, simply download a terminal emulator app like Terminal Emulator for Android or Termux and simply run the commands you want from above.

Note : while running commands from your phone, be sure to omit "adb shell" from your commands. For example, if you had to enable vibrations, your command would look like:

 settings put global battery_saver_constants "vibration_disabled = false" 

Check the battery saver mode with Android Oreo's Battery Saver

Google Oreo's Android promises to be one of the most developer-friendly Android versions. With a plethora of features already available for the developer community, the level of customization offered by Android Oreo is decidedly high. Therefore, the ability to customize Battery Saver on Android Oreo 8.0 is a useful feature for those of us who don't like to get in the way of the entire user experience while running out of battery. Share with us your opinions 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 first published on XDA Developers. We tried it and it works without problems.