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?
I am just struggling with the same thing. It surprised me unpleasantly so I just ensured the minimum value is always the minimal normal for the application functioning.
It will be useful to me if someone throws more light on what this mode is.
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.