linrunner / TLP

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

Add undervolting for Intel Sandy Bridge and newer CPUs (Core I arcitecture with P-states) #399

Closed Limbo3 closed 5 years ago

Limbo3 commented 5 years ago

Hello

Is your feature request related to a problem? Please describe. It's not useful to manage voltage and power limits in two different programs and I would like to see those settings in one place.

Describe the solution you'd like I would like to see a section in config file which will manage undervolting parameters (CPU, Intel GPU, CPU Cache, System Agent, Analog I/O, Digital I/O) for appropriate power profiles (AC or BATT) For example: INTEL_UVOLT_CPU_AC=-25 INTEL_UVOLT_CPU_BAT=-105 INTEL_UVOLT_iGPU_AC= INTEL_UVOLT_iGPU_BAT= ... etc.

Describe alternatives you've considered

  1. native msr tools to set appropriate values by this guide. Nothing special, just "wrmsr" from Intel tools
  2. script on Python which was made by guide above
  3. compiled software written on C by the same guide

Additional context TLP already have PCH settings. Voltage on modern CPUs can also be managed and why not to add this feature. I'm sure that it won't be hard to make additional section, convert digits to binary and write results in MSR.

linrunner commented 5 years ago

Hi, the FAQ states:

Features excluded from TLP intentionally

  • Undervolting for Intel Core i CPUs: there's plenty of third party tools