summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
authorTed Lin <tedlin@google.com>2020-12-02 20:17:11 +0800
committerYuan Tai Lin <tedlin@google.com>2020-12-10 04:22:17 +0000
commitb5666d19a706dd862e6fee93f9cab5a0cf89cafb (patch)
tree9a9bc1547781337c46d82e726c97525031e22fc7 /init.hardware.rc
parent3d6237ea78ff34baf6780ded27683329dc5e8c43 (diff)
dumpstate: Support dump TEMP-DEFEND/DWELL-DEFEND setting
Bug:175172404 Test: adb bugreport and check pass Signed-off-by: Ted Lin <tedlin@google.com> Change-Id: I73bf180dd81d8f826818dae2049ff6776e47ab4a (cherry picked from commit 0d39421ad62d73c07f8d4ab7d76f6d696af0dc28)
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index f351d478..f73cbb1d 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -145,6 +145,17 @@ on init && property:vendor.skip.init=0
# Battery Defender
chown system system /sys/devices/platform/soc/soc:google,charger/charge_stop_level
chown system system /sys/devices/platform/soc/soc:google,charger/charge_start_level
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_drainto_soc
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_recharge_soc
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_recharge_voltage
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_resume_abs_temp
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_resume_soc
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_resume_temp
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_resume_time
+ chown system system /sys/devices/platform/soc/soc:google,charger/bd_trigger_temp
+ 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
on late-init
chown system system /sys/devices/virtual/thermal/tz-by-name/mb-therm-monitor/trip_point_0_temp