waltervargas / batty

Battery API in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Battery API in Go

License:MIT License


Languages

Language:Go 93.8%Language:Makefile 6.2%