diff options
author | Stephane Lee <stayfan@google.com> | 2021-07-09 17:13:08 -0700 |
---|---|---|
committer | Stephane Lee <stayfan@google.com> | 2021-07-09 18:10:34 -0700 |
commit | d2d2633f4dbd1f29f5bfbb2dbbd6a8b2fce7d542 (patch) | |
tree | 023270a97679fcea9f4c8f5afffde2988bc51105 | |
parent | c67e3c7f78db1df90a8ba8ed14df5b4701764dfd (diff) | |
download | bonito-d2d2633f4dbd1f29f5bfbb2dbbd6a8b2fce7d542.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: I4d29f0ba585df9fe52a9c95a70c713ffc84343cf
-rw-r--r-- | init.hardware.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc index 3e2cc839..0d88b17d 100644 --- a/init.hardware.rc +++ b/init.hardware.rc @@ -153,6 +153,7 @@ on init && property:vendor.skip.init=0 chown system system /sys/devices/platform/soc/soc:google,charger/bd_trigger_time 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_clear on late-init chown system system /sys/devices/virtual/thermal/tz-by-name/mb-therm-monitor/trip_point_0_temp |