Help us shape the future of Go! Take the 2026 Go Developer Survey

battery

command module
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 14, 2018 License: MIT Imports: 10 Imported by: 0

README

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.1
 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL