Battery status getter written in Go.
$ go get github.com/jessfraz/battery
$ battery -h
_ _ _
| |__ __ _| |_| |_ ___ _ __ _ _
| '_ \ / _` | __| __/ _ \ '__| | | |
| |_) | (_| | |_| || __/ | | |_| |
|_.__/ \__,_|\__|\__\___|_| \__, |
|___/
Linux battery status checker.
Version: v0.2.0
Build: 00bf69e
-d run in debug mode
-name string
name of your battery (default "BAT0")
-v print version and exit (shorthand)
-version
print version and exit