Add thermal stats permissions for clearing
Bug: 227199213 Test: echo 2 > /dev/thermal/cdev-by-name/dc_icl/cur_state Verify logcat | grep pixelstats. Ensure there are no errors Change-Id: Id4e1cd82291b8981cd6e62e72dd54541b7ceb4db
This commit is contained in:
parent
36c1e08127
commit
945cc1ede4
1 changed files with 3 additions and 0 deletions
|
@ -250,6 +250,9 @@ on init
|
|||
# Wireless Charge stats (write 0)
|
||||
chown system system /sys/class/power_supply/wireless/device/charge_stats
|
||||
|
||||
# Thermal Charge stats (write 0)
|
||||
chown system system /sys/devices/platform/google,charger/thermal_stats
|
||||
|
||||
# Permission for wireless charging
|
||||
chown system system /sys/class/power_supply/wireless/capacity
|
||||
chown system system /sys/class/power_supply/wireless/device/rtx
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue