gnome-power-statistics command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gnome-power-statistics: command not found
or when using sudo you get the following error message
sudo: gnome-power-statistics: command not found
Solutions to gnome-power-statistics: command not found
How To Fix gnome-power-statistics: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gnome-power-statistics is provided by gnome-power-manager package.
gnome-power-manager is:
GNOME Power Manager is a session daemon for the GNOME desktop that takes care of system or desktop events related to power, and triggers actions accordingly. Its philosophy is to completely hide these complex tasks and only show some settings important to the user.
GNOME power manager displays and manages battery status, power plug events, display brightness, CPU, graphics card and hard disk drive power saving, and can trigger suspend-to-RAM, hibernate or shutdown events, all integrated to other components of the GNOME desktop.
To fix this problem, we can install more using the command below.
sudo apt-get -y install gnome-power-manager
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install gnome-power-manager.
sudo apt -y install gnome-power-manager
Or if you have aptitude installed you can use the following command.
sudo aptitude install gnome-power-manager
Summary
In this tutorial we learn how to fix gnome-power-statistics command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.