init: add permission for charging_policy access
Bug: 251425963 Test: write charging_policy sysfs node successfully Change-Id: I3f387cbd80aa9bdcb483d0c6435cb382a7a847c7 Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
parent
c3cd098631
commit
c0cf226818
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ on init
|
|||
# Adaptive charge
|
||||
chown system system /sys/class/power_supply/battery/charge_deadline
|
||||
|
||||
# Charging policy
|
||||
chown system system /sys/class/power_supply/battery/charging_policy
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue