Set screen brightness not working

50 views
Skip to first unread message

PunktX

unread,
Jun 29, 2025, 11:31:04 AM6/29/25
to Automate for Android
Hello,
smartphone Android 15, automate flow with a block "screen brightness set", value 30 %.
Flow ist started, the block is being done (what I check by a notification in the next block), but screen brightness is always set to 100 % (whatever values I put into the block).

Any ideas?
Thank you,
regards
Christian

Henrik "The Developer" Lindqvist

unread,
Jul 2, 2025, 1:18:01 PM7/2/25
to Automate for Android
It seems the Android API for accessing screen brightness has been broken in the past few Android version, where input and output values aren't within documented/specification ranges resulting in unexpected brightness.
Sadly, the unexpected values seems to differ with device making a workaround difficult.
However, an alternative is to use the System setting set block with category System, name Screen brightness and a value between 0 and 255, but as said, those may differ on your device, e.g. on my Pixel device it's between 0 and 147.
Reply all
Reply to author
Forward
0 new messages