http://askubuntu.com/questions/69556/how-to-check-battery-status-using-terminal
Anonymous
Use shell scripts to increase leverage and portability.