init.gs101.rc: change TRICKLE/TEMP/DWELL permission to system am: c1c9613145
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14419728 Change-Id: Id2c35ee1e0452186b9e39222d6e20052d0945480
This commit is contained in:
commit
b482bf4125
1 changed files with 21 additions and 0 deletions
|
@ -171,6 +171,27 @@ on init
|
||||||
# Adaptive charge
|
# Adaptive charge
|
||||||
chown system system /sys/class/power_supply/battery/charge_deadline
|
chown system system /sys/class/power_supply/battery/charge_deadline
|
||||||
|
|
||||||
|
# Battery Defender
|
||||||
|
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_cnt
|
||||||
|
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_dry_run
|
||||||
|
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_enable
|
||||||
|
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_recharge_soc
|
||||||
|
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_reset_sec
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_drainto_soc
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_recharge_soc
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_recharge_voltage
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_resume_abs_temp
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_resume_soc
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_resume_temp
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_resume_time
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_temp_dry_run
|
||||||
|
chown system system /sys/devices/platform/google,charger/bd_temp_enable
|
||||||
|
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_voltage
|
||||||
|
chown system system /sys/devices/platform/google,charger/charge_start_level
|
||||||
|
chown system system /sys/devices/platform/google,charger/charge_stop_level
|
||||||
|
|
||||||
# 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