http://askubuntu.com/questions/69556/how-to-check-battery-status-using-terminal
Anonymous
Think hierarchically.