summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--light/android.hardware.light@2.0-service.xiaomi_sdm660.rc2
1 files changed, 2 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 ba0f41a..2d2f47c 100644
--- a/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
+++ b/light/android.hardware.light@2.0-service.xiaomi_sdm660.rc
@@ -8,6 +8,8 @@ on boot
chown system system /sys/class/leds/red/ramp_step_ms
chown system system /sys/class/leds/red/start_idx
+ chmod 660 /sys/class/leds/red/blink
+ chmod 660 /sys/class/leds/red/brightness
chmod 660 /sys/class/leds/red/duty_pcts
chmod 660 /sys/class/leds/red/pause_hi
chmod 660 /sys/class/leds/red/pause_lo