From 3381ac447175af3252c79c3e066cbbc38c400c85 Mon Sep 17 00:00:00 2001 From: Pat Erley Date: Thu, 22 Oct 2015 18:04:35 -0700 Subject: Blank screen during shutdown and reboot Some hardware doesn't like having the panel on and still active during pwoer cycles, so just turn it off. Change-Id: Ied1f0802f5a2d45980ee33abf2456a291ba64beb --- recovery.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'recovery.cpp') diff --git a/recovery.cpp b/recovery.cpp index b8a53df..3cd2764 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1381,6 +1381,9 @@ main(int argc, char **argv) { sync(); + write_file("/sys/class/leds/lcd-backlight/brightness", "0"); + gr_fb_blank(true); + switch (after) { case Device::SHUTDOWN: ui->Print("Shutting down...\n"); -- cgit v1.1