Linux battery status checker.

Clone this repo:
  1. 8c564dc travis by Jess Frazelle · 3 months ago master
  2. 3348dab fix by Jess Frazelle · 3 months ago
  3. 49e5152 Update ToC for README.md by toc-me[bot] · 8 months ago
  4. 2bdd2bb toc by Jess Frazelle · 8 months ago
  5. 67314e1 Bump version to v0.2.3 by Jess Frazelle · 11 months ago v0.2.3

Battery

Travis CI GoDoc

Battery status getter written in Go.

Table of Contents

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.