summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Lee <stayfan@google.com>2021-07-09 17:16:06 -0700
committerStephane Lee <stayfan@google.com>2021-07-12 13:27:54 -0700
commitc731854762c3670884015b38ca9647fb50064108 (patch)
tree59bc107a198e846db99302d77b543b9bac2c9901
parentc23cf51efea52a356239173fb132d5162082efdc (diff)
downloadredbull-c731854762c3670884015b38ca9647fb50064108.tar.gz
Add Temp Defend clear to server configurable parameters; ensure sysfs node is writable
Test: Ensure there are no errors on logcat | grep google_battery@ Bug: 192921867 Change-Id: I3ae6f514b8e3685790dcbe354358803152f5137d
-rw-r--r--init.hardware.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index f7cc928a..e7cc3ffa 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -157,6 +157,7 @@ on init && property:vendor.skip.init=0
chown system system /sys/devices/platform/soc/soc:google,charger/bd_trigger_voltage
chown system system /sys/devices/platform/soc/soc:google,charger/bd_temp_enable
chown system system /sys/devices/platform/soc/soc:google,charger/bd_temp_dry_run
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_clear
chown system system /sys/devices/platform/soc/soc:google,battery/power_supply/battery/bd_trickle_enable
chown system system /sys/devices/platform/soc/soc:google,battery/power_supply/battery/bd_trickle_recharge_soc
chown system system /sys/devices/platform/soc/soc:google,battery/power_supply/battery/bd_trickle_cnt