mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
gs201: use CPU4 in charger mode
For charging efficiency certification swap CPU6 with CPU4 while in off-mode charging. Bug: 260019919 Test: measure power consumption in charger mode Change-Id: Iffccde0c3161e3fa4768d5f7c7ec2212dbab1a73 Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
@@ -671,12 +671,12 @@ on property:init.svc.vendor.charger=running
|
||||
setprop sys.usb.configfs 1
|
||||
setprop vendor.setup.power 1
|
||||
|
||||
# keep one little and one big
|
||||
# keep one little and one mid core
|
||||
write /sys/devices/system/cpu/cpu1/online 0
|
||||
write /sys/devices/system/cpu/cpu2/online 0
|
||||
write /sys/devices/system/cpu/cpu3/online 0
|
||||
write /sys/devices/system/cpu/cpu4/online 0
|
||||
write /sys/devices/system/cpu/cpu5/online 0
|
||||
write /sys/devices/system/cpu/cpu6/online 0
|
||||
write /sys/devices/system/cpu/cpu7/online 0
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
|
||||
Reference in New Issue
Block a user