11

I tried installing TLP in ubuntu 18.04 using the command line

sudo add-apt-repository ppa:linrunner/tlp

But I get the following error:

Image

How do I solve this problem?

Zanna
  • 70,465
Rima
  • 241
  • 1
  • 2
  • 8
  • 1
    Actually the PPA you added has no software for your Ubuntu release. As the comment above suggests, install it normally AND remove all those old PPAs you've been adding. –  Nov 11 '18 at 14:42
  • I just installed ubuntu few days back and I am complete beginner. so how do I install the correct PPA ? – Rima Nov 11 '18 at 14:43
  • @GabrielaGarcia so should I uncheck the boxes for all the PPAs from software and updates? – Rima Nov 11 '18 at 14:46
  • 3
    You don't install any PPA for TLP. TLP is available at the official repositories and can be installed like anything else you find in Ubuntu Sofware. And, yes, you should definitely remove all those PPAs. –  Nov 11 '18 at 14:47

2 Answers2

20

You are reading old instructions off the internet. tlp is included in Ubuntu's universe repository so all you need to type is:

sudo apt install tlp

If you want to utilize the Radio Wizard also use:

sudo apt install tlp-rdw

Thinkpad users can install optional packages for battery threshold levels:

sudo apt-get install tp-smapi-dkms acpi-call-dkms

Source: Welcome to TLP!

  • Thanks a lot. How effective is TLP in extending battery life? – Rima Nov 11 '18 at 14:56
  • 1
    @Rima I run my laptops plugged in 24/7 but I've heard others say how it extends from 4 hours to 10 hours after all power saving features are enabled, not just in tlp but also in gnome / unity where screen is dimmed after 10 seconds of inactivity, etc. – WinEunuuchs2Unix Nov 11 '18 at 15:30
  • 2
    @Rima: Could you please open a new question if you have a new or follow-up question? The comment section is not suitable or meant for new questions or extended discussion. You’re welcome to send me a comment with a notification to draw my attention to it. Thanks. – David Foerster Nov 11 '18 at 20:57
  • @DavidFoerster Thanks but my problem has been solved now. :) – Rima Nov 12 '18 at 08:02
  • According to TLP's documentation, the Thinkpad packages are optional for more control. – Alex Dec 29 '18 at 05:44
  • @Alex Thank you. I've changed it to "optional". – WinEunuuchs2Unix Dec 29 '18 at 06:11
  • excuse me .. i followed this commands .. Does anything i should do it after that ? and is that way making battery in save without using it during plugin the charger ? – sam Feb 14 '20 at 21:50
2

For a person who is more into the UI, do the following.

$ sudo add-apt-repository ppa:linuxuprising/apps
$ sudo apt-get update
$ sudo apt-get install tlpui

ui

anaszaman
  • 121