Command line battery monitor?
Is there a way I can access how much battery has been used up (or even better, how much is left at current useage levels) through the command line? More specifically, in my /proc/acpi/battery/BAT1/state I get stuff like:
present: yes
capacity state: ok
charging state: discharging
present rate: 16789 mW
remaining capacity: 24660 mWh
present voltage: 11193 mV
Can I glean the information from that? Is it a function of remaining capacity and present rate? Thanks.
|