Apologies for the late reply; busy with Real Life.
On Saturday, July 12, 2014 5:50:32 PM UTC+2, Petr Nalevka wrote:
| | In fact you can control the screen behavior in a similar way. You can enable screen dimming - screen turns black (not off) after 20 seconds and if configured shows the clock. Screen off (if supported by your device) is done by the system based on your device's overall screen timeout settings.
| | |
Yes, the screen turns black, but the screen's built-in background light still shines through and that's too bright even at its lowest setting. Remember, it's lying right next to my pillow. So I need the screen "really off", not just black. For this "really off" screen, the automatic "screen off" feature is useful -- but at least on my Nexus 4 (running stock Jelly Bean 4.4.4) that feature needs to be "reset" frequently using the advanced settings; I don't know why it doesn't consistently work.
Because of this, I need to turn the screen off myself (short press on the power button; this is what I mean by "hard off").
The problem is that in either case (automatic screen off as well as manual screen off), the device is now in normal stand-by mode so when I power-on the screen, I need to unlock the screen (Android OS's built-in "swipe to unlock", or whatever screen lock the user might have configured). Here's where my feature suggestion comes in, because if the app could turn off the display when the proximity sensor is triggered, the screen could instantly turn on again directly to the app when the proximity sensor is no longer triggered, without needing the "slide to unlock".
Let me know if you need more information; I'll be happy to help.