How to Install and Uninstall battery-stats Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 11,2024

1. Install "battery-stats" package

Please follow the steps below to install battery-stats on Ubuntu 21.04 (Hirsute Hippo)

$ sudo apt update $ sudo apt install battery-stats

2. Uninstall "battery-stats" package

Please follow the guidelines below to uninstall battery-stats on Ubuntu 21.04 (Hirsute Hippo):

$ sudo apt remove battery-stats $ sudo apt autoclean && sudo apt autoremove

3. Information about the battery-stats package on Ubuntu 21.04 (Hirsute Hippo)

Package: battery-stats
Architecture: amd64
Version: 0.5.6-1.1
Priority: extra
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Petter Reinholdtsen
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 93
Depends: logrotate, gzip (>= 1.3.2)
Recommends: python3, python3-matplotlib, libtext-csv-perl, gnuplot (>= 4.0.0)
Filename: pool/universe/b/battery-stats/battery-stats_0.5.6-1.1_amd64.deb
Size: 23732
MD5sum: 84f6220b4e3ea38f3701e142260789e3
SHA1: 531321de33691f48fd7eb3d826bdf0e98ffa638f
SHA256: ad5175a37d6ea46fc7618853951849d4c3928735a008e3635fd18ec0eaa499c2
SHA512: abde7fb5a1f0ccf9acb16f5876dd2a157bade93198d5adfdde0715c0c000bbffad629100436c30dfa01db618cd6e2422508a67806cff23a0c48d66cb38f6e00a
Homepage: https://github.com/petterreinholdtsen/battery-stats/
Description-en: collects statistics about charge of laptop batteries
This package provides battery-stats-collector, a daemon which will periodically
collect statistics about the charge of the batteries present.
.
It also proves a binary called battery-graph, which can be used to generate
qplot graphs about the battery charge/discharge patterns over time
.
Note: This requires APM or ACPI to be enabled and working in your kernel.
Description-md5: 8c636af430644022c42a25f98d230994