mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-02 02:12:43 +00:00
Change ownership of charge_stats to system for clearing
Test: Tested with tablet with dock. Userspace is able to read and clear sysfs node successfully Bug: 218802317 Signed-off-by: Prasanna Prapancham <prapancham@google.com> Change-Id: Ice5ec79d912f154203a548c6c40470952d806289
This commit is contained in:
committed by
TreeHugger Robot
parent
f7ffd91480
commit
78841a5be9
@@ -254,6 +254,9 @@ on init
|
||||
# Thermal Charge stats (write 0)
|
||||
chown system system /sys/devices/platform/google,charger/thermal_stats
|
||||
|
||||
# Google Charger stats (write 0)
|
||||
chown system system /sys/devices/platform/google,charger/charge_stats
|
||||
|
||||
# Permission for wireless charging fan
|
||||
chown system system /sys/devices/platform/google,charger/thermal_dc_fan_alarm
|
||||
chown system system /sys/devices/platform/google,cpm/thermal_mdis_fan_alarm
|
||||
|
||||
Reference in New Issue
Block a user