mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 05:38:17 +00:00
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: I72f3f9d5fd39c18bba8d4bdb023c7b9eecf6a691
This commit is contained in:
@@ -252,6 +252,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
|
||||
|
||||
Reference in New Issue
Block a user