Set 2 Different Screen Brightness for Ubuntu 18.04 Laptop on Battery / AC

Last updated: November 27, 2019

gnome shell

This simple tutorial is going to show how to set two different screen brightness levels for AC adapter or on battery.

So Ubuntu 18.04 (or Ubuntu 19.10) laptop with the default Gnome 3 desktop will automatically dim screen when the charger is unplugged.

1.) Open Ubuntu Software, search for and install ‘dim on battery power’ (without quote).

2.) Then launch the extension settings either in Ubuntu Software or via Gnome Tweaks > Extensions (install Gnome Tweaks via Ubuntu Software).

When it opens, change the values of screen brightness on battery or AC power.

That’s it. Enjoy!


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via Buy me a coffee: