Battery Info

Battery Info is a desktop application to display health information about the notebook battery.

Screenshots

Description

Application displays current battery health as well as some general information about the battery.

Install

Please install this application using flatpak. Refer here to setup flatpak if necessary.

Build

First install the requirements.

Checkout the source code from github.

$ git clone https://github.com/her01n/battery-info

You can now build the application, run it locally or install it.

$ make mos
$ ./battery-info
$ sudo make install

For unit testing, first install hdt test library. Then run hdt or alternatively make in the source directory.

This is a guile program. Information is collected using UPower DBus interface, with the gdbus client from Glib library. Native library is accessed using guile's foreign interface. User interface is displayed using Adwaita and Gtk via g-golf library.