init: disable dock-defend in charger mode
Need to meet energy certification test requirement which needs to be able to charge FULL. Bug: 235437635 Test: can charge to full on dock in charger mode Signed-off-by: Jack Wu <wjack@google.com> Change-Id: Ifc99a3c48c129c68bf69a9832c0df0cd14b796e0
This commit is contained in:
parent
4bdbbe6d70
commit
1cb6abcdc6
1 changed files with 2 additions and 2 deletions
|
@ -725,8 +725,6 @@ on property:sys.boot_completed=1
|
|||
|
||||
# Enable UFS powersaving
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
# Disable dock-defend in Off Mode Charger
|
||||
write /sys/devices/platform/google,charger/dd_state -1
|
||||
|
||||
# Reset DDR frequency
|
||||
write /sys/devices/platform/17000010.devfreq_mif/devfreq/17000010.devfreq_mif/exynos_data/cancel_boot_freq 1
|
||||
|
@ -1017,6 +1015,8 @@ on property:persist.vendor.softmaxfreq.cl2=*
|
|||
on property:ro.boot.mode=charger && property:init.svc.vendor.charger=running
|
||||
# Enable UFS powersaving in Off Mode Charger
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
# Disable dock-defend in Off Mode Charger
|
||||
write /sys/devices/platform/google,charger/dd_state -1
|
||||
|
||||
# Cpuset experiment
|
||||
on property:persist.device_config.vendor_system_native.top-app_cpuset=*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue