How to detect if display is on?
Requirements
- Must work on devices with API level >=17 and <20 (Android 4.2.2, 4.3, 4.4)
- I am not asking for interactive state like Intent.ACTION_SCREEN_ON / PowerManager#isScreenOn() / #isInteractive()
- Must work from inside a Service