richo/battery — pull request #2 by jhbabon (2013-06-01 19:39:12+00:00)
Title: FIX: Allways show the battery in a Darwin platform.

On OS X, the `battery` script doesn't show anything by itself, it
needs the flags `Charging` or `Dircharging`.

This commit's change make the `battery` command to show the status
when no flag is passed.