Linux battery status checker.

Clone this repo:

Branches

  1. e7252e2 update generated project files by Jess Frazelle · 4 weeks ago master
  2. 3079dcc update deps by Jess Frazelle · 9 weeks ago
  3. 7fbbfed fix travis by Jess Frazelle · 9 weeks ago
  4. a0ac28a Bump version to v0.2.0 by Jess Frazelle · 4 months ago v0.2.0
  5. 6ab099a update vendor by Jess Frazelle · 4 months ago

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