Quick Tip: Display Battery Percentage in Ubuntu 20.04 Top Panel

Last updated: July 30, 2020

gnome shell

This quick tip shows how to display the battery percentage in the top panel system tray area in Ubuntu 20.04 with the default Gnome desktop.

Single command to show battery percentage:

For those familiar with Linux commands, this can be done via a single command.

Press Ctrl+Alt+T to open terminal, copy the command (Ctrl+C) and paste (Ctrl+Shift+V) into terminal and hit run:

gsettings set org.gnome.desktop.interface show-battery-percentage true

Using graphical tool: Gnome Tweaks

Search for and install Gnome Tweaks from Ubuntu Software.

or install Gnome Tweaks by running command in terminal:

sudo apt install gnome-tweaks

Once installed, launch the tool and navigate to Top Bar in the left pane, and finally toggle on “Battery Percentage”.


I'm a freelance blogger who started using Ubuntu in 2007 and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please comment to let me know if the tutorial is outdated! And, notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me via [email protected] Buy me a coffee: https://ko-fi.com/ubuntuhandbook1

5 responses to Quick Tip: Display Battery Percentage in Ubuntu 20.04 Top Panel

  1. Followed the instructions, but it doesn’t work with Surface Book 2

  2. Followed instructions did not work for Surface 4 pro

  3. Thank you, its working on my Lenovo 520 Laptop

  4. It worked on dell inspiron. Thanks a lot.

  5. It worked but battery percentage doesnot change over time it is stuck at hundred percent and showing charging even when unplugged.