svartalf / rust-battop

Interactive batteries viewer
https://crates.io/crates/battop
Apache License 2.0
470 stars 20 forks source link
battery battery-monitor dragonflybsd freebsd linux macos terminal tui

battop

Latest Version Continuous integration Packaging status dependency status Apache 2.0 OR MIT licensed

battop is an interactive viewer, similar to top, htop and other *top utilities, but about the batteries installed in your notebook.

Screenshot

Features

battop is backed by a Rust crate battery which provides unified cross-platform information about system batteries.\ Check it out, if you want to gather the same information for your application!

Installation

Packaging status

Arch linux

Install package from AUR with your favorite AUR helper:

$ yay -S battop

From sources

Clone the repo and run

$ cargo build --release

Other

Prebuilt binaries for Linux, FreeBSD and MacOS can be downloaded from the GitHub releases page.

Usage

Simply running the battop command in your terminal should do the thing.

Left and right arrows can be used to switch between different system batteries (if available).

Run the battop -h command to see the additional available options.

License

battop is double-released under the Apache License, Version 2.0 or the MIT License.

Donations

If you appreciate my work and want to support me, you can do it here