Screen power mode types

Types of power modes

Synopsis:

#include <screen/screen.h>
enum {
    SCREEN_POWER_MODE_OFF = 0x7680,
    SCREEN_POWER_MODE_SUSPEND = 0x7681,
    SCREEN_POWER_MODE_LIMITED_USE = 0x7682,
    SCREEN_POWER_MODE_ON = 0x7683
};

Data:

SCREEN_POWER_MODE_OFF
The power mode in an inactive state.
SCREEN_POWER_MODE_SUSPEND
The power mode in a state of being partially off; the display or device is no longer active.

The power usage in this state can be greater than in SCREEN_POWER_MODE_OFF, but will allow for a faster transition to active state.

SCREEN_POWER_MODE_LIMITED_USE
The power mode in a state of reduced power; the display or device is active, but may be slower to update than if it was in SCREEN_POWER_MODE_ON.
SCREEN_POWER_MODE_ON
The power mode in an active state.

Library:

libscreen