/battery

Linux battery status checker.

Primary LanguageMakefileMIT LicenseMIT

Battery

make-all make-image 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.