mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
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:
parent
0edf1634b4
commit
37e65e2af9
|
@ -61,6 +61,10 @@ on late-init
|
|||
# mount different fs start
|
||||
|
||||
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
|
||||
chown system system /dev/spm
|
||||
start spm_script
|
||||
|
|
Loading…
Reference in a new issue