mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 18:07:31 +00:00
rosemary: init: Fix backlight on charger
Change-Id: I10115623f79dcf9ebe6904c9f736885eab0b3233
This commit is contained in:
committed by
Matsvei Niaverau
parent
9708fd333b
commit
0750d98980
@@ -110,6 +110,10 @@ on charger
|
||||
chmod 0664 /sys/class/power_supply/usb/pd_authentication
|
||||
chmod 0664 /sys/class/power_supply/bms/authentic
|
||||
|
||||
# Turn backlight on and switch to backlight trigger
|
||||
write /sys/class/leds/lcd-backlight/brightness "1000"
|
||||
write /sys/class/leds/lcd-backlight/trigger "backlight"
|
||||
|
||||
# Stop bootprof
|
||||
write /proc/bootprof "0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user