Get device screen state

Checks current state of device screen. There are 3 possible states: normal, dim and off.