4 lines
176 B
Bash
4 lines
176 B
Bash
|
pwrstat -status | grep -E 'State|Power Supply by|Utility Voltage|Output Voltage|Battery Capacity|Remaining Runtime|Load|Line Interaction|Test Result|Last Power Event' > ups
|
||
|
|
||
|
|