Improve Battery Life Using TLP.

Abhishek Rawal

Abhishek Rawal

@abhishek-fg9tRh Oct 12, 2024
#-Link-Snipped-# is a power management tool for Linux. It brings you the benefits of advanced power management without the need to understand every technical detail.TLP does not replace but enhance the existing power management of your Linux installation. TLP applies it's settings upon system startup and on every change of the power source.

Battery-Image

How To Install :

1) Remove User specific power save settings & scripts.
(You will find the script in /etc/rc.local)

2) Remove Laptop-mode-tools.
 sudo apt-get remove laptop-mode-tools 
3) We have to add third party TLP-PPA as it is not available in any distro's repository.
 sudo add-apt-repository ppa:linrunner/tlp 
4) Then update the source.list
 sudo apt-get update 
5) Installing TLP.
 sudo apt-get install tlp tlp-rdw smartmontools ethtool 
6) Start TLP.
 sudo tlp start 
It's easy to install & very good tweak for Laptop/Netbook users. 👍

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Sanyam Khurana

    Sanyam Khurana

    @sanyam-Nl7Zqc Jul 31, 2013

    There are actually two folders in /etc/rc.local

    What to do..?
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Jul 31, 2013

    Sanyam Khurana
    There are actually two folders in /etc/rc.local

    What to do..?
    rm it.
  • Sanyam Khurana

    Sanyam Khurana

    @sanyam-Nl7Zqc Jul 31, 2013

    see there are two files here..[​IMG]
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Jul 31, 2013

    Open up the script & tell me what's the script in it.
    If there ain't any script in it then ignore it & move further. If there's any, then remove it.
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Jul 31, 2013

    If you're using Sandy bridge or latest one architecture then don't forget this :
     sudo apt-get install acpi-call-tools 
  • Sanyam Khurana

    Sanyam Khurana

    @sanyam-Nl7Zqc Jul 31, 2013

    This is there in the script..

    #!/bin/sh -e
    #
    # rc.local
    #
    # This script is executed at the end of each multiuser runlevel.
    # Make sure that the script will "exit 0" on success or any other
    # value on error.
    #
    # In order to enable or disable this script just change the execution
    # bits.
    #
    # By default this script does nothing.
     
    exit 0
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Jul 31, 2013

    You haven't added any power saving settings or scripts in it.
    Hence,Jump to step number 2.
  • Sanyam Khurana

    Sanyam Khurana

    @sanyam-Nl7Zqc Jul 31, 2013

    From command 5 , it shows this..

    [​IMG]
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Jul 31, 2013

    Sanyam Khurana
    From command 5 , it shows this..
    Which means you haven't added PPA properly.
    Go to ubuntu Software center --> Edit --> Software sources --> Other Software.

    Show me it's content.

    If you don't know how to add PPA, read : <a href="https://www.crazyengineers.com/threads/adding-ppas-in-ubuntu.61390">Adding PPAs in Ubuntu</a>
    <a href="https://www.crazyengineers.com/threads/adding-ppas-in-ubuntu-using-terminal.68316">Adding PPAs In Ubuntu (Using Terminal)</a>
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Apr 3, 2015

    Whatay great tool. Using on my system and battery life has surely improved. I however have tweaked /etc/default/tlp conf file manually for some parameters.
    Screenshot from 2015-04-04 11:53:49