Function keepActive()

Function Documentation

bool keepActive()

Query if the hardware is set to stay active (avoid entering deepsleep) or no (may enter deepsleep). Deepsleep is a low-power mode: hardware is almost shut-off. It can be woken-up by touching the screen.

Returns

true: stay active; false: may enter deepsleep;