init: add permission for charging_policy access
Bug: 251425963 Test: write charging_policy sysfs node successfully Change-Id: I2ee0788c5983bccd85d6e01aa6ea826b9addac41 Signed-off-by: Jack Wu <wjack@google.com>
This commit is contained in:
parent
9b6a17e071
commit
cadef9557f
1 changed files with 3 additions and 0 deletions
|
@ -254,6 +254,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