diff --git a/livedisplay/AdaptiveBacklight.cpp b/livedisplay/AdaptiveBacklight.cpp index 986ab12..42200af 100644 --- a/livedisplay/AdaptiveBacklight.cpp +++ b/livedisplay/AdaptiveBacklight.cpp @@ -31,7 +31,7 @@ namespace livedisplay { namespace V2_0 { namespace samsung { -static constexpr const char* kBacklightPath = "/sys/class/lcd/panel/power_reduce"; +static constexpr const char* kBacklightPath = "/sys/class/lcd/panel/alpm"; bool AdaptiveBacklight::isSupported() { std::fstream backlight(kBacklightPath, backlight.in | backlight.out); @@ -51,7 +51,7 @@ Return AdaptiveBacklight::isEnabled() { } Return AdaptiveBacklight::setEnabled(bool enabled) { - return WriteStringToFile(enabled ? "1" : "0", kBacklightPath, true); + return WriteStringToFile(enabled ? "2" : "0", kBacklightPath, true); } } // namespace samsung