For some reason, on my Acer Aspire laptop, Ubuntu doesn’t seem to respond to the brightness settings, but this script works. It’s probably not terribly safe, but it add a good 20-30 minutes of battery life when I set it to the lowest setting I can see.

#!/bin/bash function helpa { echo brighty [ 1 - 976 ] } if [ x$1 = x ] then helpa elif [ $1 -gt 976 ] then helpa else echo $1 | sudo tee /sys/class/backlight/intel_backlight/brightness fi