747fa28ad9
The otherwise unused charging-LED is used as notification light with configurable pulse-widths. Change-Id: Ic6c7cf993b8e83793b191d24cff65320c68d40d0
16 lines
646 B
Text
16 lines
646 B
Text
service vendor.light-default /vendor/bin/hw/android.hardware.lights-service.bengal
|
|
class hal
|
|
user system
|
|
group system
|
|
shutdown critical
|
|
|
|
on boot
|
|
# Change ownership and permission for charging led
|
|
chown system system /sys/class/leds/charging/breath
|
|
chown system system /sys/class/leds/charging/brightness
|
|
chown system system /sys/class/leds/charging/delay_off
|
|
chown system system /sys/class/leds/charging/delay_on
|
|
chmod 0640 /sys/class/leds/charging/breath
|
|
chmod 0640 /sys/class/leds/charging/brightness
|
|
chmod 0640 /sys/class/leds/charging/delay_off
|
|
chmod 0640 /sys/class/leds/charging/delay_on
|