This quick tutorial show Ubuntu beginners how to display the battery percentage in the top panel system tray area of Ubuntu 19.10 laptop.
When your laptop is on battery, you may care more about the battery power and want to take a glance at the battery percentage at any time.
The default Power Settings does not offer the option to enable this feature, you can however do it either via Gnome Tweaks or by running a single command.
1. Install Gnome Tweaks:
Gnome Tweaks is a Gnome desktop configuration tool that offers more settings to the Ubuntu default Settings utility. It’s one of must install applications in Ubuntu with default Gnome desktop environment.
You can easily install it from Ubuntu Software:
2. Enable battery percentage:
Once installed, either launch Gnome Tweaks from Ubuntu Software or application menu.
When it opens, navigate to Top Bar in the left pane. You’ll then see the ‘Battery Percentage’ option in the right, simply turn it on and enjoy!
(Optional) Single command to show battery percentage:
If you’re familiar with Linux commands, this can be done by running a single command in terminal window (open terminal via Ctrl+Alt+T).
gsettings set org.gnome.desktop.interface show-battery-percentage true
And restore the change if you want by running command:
gsettings reset org.gnome.desktop.interface show-battery-percentage
That’s it. Enjoy!