Power Management Overhead
Upower (User-space Power Management) is an abstraction layer and daemon in Ubuntu (and most Linux desktop environments) that provides graphical applications with information about the system’s power sources. It monitors laptop battery levels, manages sleep/hibernate states, and detects when a charger is plugged in or removed. It is essential for laptops and mobile devices to display battery icons in the taskbar.
However, if you are running a desktop PC that is permanently plugged into a wall outlet, or a headless server without a battery or a graphical interface, the upower daemon provides very little value. It continually polls for battery status that doesn’t exist. Disabling it on a stationary desktop or server can free up a small amount of memory and reduce unnecessary background polling.
How to Disable the Upower Daemon
You can stop and disable the service using standard systemd commands.
- Open your Ubuntu Terminal (or connect via SSH).
- Stop the currently running service:
sudo systemctl stop upower.service
- Disable the service to prevent it from starting automatically at boot:
sudo systemctl disable upower.service
- (Optional) Mask the service to ensure no other graphical desktop component attempts to start it as a dependency:
sudo systemctl mask upower.service
The power management daemon is now disabled. (Note: Do not do this on a laptop, as you will lose all battery indicators, power-saving profiles, and the ability to suspend when the lid is closed).