diff --git a/src/powersaver.cpp b/src/powersaver.cpp index 8ebee28..a6debb7 100644 --- a/src/powersaver.cpp +++ b/src/powersaver.cpp @@ -74,7 +74,9 @@ void PowerSaver::removeScreenTimer() { #define SCREEN_BLANK_PATH "/sys/class/graphics/fb0/blank" void PowerSaver::setScreenBlanking(bool state) { const char *path = SCREEN_BLANK_PATH; - const char *blank = state ? "0" : "1"; + const char *blank = state + ? "0" /* FB_BLANK_UNBLANK */ + : "4" /* FB_BLANK_POWERDOWN */; int fd = open(path, O_RDWR); if (fd == -1) {