mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
add permission for pca charge_stats access
Bug: 235050913 Test: no Permission denied while accessing the file node Signed-off-by: Jack Wu <wjack@google.com> Change-Id: I078990fe143d46f30eb0fdf22985c193dcde240d
This commit is contained in:
@@ -247,7 +247,7 @@ on init
|
||||
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
|
||||
chown system system /sys/class/power_supply/pca94xx-mains/device/chg_stats
|
||||
|
||||
# Wireless Charge stats (write 0)
|
||||
chown system system /sys/class/power_supply/wireless/device/charge_stats
|
||||
|
||||
Reference in New Issue
Block a user