Ubuntu – How to stop automatic brightness change while on battery

brightnessscreen

I generally keep screen brightness lowest.While laptop is on battery if I do not use mouse or keyboard for some time (I do not exactly know this time interval, maybe 20 second) brightness increases to some level between highest and lowest. Also if I use mouse or keyboard after this happens brightness becomes highest.This is very annoying. What is the solution if there is any?

Best Answer

First, install dconf-tools with sudo apt-get install dconf-tools, then run dconf-editor to launch it.

Navigate to org.gnome.settings-daemon.plugins.power, and modify according to your needs, the relevant keys, namely:

brightness-ac
brightness-dim-battery
idle-brightness
idle-dim-ac
idle-dim-battery
idle-dim-time