diff --git a/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java b/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java index 9eeddf25..d96dad97 100644 --- a/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java +++ b/cmhw/org/cyanogenmod/hardware/AdaptiveBacklight.java @@ -18,6 +18,8 @@ package org.cyanogenmod.hardware; import org.cyanogenmod.hardware.util.FileUtils; +import android.os.SystemProperties; + import java.io.File; /** @@ -26,7 +28,7 @@ import java.io.File; */ public class AdaptiveBacklight { - private static String FILE_CABC = "/sys/class/lcd/panel/power_reduce"; + private static String FILE_CABC = SystemProperties.get("ro.cm.hardware.cabc", "/sys/class/lcd/panel/power_reduce"); /** * Whether device supports an adaptive backlight technology.