Distribute ramp duration equally to both on and off time, use more ramp steps (16 instead of 8) and lower green brightness to better match brightness of red and blue (green LED is much brighter than the other two). Change-Id: I48d94b4020515a5cbb15486f8d44dd151b475ab0
12 lines
473 B
Text
12 lines
473 B
Text
on boot
|
|
chown system system /sys/class/leds/red/start_idx
|
|
chown system system /sys/class/leds/green/start_idx
|
|
chown system system /sys/class/leds/blue/start_idx
|
|
chown system system /sys/class/leds/red/lut_flags
|
|
chown system system /sys/class/leds/green/lut_flags
|
|
chown system system /sys/class/leds/blue/lut_flags
|
|
|
|
service light-hal-2-0 /system/bin/hw/android.hardware.light@2.0-service.oneplus_sdm845
|
|
class hal
|
|
user system
|
|
group system
|