Battery Icon Gone in Linux System Tray? Fix It Fast
Missing battery icon on your Linux laptop? Start with the quick restart of the panel, then check the settings, and finally reinstall the indicator. Most fixes take under 5 minutes.
Quick Fix (30 seconds) – Restart the Panel
This is the first thing I try when a tray icon vanishes. It works more often than you'd think. The panel itself sometimes just stops loading certain indicators. Restarting it forces everything to reload fresh.
- Open a terminal. Press Ctrl+Alt+T on most distros.
- Type this command and hit Enter:
killall gnome-panel # for GNOME desktops (Ubuntu, Fedora, Debian)
Wait 5 seconds. The panel should restart automatically. If you're on KDE Plasma, use this instead:
killall plasmashell && kstart5 plasmashell
What you should see: After the command runs, the screen might flicker for a second. Then the panel reappears with all icons. If the battery icon shows up now, you're done. No need to read further.
If nothing happens, or the command gives an error saying something like plasmashell: no process found, don't worry. Move to the next fix.
Moderate Fix (5 minutes) – Check Power Manager Settings
Sometimes the icon is hidden by the system's own settings. Each desktop environment has a different way to control tray icons. I'll cover the two most common ones: GNOME and KDE.
For GNOME (Ubuntu, Fedora Workstation, Debian)
- Open Settings from the app menu or by running
gnome-control-centerin the terminal. - Click Power in the sidebar.
- Look for Show Battery Percentage. Toggle it on. This often forces the icon to appear even if it was hidden.
- Still missing? Close Settings. Then run this command in a terminal:
gsettings set org.gnome.desktop.interface show-battery-percentage true
What you should see: After toggling that setting, the battery icon with percentage should appear in the top right corner immediately. If not, try logging out and back in. Sometimes GNOME needs a fresh session to pick up the change.
For KDE Plasma (Kubuntu, Manjaro KDE)
- Right-click anywhere on the panel (the bar at the bottom).
- Select Edit Panel.
- Click the Add Widget button that appears (it looks like a plus sign or a small icon).
- Search for Battery or Power Management.
- Drag the Battery and Brightness widget onto the panel where you want it.
- Click Done to exit edit mode.
What you should see: The battery icon should now appear where you placed it. If it still doesn't show, check if the widget is hidden behind other icons. Drag it to a less crowded spot.
Real-world trigger: This problem often happens after a system update. I've seen it on Ubuntu 22.04 after the GNOME 42 update. The update resets some settings, and the battery indicator gets turned off.
Advanced Fix (15+ minutes) – Reinstall the Indicator Package
If the quick and moderate fixes didn't work, the core package that provides the battery icon might be broken or missing. This happens if you accidentally uninstalled something, or an update went wrong. We'll fix it by reinstalling the power indicator software.
First, figure out which desktop you're running. Open a terminal and run:
echo $XDG_CURRENT_DESKTOP
This tells you what desktop environment is active. Common outputs: GNOME, KDE, XFCE, Cinnamon.
Reinstall indicator for GNOME
sudo apt update
sudo apt install --reinstall gnome-power-manager indicator-power
On Fedora or RHEL-based distros, use dnf instead:
sudo dnf reinstall gnome-power-manager
Reinstall for KDE
sudo apt update
sudo apt install --reinstall plasma-widgets-workspace powerdevil
For Fedora KDE:
sudo dnf reinstall plasma-widgets-workspace powerdevil
Reinstall for XFCE
sudo apt update
sudo apt install --reinstall xfce4-power-manager xfce4-power-manager-plugins
Reinstall for Cinnamon (Linux Mint)
sudo apt update
sudo apt install --reinstall cinnamon-control-center cinnamon-settings-daemon
After reinstalling, reboot your laptop. Not just log out – a full reboot. That ensures all services start fresh.
What you should see: After the reboot, the battery icon should be back in the system tray. If it's still missing, check if the service is running:
systemctl --user status powerdevil.service # for KDE
systemctl --user status xfce4-power-manager # for XFCE
If the service shows inactive or failed, start it manually:
systemctl --user start powerdevil.service
One more thing to try: Some Linux distros ship with the battery indicator turned off by default for certain hardware. Check your BIOS settings. On some Dell and Lenovo laptops, there's a setting for Battery Charge Threshold that, when enabled, can confuse the power manager and hide the icon. Disable that threshold in BIOS, save, and reboot. I've seen this fix it on a Dell XPS 13 running Fedora 38.
If you've tried everything here and the icon still won't show, it might be a bug in your desktop environment version. Check the bug tracker for your distro. For example, Ubuntu has a known bug in GNOME 42 that hides the battery icon on some laptops. The workaround is to install the gnome-shell-extension-appindicator package and enable it in the Extensions app. That's a separate fix for another day.
Shortcut summary: Restart the panel first (30 seconds). Check power settings second (5 minutes). Reinstall the indicator package third (15 minutes). 9 out of 10 times, one of these three fixes works.
Was this solution helpful?