init.gs101.rc: change TRICKLE/TEMP/DWELL permission to system
For dump these informations into bugreports and debugging Bug: 186872139 Signed-off-by: Jenny Ho <hsiufangho@google.com> Change-Id: I5e4efd83b1ae111a423cb13e1c35f31766f98252
This commit is contained in:
parent
c20a7c9603
commit
c1c9613145
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