lscpu
shows a minimum CPU speed of 1600MHz, rather than 400MHz as the actual minimum. This is absolutely killing my battery life (I get about 2-3 hours rather than the 8-10 I get under Windows on the same hardware) and causing the fan to run constantly.
How do I change the minimum CPU scaling speed?
This is on 18.04 x86_64 - Specific hardware is a HP Envy x360 13" Ryzen 7
affected_cpus 0
bios_limit 2200000
cpb 0
cpuinfo_cur_freq 1600000
cpuinfo_max_freq 2200000
cpuinfo_min_freq 1600000
cpuinfo_transition_latency 0
freqdomain_cpus 0 1
related_cpus 0
scaling_available_frequencies 2200000 1700000 1600000
scaling_available_governors conservative ondemand userspace powersave perform ance schedutil
scaling_cur_freq 1439222
scaling_driver acpi-cpufreq
scaling_governor powersave
scaling_max_freq 2200000
scaling_min_freq 1600000
scaling_setspeed <unsupported>
stats
Edit: This appears to be a broad failure to handle frequency scaling. The frequency isn't increasing under load either. The frequency seems to randomly shift around irrespective of the system load.
CPU0_DIR=/sys/devices/system/cpu/cpu0/cpufreq
to set variable. Then use:paste <(ls $CPU0_DIR) <(cat $CPU0_DIR/*) | column -s $'\t' -t
. Now copy and paste the output into your question. Thanks. – WinEunuuchs2Unix Sep 02 '18 at 18:40echo 400000 | sudo tee > /sys/devices/system/cpu/cpu*/cpufreq/scaling_min_freq
but I'm not sure if it will override the governor. – WinEunuuchs2Unix Oct 23 '18 at 23:17