init: disable dock-defend am: ed1fa3ae48
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/19377966 Change-Id: I7cd273fd049bb9c9a0714fb5ad23112191d8d88d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
afb34259ab
1 changed files with 3 additions and 0 deletions
|
@ -291,6 +291,9 @@ on init
|
||||||
chown system system /sys/devices/platform/google,cpm/dc_ctl
|
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
|
# 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
|
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
|
# Power Stats HAL
|
||||||
chown system system /dev/bbd_pwrstat
|
chown system system /dev/bbd_pwrstat
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue