linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.68k stars 128 forks source link

tlp should not override tunables set from "Bad" to "Good" by powertop #561

Closed Pointedstick closed 3 years ago

Pointedstick commented 3 years ago

[x] I've read and accepted the Bug Reporting Howto [x] I've attached all required tlp-stat outputs via Gist (see below)

Describe the bug Manually running sudo powertop --auto-tune switches all power-related tunables to their "Good" state. However tlp overrides these every time the power cable is plugged in or unplugged.

Expected behavior

tlp should not reset or change the tunables set by powertop.

To Reproduce

Steps to Reproduce:

  1. install both powertop and tlp
  2. sudo systemctl enable tlp
  3. sudo systemctl start tlp
  4. sudo powertop --auto-tune
  5. Unplug laptop's power cable

tlp-stat output.txt

Pointedstick commented 3 years ago

As an alternative, perhaps tlp could automatically set all the tunables to "Good" so that it is not necessary to use powertop --auto-tune to achieve this.

Pointedstick commented 3 years ago

Never mind, I see now that the tunables (almost) all get set to good automatically when on battery power. So I guess running powertop --auto-tune is just totally unnecessary when using tlp.

linrunner commented 3 years ago

Hi, to look in the FAQ before would have saved you effort ...