init: enable dock-defend by default am: f5f9239424
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/20716912 Change-Id: I09132239b942310e4e1fd4485bccb3d2f83cf028 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
ed6a5ea035
1 changed files with 0 additions and 2 deletions
|
@ -310,9 +310,7 @@ on init
|
|||
chown system system /sys/devices/platform/google,cpm/dc_ctl
|
||||
# Important to include dd_state as it's used in battery defender in charger mode
|
||||
chown system system /sys/devices/platform/google,charger/dd_state
|
||||
# Disable dock-defend by default
|
||||
chown system system /sys/devices/platform/google,charger/dd_settings
|
||||
write /sys/devices/platform/google,charger/dd_settings -1
|
||||
|
||||
# Power Stats HAL
|
||||
chown system system /dev/bbd_pwrstat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue