MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / turnOffDisplay

Function turnOffDisplay

src/powerSave.cpp:6–6  ·  view source on GitHub ↗

Turn off the display */

Source from the content-addressed store, hash-verified

4
5/* Turn off the display */
6void turnOffDisplay() { setBrightness(0, false); }
7
8/* If the device screen is off, turn on, else just refresh sleep timer */
9bool wakeUpScreen() {

Callers 2

checkPowerSaveTimeFunction · 0.85
sleepModeOnFunction · 0.85

Calls 1

setBrightnessFunction · 0.85

Tested by

no test coverage detected