Brightness is a project mainly written in Java, it's free.
SImple Android app widget to toggle between automatic and minimum brightness.
Brightness Android app widget
A very simple app widget for the Android home screen. Clicking the widget toggles between automatic and miminum brightness settings.
Known issues:
Fixed:
but clicking the widget will switch to "Auto" as if it was
off.