Allow to check orientation while screen is off
Currently it is not possible to check the device's display orientation while the screen is off. I'd need this because I use the proximity sensor to wake up the phone when the sensor is released (e.g. when opening the cover). However it seems when the phone is in movement there are frequently false readings of the proximity sensor causing the phone to wake up in the pocket (I checked this with a profile doing a beep sound when the sensor is released). So I want to check orientation when the proximity sensor is released before turning on the display in a task. Btw what does the block time value in the turn display on action mean? It seems it's not described anywhere.
As it might be battery intensive to read the orientation sensor it would be great if this could be done from inside the task triggered when the proximity sensor got released and not all the time the screen is off.