dump_power: add maxfg_history permission

allow to dump secondary battery history for dual battery projects

Bug: 333952062
Change-Id: Id2732c04bdeb7c955e67a427e4d41c224943983a
Signed-off-by: Jenny Ho <hsiufangho@google.com>
This commit is contained in:
Jenny Ho 2024-04-12 07:10:00 +08:00
parent da3aed8ec3
commit 97762978d9

View file

@ -11,6 +11,9 @@ on init
chown system system /dev/battery_history
chmod 0644 /dev/battery_history
chown system system /dev/maxfg_history
chmod 0644 /dev/maxfg_history
# Charge stats (write 0)
chown system system /sys/class/power_supply/battery/charge_stats