Include exit codes.

Different battery statuses now produce their own exit codes. Useful if
you want more control over how to display the output. For example
perhaps you don't want to display the output at all if the batter is
fully charged. You can just check the exit status instead of having to
parse the output.

If you just want to check for success, then check for exit code != 1.