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 <malchev@google.com>
diff --git a/init.mako.rc b/init.mako.rc
index 1762d60..ed56979 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -257,6 +257,9 @@
     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