init: add permission for first_usage_date access am: 8f2e92816a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/22349667 Change-Id: I0356d869d9cbeb07a57d2e510ed06defc99714a5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
2a936a7686
1 changed files with 3 additions and 0 deletions
|
@ -254,6 +254,9 @@ on init
|
|||
# Charging policy
|
||||
chown system system /sys/class/power_supply/battery/charging_policy
|
||||
|
||||
# BatteryHealthData
|
||||
chown system system /sys/class/power_supply/battery/first_usage_date
|
||||
|
||||
# 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