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:
parent
da3aed8ec3
commit
97762978d9
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue