summaryrefslogtreecommitdiffstats
path: root/data.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'data.cpp')
-rw-r--r--data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/data.cpp b/data.cpp
index 1fbe0ffad..4bf8637a6 100644
--- a/data.cpp
+++ b/data.cpp
@@ -953,6 +953,7 @@ void DataManager::SetDefaultValues()
if (findbright.empty()) {
// Attempt to locate the brightness file
findbright = Find_File::Find("brightness", "/sys/class/backlight");
+ if (findbright.empty()) findbright = Find_File::Find("brightness", "/sys/class/leds/lcd-backlight");
}
if (findbright.empty()) {
LOGINFO("Unable to locate brightness file\n");