Add DC Charging/Temp defend clear to server configurable parameters; ensure sysfs node is writable
Test: Ensure there are no errors on logcat | grep google_battery@ Bug: 183772980 Bug: 192921867 Change-Id: Id55a6a1670cc0c46b787baec16efec8c0bb4521d
This commit is contained in:
parent
baa3bf3801
commit
113bb9059a
1 changed files with 2 additions and 0 deletions
|
@ -209,8 +209,10 @@ on init
|
||||||
chown system system /sys/devices/platform/google,charger/bd_trigger_temp
|
chown system system /sys/devices/platform/google,charger/bd_trigger_temp
|
||||||
chown system system /sys/devices/platform/google,charger/bd_trigger_time
|
chown system system /sys/devices/platform/google,charger/bd_trigger_time
|
||||||
chown system system /sys/devices/platform/google,charger/bd_trigger_voltage
|
chown system system /sys/devices/platform/google,charger/bd_trigger_voltage
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_clear
|
||||||
chown system system /sys/devices/platform/google,charger/charge_start_level
|
chown system system /sys/devices/platform/google,charger/charge_start_level
|
||||||
chown system system /sys/devices/platform/google,charger/charge_stop_level
|
chown system system /sys/devices/platform/google,charger/charge_stop_level
|
||||||
|
chown system system /sys/devices/platform/google,cpm/dc_ctl
|
||||||
|
|
||||||
# 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