msm8226: Enable idle power collapse in charge mode

No reason to disable this, stick to default. Also disable thermal
driver before setting low power modes for sanity's sake.

Change-Id: I54457176494b295ca2e78c8ce306fa1838350962
This commit is contained in:
Zhao Wei Liew 2015-12-02 18:43:55 +08:00
parent 5d90599f1a
commit 47a350f43e

View file

@ -41,6 +41,8 @@ on enable-low-power
write /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled 1
write /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled 1
write /sys/module/msm_thermal/core_control/enabled 0
write /sys/devices/system/cpu/cpu1/online 1
write /sys/devices/system/cpu/cpu2/online 1
write /sys/devices/system/cpu/cpu3/online 1
@ -72,7 +74,7 @@ on charger
write /sys/module/msm_pm/modes/cpu1/standalone_power_collapse/idle_enabled 1
write /sys/module/msm_pm/modes/cpu2/standalone_power_collapse/idle_enabled 1
write /sys/module/msm_pm/modes/cpu3/standalone_power_collapse/idle_enabled 1
write /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled 0
write /sys/module/msm_pm/modes/cpu0/power_collapse/idle_enabled 1
write /sys/module/msm_thermal/core_control/enabled 0