Linux battery status checker.

Clone this repo:

Branches

  1. 3079dcc update deps by Jess Frazelle · 6 days ago master
  2. 7fbbfed fix travis by Jess Frazelle · 6 days ago
  3. a0ac28a Bump version to v0.2.0 by Jess Frazelle · 8 weeks ago v0.2.0
  4. 6ab099a update vendor by Jess Frazelle · 8 weeks ago
  5. aecc967 Bump version to v0.1.0 by Jess Frazelle · 8 weeks ago v0.1.0

Battery

Travis CI

Battery status getter written in Go.

Installation

Binaries

Via Go

$ go get github.com/jessfraz/battery

Usage

$ 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