~kota/battery

Print battery percentage. Maybe it'll work, maybe it wont!

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~kota/battery
read/write
git@git.sr.ht:~kota/battery

You can also use your local clone with git send-email.

#battery

The battery tool will attempt to read your first battery and print it's charge percentage and status to STDOUT.

#Build and Install

A Makefile is provided for easy installation. You can use it to tweak the install path and compiler flags. If you know of a distribution package get in touch and I will add a note here.

make
sudo make install

#Author

Written and maintained by Dakota Walsh. Up-to-date sources can be found at https://git.sr.ht/~kota/battery/

#Contributing

See CONTRIBUTING.md for some tips! This project is hosted on sourcehut and uses an email based workflow.

You can just send your patches, questions, or anything else to my public inbox.

#License

GNU GPL version 3 only, see LICENSE.