Optimize Battery Life on an Ubuntu Laptop With These 6 Power Saving Tweaks


There’s nothing more frustrating than running out battery power when you need it most. Optimizing your laptop battery usage doesn’t have to be tricky. Use these six battery-saving tweaks to boost the duration of your laptop battery significantly and immediately!

6

Install TLP for Automatic Power Management

One of the easiest ways to improve battery performance is by using TLP, an advanced power management tool that optimizes various system settings for you automatically.

Installing TLP

To install TLP, simply open a terminal (press Ctrl+Alt+T) and enter the following command:

        sudo apt install tlp tlp-rdw
Ubuntu terminal showing the output from tlp-stat

Once installed, TLP will start automatically whenever your computer boots. It works right out of the box with default settings that are optimized for most users. You can enter the following command to view the settings and status of various system components.

        sudo tlp-stat

For more precise data, tlp-stat has several flags you can use like -c for the active configuration or -t for the temperature and fan speed. See the manual for tlp-stat to learn more.

Configuring TLP (Optional)

If you’re comfortable making advanced tweaks, you can edit TLP’s configuration file at /etc/tlp.conf to fine-tune power settings. However, for most users, the default settings will provide noticeable improvements without any extra effort. You should make a backup copy of the original file before you change anything.

5

Adjust Your Screen Brightness

Your screen is one of the biggest sources of power drain on your laptop. Reducing the brightness can significantly improve battery life. Many laptops have special keys to raise and lower the brightness. If yours doesn’t, you can set the brightness from the system menu at the top-right corner of the desktop (the menu you open to shut down or restart your computer).

Ubuntu system menu showing brightness slider

When you open the menu you should see sliders for audio volume and screen brightness. Simply drag the brightness slider to set it to your preferred level.

Enable Automatic Brightness (If Supported)

If your laptop has a light sensor, Ubuntu may have an option to adjust brightness automatically. Enabling this feature ensures that brightness is optimized based on your surroundings. If your lap supports this function, you’ll find it under the “Power” section of the system settings.

4

Turn Off Unused Hardware

Unnecessary hardware components, such as Wi-Fi, Bluetooth, and external USB devices, can drain your battery even when you’re not using them.

Disable Wi-Fi and Bluetooth

If you’re not using the internet or Bluetooth peripherals, turn these off to save power. You can do this via the system settings or by running these commands in the terminal:

To turn off Wi-Fi:

        nmcli radio wifi off

To turn off Bluetooth:

        rfkill block bluetooth

Disconnect External Devices

USB devices like external hard drives, USB flash drives, and even mice and keyboards consume power. Unplug them when you’re not using them to maximize battery life.

3

Optimize CPU Performance

Your processor (CPU) can operate in different modes depending on performance needs. Switching to a power-saving mode can help extend battery life. You can adjust CPU performance using the cpufrequtils package.

Enter the following command in your terminal to install cpufrequtils:

        sudo apt install cpufrequtils
Ubuntu terminal showing output from apt install cpufrequtils

Set the CPU to power-saving mode:

        sudo cpufreq-set -g powersave

This lowers the CPU’s speed when high performance isn’t needed, reducing power consumption.

2

Manage Background Applications

Unnecessary background processes use up CPU power and drain your battery faster. Many programs stay running in the background when you close them—especially messaging apps like Slack and Telegram. Shutting down background apps that you aren’t using can significantly increase your battery life.

Check Running Processes

Typing “top” at a terminal prompt will bring up a screen showing some general statistics about your system followed by a list of all running processes and the resources they are using. The list will update every few seconds and is sorted with the most resource intensive tasks first.

Ubuntu terminal showing output from top command

The Linux top utility is great when you just want to check quickly for any obviously misbehaving programs on your system. If you notice any tasks with high memory or CPU usage, you may benefit by shutting them down (see below) if they aren’t related to a necessary system process or an app that you are using. Simply press “Q” to quit and return to the terminal prompt.

You’ll also find an app called “System Monitor” in the main app launcher. This handy app will also show you what processes are running and their resource consumption. System Monitor is more suitable when you want to take a deeper look at what is happening under the hood of your system. There are several filter and sorting options that will allow you to examine everything running on your computer in more detail.

Ubuntu system monitor showing the processes list view

How to Close Unnecessary Applications

If you notice a program consuming a lot of power, you can close it using the following command:

        killall application_name

If you get an error saying you don’t have permission to close a task, prefix the command above with “sudo”.

Be careful when ending processes, especially when using sudo—you don’t want to accidentally close essential system tasks!

1

Optimize System Settings

There are a few steps you can take to generally optimize your system for less battery drain.

Reduce Visual Effects

Ubuntu’s GNOME desktop environment has various animations and effects that make it look nice but also consume more power. You can easily disable these effects to save energy. Open Settings, go to “Accessibility,” then enable the “Reduce Animations” option.

Ubuntu accessibility setting in system settings

Enable Power Saver Mode

Ubuntu includes a built-in Power Saver profile that automatically adjusts settings for better battery life. To enable it, open Settings. Then navigate to “Power” and select the “Power Saver” mode.

Ubuntu power saver settings options


Using any or all of these suggestions should produce immediate, noticeable results. Especially when you know you won’t be able to plug in for an extended period of time, these tweaks will allow you to squeeze the maximum amount of juice from your laptop battery. As an added bonus, when you do get back to where you can plug your laptop in, it will also charge faster if you have these settings enabled!



Source link

Previous articlePepe Coin and Yeti Ouro aim for $1 in 2025
Next articleNFT sales surge to $198m, Azuki sales soar 107% in a week