/batty

Battery API in Go

Primary LanguageGoMIT LicenseMIT

batty

batty is a Go library and command-line client that can be used for reading batery status.

Based on chapter 10 of the book The Power of Go: Tools

Installing the cli

go install github.com/waltervargas/batty/cmd/batty@latest

Usage

> batty