Dim Screen Android Firemonkey


Does anyone know how to dim the screen on Delphi Firemonkey for Android? I’ve been googling around and searching but could only find how to remove the auto dim for android by acquiring a Wakelock (Delphi XE5 Android. How to use PowerManager.WakeLock?).

At best I’d like to achieve two states:
Evening = 20% brightness
Daytime = 100% brightness

I am using Delphi 10.1 Berlin.
Thank you for your help.

Comments are closed.