choongryeol.lee  committed e1d91b1

mako: reduce the power consumption in off-mode charging

In off-mode charging, we don't need to turn on CPU1 to CPU3.
So we turn off CPU1 to CPU3 in off-mode charging. By doing this
we can save 60mA.

Bug: 7429504

Change-Id: Ie5d58b6258b7b2d084674fa670f3cc41639a6fd2
Signed-off-by: Iliyan Malchev <>

  • Participants
  • Parent commits ad4941c
  • Tags android-4.2.1_r1.2

Comments (0)

Files changed (1)

File init.mako.rc

     write /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq 384000
     write /sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq 384000
     write /sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq 384000
+    write /sys/devices/system/cpu/cpu1/online 0
+    write /sys/devices/system/cpu/cpu2/online 0
+    write /sys/devices/system/cpu/cpu3/online 0
 on property:init.svc.wpa_supplicant=stopped
     stop dhcpcd