A free program for Android, by Gyrus Solutions.
Yet Another Auto Brightness (YAAB) is a small, free, and open-source application that enhances user control over screen brightness. YAAB is designed to make your screen as dim as possible to save battery. It has an interface that is simple to use and it runs in the background. It is designed to change the brightness of your screen according to the current light sensor data and the manual adjustment slider position.
YAAB can be used as a standalone application or as an add-on to your system. You can also turn off the automatic adjustment by tapping "Disable Auto Brightness".