add permission for pca charge_stats access am: 29057d5010
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15359875 Change-Id: I3b17c5c5b9bff2edab5982938176d7831f3ae42f
This commit is contained in:
commit
fddbb1cb32
1 changed files with 3 additions and 0 deletions
|
@ -211,6 +211,9 @@ on init
|
|||
# Charge stats (write 0)
|
||||
chown system system /sys/class/power_supply/battery/charge_stats
|
||||
|
||||
# Pca Charge stats (write 0)
|
||||
chown system system /sys/class/power_supply/pca9468-mains/device/chg_stats
|
||||
|
||||
# Wireless Charge stats (write 0)
|
||||
chown system system /sys/class/power_supply/wireless/device/charge_stats
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue