mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-26 15:36: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
dc68943618
commit
8b3360aade
|
@ -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