Screen idle mode types

Types of idle modes.

Synopsis:

#include <screen/screen.h>
 
 enum {
      SCREEN_IDLE_MODE_NORMAL = 0   
      SCREEN_IDLE_MODE_KEEP_AWAKE = 1   
};

Data:

SCREEN_IDLE_MODE_NORMAL
The default idle mode; the display is allowed to go idle after the period of time indicated by SCREEN_PROPERTY_IDLE_TIMEOUT and potentially turn off.
SCREEN_IDLE_MODE_KEEP_AWAKE
The idle mode which will prevent the display from going idle after a period of no input - such as video playback.

By default, the display will go idle after the period of time indicated by SCREEN_PROPERTY_IDLE_TIMEOUT.

Library:

libscreen

Description: