summaryrefslogtreecommitdiff
path: root/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
diff options
context:
space:
mode:
Diffstat (limited to 'light/android.hardware.light@2.0-service.xiaomi_sdm660.rc')
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
index 969bdac..46a2e62 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -9,6 +9,10 @@ on boot
chown system system /sys/class/leds/white/ramp_step_ms
chown system system /sys/class/leds/white/start_idx
+ chown system system /sys/class/leds/button-backlight/max_brightness
+ chown system system /sys/class/leds/button-backlight1/brightness
+ chown system system /sys/class/leds/button-backlight1/max_brightness
+
chown system system /sys/class/leds/lcd-backlight/max_brightness
start vendor.light-hal-2-0