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?
sudo apt-get install dconf-tools, then run
dconf-editor to launch it.
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