mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
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:
parent
5d90599f1a
commit
47a350f43e
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue