How to Install xbattbar in Ubuntu 18.04



Install xbattbar by entering the following commands in the terminal:

sudo apt update
sudo apt install xbattbar

Description:

Display battery status in X11

Xbattbar displays the current (laptop) battery status in the X window environment. Battery status is obtained through the APM interface. . The battery indicator of this program is very simple: a simple bar at the top/bottom of your display. With its color, it indicates the AC-line status (plugged in or off-line), and battery charging/remaining level. Also, if the mouse cursor enters the indicator window, a popup diagnosis window comes up in the center of your display showing the current AC line status and battery level. . This package supports ACPI and APM checks for battery status.

Version: 1.4.8-1build1

Section: universe/x11