How To Install gnome-battery-bench on Fedora 36

In this tutorial we learn how to install gnome-battery-bench in Fedora 36. gnome-battery-bench is Measure power usage in defined scenarios

Introduction

In this tutorial we learn how to install gnome-battery-bench on Fedora 36.

What is gnome-battery-bench

This application is designed for measuring power usage. It does it by recording the reported battery statistics as it replays recorded event logs, and then using that to estimate power consumption and total battery lifetime.

We can use yum or dnf to install gnome-battery-bench on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install gnome-battery-bench.

Install gnome-battery-bench on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install gnome-battery-bench using dnf by running the following command:

sudo dnf -y install gnome-battery-bench

Install gnome-battery-bench on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install gnome-battery-bench using yum by running the following command:

sudo yum -y install gnome-battery-bench

How To Uninstall gnome-battery-bench on Fedora 36

To uninstall only the gnome-battery-bench package we can use the following command:

sudo dnf remove gnome-battery-bench

gnome-battery-bench Package Contents on Fedora 36

/etc/dbus-1/system.d/org.gnome.BatteryBench.Helper.conf
/usr/bin/gbb
/usr/bin/gnome-battery-bench
/usr/lib/.build-id
/usr/lib/.build-id/0d
/usr/lib/.build-id/0d/7c6f3a6320dac4bfd94c1243e2a870efcd347b
/usr/lib/.build-id/16
/usr/lib/.build-id/16/d40c2a4b8bfae6561860244574cddf59475b8b
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/3c15e22830a602f9d3f900e8eb15b38a546143
/usr/libexec/gnome-battery-bench-helper
/usr/share/applications/org.gnome.BatteryBench.desktop
/usr/share/dbus-1/services/org.gnome.BatteryBench.service
/usr/share/dbus-1/system-services/org.gnome.BatteryBench.Helper.service
/usr/share/doc/gnome-battery-bench
/usr/share/doc/gnome-battery-bench/README
/usr/share/gnome-battery-bench
/usr/share/gnome-battery-bench/tests
/usr/share/gnome-battery-bench/tests/idle.batterytest
/usr/share/gnome-battery-bench/tests/idle.loop
/usr/share/gnome-battery-bench/tests/lightduty.batterytest
/usr/share/gnome-battery-bench/tests/lightduty.epilogue
/usr/share/gnome-battery-bench/tests/lightduty.loop
/usr/share/gnome-battery-bench/tests/lightduty.prologue
/usr/share/licenses/gnome-battery-bench
/usr/share/licenses/gnome-battery-bench/COPYING
/usr/share/man/man1/gbb.1.gz
/usr/share/polkit-1/actions/org.gnome.BatteryBench.Helper.policy

References

Summary

In this tutorial we learn how to install gnome-battery-bench on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).