Linux battery status checker.

Clone this repo:
  1. b8d547f Bump version to v0.2.2 by Jess Frazelle · 5 weeks ago master v0.2.2
  2. 4fe8fba new cli pkg by Jess Frazelle · 5 weeks ago
  3. 388ddf0 update generated files by Jess Frazelle · 5 weeks ago
  4. 8e4fcfb Bump version to v0.2.1 by Jess Frazelle · 5 weeks ago v0.2.1
  5. c6a8220 update deps by Jess Frazelle · 5 weeks ago

Battery

Travis CI GoDoc

Battery status getter written in Go.

Installation

Binaries

For installation instructions from binaries please visit the Releases Page.

Via Go

$ go get github.com/jessfraz/battery

Usage

$ battery -h
battery -  Linux battery status checker.

Usage: battery <command>

Flags:

  -d      enable debug logging (default: false)
  --name  name of your battery (default: BAT0)

Commands:

  version  Show the version information.