by Nathan Comer
Version 1 (August 15, 2024)
Download (14 downloads)
A fully-featured auto brightness flow with the selling point being that you can override it when you want.
Override by changing the screen brightness the normal way - it'll make a notification for turning it back on when you tap it or swipe it away.
(See Customization down there \/ if you're not a fan of the required permissions.)
Functionality
------
This will readjust the screen brightness every 3 seconds, when the foreground app changes, or when you turn off the override using the notification.
(It won't continuously check ambient light in order to save battery.)
Battery saver lowers brightness by 33.
Customization
------
The relationship between ambient light and screen brightness (with and without battery saver on) can be changed in the Variable Set blocks in the bottom right.
(They're currently set to AmbientLight / 4.25, with - 33 if battery saver is on)
How large a range it accepts before changing the brightness can be changed in the Is Screen Brightness block.
(Currently set to 8)
How often it checks ambient light can be changed in the Delay block in the bottom left area.
(Currently set to 3 seconds)
If you don't like the "access screen content and observe your actions" permission, delete the Foreground App Changed block.
Misc
------
The When Foreground App Changed trigger and the Delay trigger are somewhat redundant, but I've included both for easy customization.
For example, you might change the delay to be 30s instead of 3s, while retaining the foreground app trigger. Or, you might delete the foreground app trigger and set the delay to 1.5 seconds.
I know there's a thousand auto brightness flows and apps, but I'm not sure any allow you to simply set the brightness yourself the normal way - they'll override you.
(And the default android auto brightness is just too bright all the time.)