stockmind / dell-xps-9560-ubuntu-respin

Collection of scripts and tweaks to adapt Ubuntu and Linux Mint ISO images to let them run smooth on Dell XPS 15 9560.
345 stars 155 forks source link

Fan spin up on AC #28

Closed ghost closed 6 years ago

ghost commented 6 years ago

Everything is working nicely on my XPS 15. Seeing power usage < 10 W when on battery.

On AC, deactivation of power save features causes cpu power consumption, and temperature to rise, which causes the fans to periodically spin up every 10-20 seconds, even under light load.

Is there a tweak to /etc/default/tlp that could solve this?

ghost commented 6 years ago

Perhaps I didn't set up tlp correctly, but anyway, you can force powersave mode when on AC to throttle CPU power consumption. No more periodic fan spin up on light loads now.

# Minimize number of used CPU cores/hyper-threads under light load conditions
SCHED_POWERSAVE_ON_AC=1
SCHED_POWERSAVE_ON_BAT=1

# Set CPU performance versus energy savings policy:
#   performance, normal, powersave
# Requires kernel module msr and x86_energy_perf_policy from linux-tools
ENERGY_PERF_POLICY_ON_AC=powersave
ENERGY_PERF_POLICY_ON_BAT=powersave