Set brightness to 0

Flosch

Member
Licensed User
Longtime User
For energy saving I want to set the brightness to 0.
(phone.SetScreenBrightness(0))

When I do this the display turns off and my program doesn’t react on the menu- or back-button or to any touch input on the screen. The only thing that will work is the power button.

It seems that the phone.SetScreenBrightness(0) command will set the phone in some kind of special mode.

Does anybody know which mode I will get when the brightness is set to 0?
Or is there another way to turn the screen off but still react on touch- or button-events?
 

Penko

Active Member
Licensed User
Longtime User
Erel, it differs. I've done a minimal brightness of 5%. I convert that do 0.05. On my tablet, the screen dies the way we have explained, on my phone it is too low, but works. It turns out to be very device specific. I've solved it by applying a minimal value of 10% which is fair enough for my application.

Sent from my HTC Desire using Tapatalk
 
Upvote 0
Top