aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.qcom.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 27067c7..29e94ce 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -252,6 +252,10 @@ on boot
chown system /sys/devices/virtual/timed_output/vibrator/vtg_level
on post-fs
+ # MHL driver. To support MHL power off charge,
+ # the insmod must be done before chargemon.
+ insmod /system/lib/modules/mhl_sii8620_8061_drv.ko
+
exec /system/bin/chargemon
write /sys/class/power_supply/battery/enable_stop_charging_at_low_battery 1