#tui #battery #linux #macos

app battop

Interactive batteries viewer

5 releases

0.2.4 Jun 4, 2019
0.2.3 May 30, 2019
0.2.1 Mar 13, 2019
0.1.5 Mar 11, 2019

#279 in Operating systems

Download history 5/week @ 2023-07-26 13/week @ 2023-08-02 11/week @ 2023-08-09 11/week @ 2023-08-16 10/week @ 2023-08-23 17/week @ 2023-08-30 27/week @ 2023-09-06 19/week @ 2023-09-13 19/week @ 2023-09-20 19/week @ 2023-09-27 7/week @ 2023-10-04 16/week @ 2023-10-11 17/week @ 2023-10-18 23/week @ 2023-10-25 11/week @ 2023-11-01 6/week @ 2023-11-08

60 downloads per month

Apache-2.0 OR MIT

881 lines


Latest Version Build 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.



  • 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!

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!


Arch linux

Install package from AUR with your favorite AUR helper:

$ yay -S battop

From sources

Clone the repo and run

$ cargo build --release


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


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.


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


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


~133K SLoC