How to display battery life percentage in Ubuntu 17.10 status bar

By default settings Battery icon doesn't indicate how much percentage of battery is remaining

Status bar (also called as top bar) in Ubuntu 17.10 displays several important info including open programs, day/time, network icons, speaker, and battery icon. By default settings, the Battery icon doesn’t indicate how much percentage of battery is remaining. Although you will see number of bars in it, it is still not a great way to know how much battery juice is left. You have to click on the icon in order to know the percentage of battery left.

Battery Life Percentage
Battery Life Percentage

But, we will make a small tweak so that the battery percentage is shown besides the battery icon on the status bar itself.

Displaying Battery Life Percentage in Ubuntu 17.10 Top bar

Step 1) You need to install gnome dconf editor inorder to tweak the settings. In order to do that, launch ‘Terminal’ and enter the following command:

sudo apt-get install dconf-editor

Step 2) Launch “dconf-editor” from ‘Activities’ menu, and navigate to the following key:


Step 3) Turn OFF “Use default value”.

Step 4) Click “Custom value” to “True”.

Step 5) Click “tick” mark on the bottom right and close dconf editor.

dconf editor show battery percentage
dconf editor show battery percentage

Step 6) You should see the battery life percentage by now on the status bar.

Battery Life Percentage in Ubuntu 17.10 Status Bar
Battery Life Percentage in Ubuntu 17.10 Status Bar


Kiran Kumar
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!


Please enter your comment!
Please enter your name here




How to create a bootable CentOS Live USB drive on Windows

create centOS Live USB drive
CentOS ISO downloads are available in two different variations - Minimal ISO and DVD ISO. So what are these? In this guide, you will know how to create a CentOS Live USB drive that can also be used to install CentOS.