summaryrefslogtreecommitdiff
path: root/init.hardware.rc
diff options
context:
space:
mode:
Diffstat (limited to 'init.hardware.rc')
-rw-r--r--init.hardware.rc3
1 files changed, 3 insertions, 0 deletions
diff --git a/init.hardware.rc b/init.hardware.rc
index 9dac6361..32e1283e 100644
--- a/init.hardware.rc
+++ b/init.hardware.rc
@@ -139,6 +139,9 @@ on init && property:vendor.skip.init=0
# Property used by vintf for sku specific manifests
setprop ro.boot.product.hardware.sku ${ro.boot.hardware.sku}
+ # Adaptive charge
+ chown system system /sys/class/power_supply/battery/charge_deadline
+
# 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