Showing Battery Status on Ubuntu 12.04

Hello people, so I often found my netbook doesn’t show the battery status at the title bar. So here’s the only command that you need to copy and past into the terminal.

cat /proc/acpi/battery/BAT0/state

After you hit enter, you will get something like below on the terminal and the battery will show up!!

present:                 yes
capacity state:          ok
charging state:          discharging
present rate:            1013 mA
remaining capacity:      3324 mAh
present voltage:         11652 mV

Note:
Ctr+Shift+V is the shortcut for pasting in the terminal~

Cheers!

Advertisements