Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.08 KB

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