This is my first extension 
my friends helped me with this. Thanks @Xoma and @UnknownBeast 
The block returns the time in milliseconds until the screen turns off

Returns the current brightness value

Indicates whether the dark mode is active or inactive. Returns true if active, false otherwise

Returns the maximum brightness value

Returns the current brightness mode, true when auto-brightness is active and false when it is off

set the display time out (in millisecounds). android.permission.WRITE_SETTINGS permission is require

Adjust the screen brightness. android.permission.WRITE_SETTINGS permission is required

a demo example how to adjust the brightness of the screen
DOWNLOAD:
com.baxolino.displyinfo.displayinfo.aix (6.1 KB)
12 Likes
Simple but useful, keep on @dennis_littawe1542 
1 Like
Sounds like inunderstandable
1 Like
what do you mean by that? 
Taifun
6
thank you for your contribution
please follow the naming conventions and update your extension
thank you
setBrightness → SetBrightness
setTimeOut → SetTimeOut
Taifun
2 Likes
Thank you very much. i will update it.
i updated it and added a new block 
hum_tum
(hum tum)
9
Does it work in background?
I mean if we adjust britness, then remove the app from recent…
I haven’t tested it to see if it works in the background. I checked if it works. 