
{"id":16700,"date":"2020-07-30T14:06:32","date_gmt":"2020-07-30T14:06:32","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=16700"},"modified":"2020-07-30T14:06:32","modified_gmt":"2020-07-30T14:06:32","slug":"display-battery-percentage-ubuntu-20-04-top-panel","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2020\/07\/display-battery-percentage-ubuntu-20-04-top-panel\/","title":{"rendered":"Quick Tip: Display Battery Percentage in Ubuntu 20.04 Top Panel"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2016\/03\/classic-gnome-icon.png\" alt=\"gnome shell\" width=\"245\" height=\"250\" class=\"aligncenter size-full wp-image-5741\" \/><\/p>\n<p>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.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/battery-percentage.jpg\" alt=\"\" width=\"432\" height=\"277\" class=\"aligncenter size-full wp-image-16708\" \/><\/p>\n<p><b>Single command to show battery percentage:<\/b><\/p>\n<p>For those familiar with Linux commands, this can be done via a single command.<\/p>\n<p>Press <b>Ctrl+Alt+T<\/b> to open terminal, copy the command (<b>Ctrl+C<\/b>) and paste (<b>Ctrl+Shift+V<\/b>) into terminal and hit run:<\/p>\n<pre style=\"border:none;\">gsettings set org.gnome.desktop.interface show-battery-percentage true<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gsettings-showbatterypercentage.png\" alt=\"\" width=\"560\" height=\"101\" class=\"aligncenter size-full wp-image-16730\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gsettings-showbatterypercentage.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gsettings-showbatterypercentage-450x81.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><b>Using graphical tool: Gnome Tweaks<\/b><\/p>\n<p>Search for and install <b>Gnome Tweaks<\/b> from Ubuntu Software.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-gnometweaks-450x266.jpg\" alt=\"\" width=\"450\" height=\"266\" class=\"aligncenter size-medium wp-image-8862\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-gnometweaks-450x266.jpg 450w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-gnometweaks-600x355.jpg 600w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2019\/04\/install-gnometweaks.jpg 758w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/p>\n<p>or install Gnome Tweaks by running command in terminal:<\/p>\n<pre style=\"border:none;\">sudo apt install gnome-tweaks<\/pre>\n<p>Once installed, launch the tool and navigate to <b>Top Bar<\/b> in the left pane, and finally toggle on &#8220;Battery Percentage&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gnome-tweak-batpercent.png\" alt=\"\" width=\"560\" height=\"236\" class=\"aligncenter size-full wp-image-16720\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gnome-tweak-batpercent.png 560w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2020\/07\/gnome-tweak-batpercent-450x190.png 450w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[1565],"class_list":["post-16700","post","type-post","status-publish","format-standard","hentry","category-howtos","tag-battery-percentage"],"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/16700","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=16700"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/16700\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=16700"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=16700"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=16700"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}