mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Set port type to sink in charger mode
Bug: 62212404 Change-Id: Ib45f4877b6a06cb7a549cc45fec6b815dbd28950 Signed-off-by: Yueyao Zhu <yueyao@google.com>
This commit is contained in:
committed by
Thierry Strudel
parent
a99fb8d7ce
commit
dd7d14380c
@@ -28,6 +28,7 @@ on charger
|
||||
write /sys/devices/soc/${ro.boot.bootdevice}/clkscale_enable 1
|
||||
write /sys/devices/soc/${ro.boot.bootdevice}/clkgate_enable 1
|
||||
write /sys/devices/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1
|
||||
write /sys/class/typec/port0/port_type sink
|
||||
write /sys/module/lpm_levels/parameters/sleep_disabled N
|
||||
|
||||
service charger /charger
|
||||
|
||||
Reference in New Issue
Block a user