An excellent Battery Status for your Ubuntu Laptop (not exclusively)

I recently revived one of my older MacBooks ( an early 2013 13" pro ) by installing Ubuntu 20.04 to it.

We are dealing with an older laptop, still running on its original battery; because of that, I decided to look for a terminal program that would provide me with the kind of information I like to get from a terminal app, and with the "sci-fi" look I am keen to have as much as possible (but still being lightweight )

I found this tiny jewel to add to my "top" commands collection (btop, htop, duf, etc.). https://github.com/svartalf/rust-battop

You can visit the releases page (https://github.com/svartalf/rust-battop/releases) and get the correct version.

I am running 64bit Ubuntu on an intel mac from 2013, so I picked up this one: https://github.com/svartalf/rust-battop/releases/download/v0.2.4/battop-v0.2.4-x86_64-unknown-linux-gnu.

All you have to do afterwards is to install the binary in the right place. I will leave you here my example:

# sudo install ./battop-* /usr/local/sbin/battopc

Then just run it by typing the command "battop". Here is the result:

battop running on Ubuntu

Enjoy :)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joao Silva

Joao Silva

Passion for Solving problems and help designing solutions, IT Management, Systems Administration and drive Teams to Success.