added battery support for OSX

Added support for displaying `battery` segment on OS X using the `pmset -g batt` command.