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:
Yueyao Zhu
2017-07-25 14:57:25 -07:00
committed by Thierry Strudel
parent a99fb8d7ce
commit dd7d14380c

View File

@@ -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