app batmon

Interactive batteries viewer

1 unstable release

0.0.1 May 8, 2024

Apache-2.0

43KB
998 lines

batmon

Latest Version Packaging status dependency status Apache 2.0 licensed

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

It was forked of https://github.com/svartalf/rust-battop.

Screenshot

Features

  • Cross-platform (Linux, MacOS, FreeBSD and DragonflyBSD are supported and Windows is on the way)
  • Supports multiple batteries in case your notebook have them
  • It is free
  • Usually it just works!

batmon 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 batmon

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 batmon 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 batmon -h command to see the additional available options.

Dependencies

~8–15MB
~205K SLoC