LG8n: init: Fix backlight on charger

Change-Id: I10115623f79dcf9ebe6904c9f736885eab0b3233
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Kshitij Gupta 2020-08-22 18:32:31 +00:00 committed by Shirayuki39
parent dc68943618
commit 8b3360aade

View file

@ -61,6 +61,10 @@ on late-init
# mount different fs start # mount different fs start
on charger on charger
# Turn backlight on and switch to backlight trigger
write /sys/class/leds/lcd-backlight/brightness "1000"
write /sys/class/leds/lcd-backlight/trigger "backlight"
chmod 0660 /dev/spm chmod 0660 /dev/spm
chown system system /dev/spm chown system system /dev/spm
start spm_script start spm_script