

ACPI command line utilities are provided via the acpi package. On some systems, the battery sends events to udev whenever it (dis)charges by 1%, this event can be connected to some action using a udev rule.īattery state can be read using ACPI utilities from the terminal. Classical method is some daemon periodically polling battery level using ACPI interface. Reading battery state can be done in multiple ways. The following tools and programs help to increase battery life and keep your laptop cool and quiet.

Power management is very important for anyone who wishes to make good use of their battery capacity. Additional laptop-specific features are described below.

The change takes place immediately and you can see that your laptop’s battery percentage is displayed in the top right corner.Note: You should read the articles Power management and CPU frequency scaling. Then go into the Power menu in the left sidebar and toggle the option of Show Battery Percentage present under Suspend and Power Button section.
#LINUX BATTERY STATUS WINDOWS#
Windows key to bring up the search option. To use this feature go to Settings by searching for it in applications. Show battery percentage option was added as a feature in GNOME 3.38 and since Ubuntu 20.10 uses GNOME 3.38 you can harness this feature.
#LINUX BATTERY STATUS HOW TO#
You can see that your laptop’s battery percentage is displayed in the top right corner: How to show battery percentage in Ubuntu 20.10 and newer versions In here, go to Top Bar in the left sidebar and then toggle the option of Battery Percentage in the right sidebar. Once installed, start the Tweaks tool by searching for it in applications.
#LINUX BATTERY STATUS INSTALL#
Just search for it in the Software Center and install it from there.Īlternatively, you can also use the command below to install GNOME Tweaks: sudo apt install gnome-tweaks Step 2: Enable battery percentage in GNOME Tweaks tool Installing GNOME Tweaks too is fairly simple. GNOME Tweaks is a versatile tool and you can use it to install themes in Ubuntu among many other things. You can use the dconf editor for this task but we’ll be using GNOME Tweaks here. How to show battery percentage in Ubuntu 20.04 and 18.04 Let’s see first how to show the battery percentage in Ubuntu 20.04 and 18.04 and then I’ll show you how to do this in Ubuntu 20.10 and newer versions. The good thing is that you can enable battery percentage on your Ubuntu system running GNOME desktop environment.Įven though this feature is now available in distributions using GNOME 3.38 such as in the case of Ubuntu 20.10 but in distributions using older versions of GNOME such as Ubuntu 20.04 and 18.04 you don’t get this feature and therefore you’ll have to use a dedicated tool like GNOME Tweaks. It is not very convenient to figure out the correct battery level with this icon. While there is a battery indicator on Ubuntu desktop, it is in icon format. You don’t want to get the notification about low battery at odd or uncomfortable timing. It is essential to keep an eye on the battery percentage while using Ubuntu on a laptop.

Brief: This quick tip shows you how to display battery percentage in Ubuntu 20.04 and 18.04 that uses the GNOME desktop environment.
