Archives For November 30, 1999

CPU-G

Auto-cpufreq, automatic CPU speed & power optimizer for Linux to improve battery life, released version 1.2 with AMD support.

Different to cpufreq indicator and / or TLP, Auto-cpufreq automatically make “cpufreq” related changes based on active monitoring of laptop’s battery state, CPU usage and system load. Ultimately allowing you to improve battery life without making any compromises.

How to Install Auto-cpufreq in Ubuntu:

Auto-cpufreq is available as Snap package, which can be easily installed from Ubuntu Software:

Don’t like the containerized snap package? You may also download the source tarball which contains an install script:

Extract and go into the source folder, then right-click on blank area and select ‘Open in Terminal’

Finally run the installer via command:

sudo ./auto-cpufreq-installer

How to run Auto-cpufre:

Once installed the tool, you can run it with different flags:

1. Monitor and suggest CPU optimizations by running command:

sudo auto-cpufreq --monitor

2. Run the tool to improve battery life for temporary use (work until reboot):

sudo auto-cpufreq --live

3. Install the daemon so it will work permanently and silently in background.

sudo auto-cpufreq --install

4. Uninstall the daemon to stop the service:

sudo auto-cpufreq --remove

see auto-cpufreq in github

Want to get better battery life for your Ubuntu laptop? Besides struggling with various settings or config files, try the power management tool TLP and Slimbook Battery.

TLP is a feature-rich command line utility for Linux, saving laptop battery power without the need to delve deeper into technical details.

TLP’s default settings are already optimized for battery life and implement Powertop’s recommendations out of the box. So you may just install and forget it.

1.) How to Install TLP in Ubuntu 20.04:

Simply open terminal either from application menu or by pressing Ctrl+Alt+T on keyboard. When terminal opens, run command:

sudo apt install tlp

Once installed, you’re done as it runs silently in background with a default configuration already optimized for battery life.

To fulfil your specific requirements, you can install the GTK user interface TLPUI via this PPA.

2.) Install Slimbook Battery:

Slimbook Battery is a graphical tool based on TLP, it offers an indicator menu that includes Energy Saving, Balanced, and Maximum Performance modes.

Advanced mode provides options to change CPU limit, graphics saving, screen brightess, disable animation, bluetooth, auto-suspend USB ports, etc.

To install Slimbook Battery from its official PPA, run following commands in terminal one by one in terminal:

sudo add-apt-repository ppa:slimbook/slimbook

sudo apt update

sudo apt install slimbookbattery

Once installed, launch it from ‘Show Applications’ menu and enjoy!

(Optional) To remove Slimbook Battery as well as its PPA, run following commands one by one:

sudo add-apt-repository --remove ppa:slimbook/slimbook

sudo apt remove --autoremove slimbookbattery

TLP 1.3.0 was finally released today after 4 beta releases. Here’s how to install it in Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10.

TLP is an advanced power management tool for Linux. It comes with a default configuration already optimized for battery life, so you may just install and forget it. Nevertheless TLP is highly customizable to fulfil your specific requirements.

TLP 1.3.0 features:

    New configuration scheme:
    • /etc/default/tlp is replaced by /etc/tlp.conf
    • Settings are read in the following order: intrinsic defaults, /etc/tlp.d/*.conf, /etc/tlp.conf
  • replace tlp-sleep.service with /lib/systemd/system-sleep/tlp
  • And many other improvements, see the release note for details.

    How to Install TLP 1.3.0 in Ubuntu:

    The software has an official PPA repository with new package for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

    1.) Open terminal either from application launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

    sudo add-apt-repository ppa:linrunner/tlp

    Type user password (no asterisk feedback) when it asks and hit Enter to continue.

    2.) If you already installed an old version, open Software Updater and upgrade the package.

    This will also upgrade TLP from the beta release to the latest stable.

    Or run command in terminal:

    sudo apt update && sudo apt install tlp

    Uninstall:

    You can run command in terminal to purge the PPA which also downgrade TLP to the stable version available in Ubuntu main repository:

    sudo apt install ppa-purge && sudo ppa-purge ppa:linrunner/tlp

    To completely remove the TLP power management tool, run command:

    sudo apt remove tlp tlp-rdw

    TLP, an advanced power management tool for Linux, released version 1.3 beta for testing. Here’s how to install it in Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

    If you’re just looking for how to save your Ubuntu laptop battery life, simply open terminal by pressing Ctrl+Alt+T on keyboard and install the stable version of TLP by running command:

    sudo apt install tlp

    This command line tool comes with a default configuration already optimized for battery life, so you may just forget it afterwards.

    TLP 1.3 Beta comes with new configuration scheme. System wide user configuration file /etc/default/tlp is replaced by /etc/tlp.conf. And settings are read in the following order:

    1. Intrinsic defaults
    2. /etc/tlp.d/ – Drop-in customizations
    3. /etc/tlp.conf – User configuration

    For more about the beta release, see the github releases page.

    How to Install TLP 1.3 Beta in Ubuntu:

    The software has an official PPA repository for the beta releases. So for, it supports for Ubuntu 18.04, Ubuntu 19.10, and Ubuntu 20.04.

    1.) Open terminal either from application launcher or by pressing Ctrl+Alt+T on keyboard. When it opens, run command to add the PPA:

    sudo add-apt-repository ppa:linrunner/tlp-beta

    Type user password (no asterisk feedback) when it asks and hit Enter to continue.

    2.) If you already installed an old version, open Software Updater and upgrade the package.

    Or run command in terminal:

    sudo apt update && sudo apt install tlp

    Uninstall:

    You can run command in terminal to purge the PPA which also downgrade TLP to the stable version available in Ubuntu main repository:

    sudo apt install ppa-purge && sudo ppa-purge ppa:linrunner/tlp-beta

    To completely remove the TLP power management tool, run command:

    sudo apt remove tlp tlp-rdw

    Slimbook battery is a battery optimization tool that works on Gnome, KDE, Unity, Cinnamon, and MATE desktop.

    The software offers a system tray application indicator with three energy modes: Energy Saving, Balanced, and Maximum Performance. Also an ‘Off‘ menu option is available to turn off the optimization.

    Each energy mode comes with default values. User is allowed to change the most important values via the Preferences (Advanced mode).

    How to Install Slimbook battery in Ubuntu:

    Slimbook’s official PPA contains the latest packages for Ubuntu 16.04, Ubuntu 18.04, Ubuntu 18.10, Ubuntu 19.04, and their derivatives.

    1. Open terminal either via Ctrl+Alt+T keyboard shortcut or from application menu. When it opens, run command to add the PPA:

    sudo add-apt-repository ppa:slimbook/slimbook

    Type user password (no asterisk feedback) when it prompts and hit Enter to continue adding PPA.

    2. Then refresh system package cache and install the tool:

    sudo apt update
    
    sudo apt install slimbookbattery

    Once installed, launch it from application menu and enjoy!

    Uninstall:

    To remove the tool, open terminal and run command:

    sudo apt remove --auto-remove slimbookbattery

    And remove the PPA either via Software & Updates-> Other Software, or by running command:

    sudo add-apt-repository --remove ppa:slimbook/slimbook