init: enable dock-defend by default am: 0ac69fbfc0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/20717026 Change-Id: I7f1706006b3c6714af4b14bd334dc8f9b10938e3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
c5620b07aa
1 changed files with 0 additions and 2 deletions
|
@ -287,9 +287,7 @@ 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
|
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