From d26ec988373f247db1e49f35f2b869ab06783628 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Sun, 13 Nov 2022 19:17:35 +0100 Subject: [PATCH] Add missing display system load average info --- auto_cpufreq/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/auto_cpufreq/core.py b/auto_cpufreq/core.py index 1ef17ef..fea20f4 100644 --- a/auto_cpufreq/core.py +++ b/auto_cpufreq/core.py @@ -653,7 +653,7 @@ def set_powersave(): turbo(False) elif load1m > powersave_load_threshold: - print("High system load") + print("High system load", end=""), display_system_load_avg() # high cpu usage trigger if cpuload >= 20: @@ -740,7 +740,7 @@ def mon_powersave(): get_turbo() elif load1m > powersave_load_threshold: - print("High system load") + print("High system load", end=""), display_system_load_avg() # high cpu usage trigger if cpuload >= 20: @@ -862,7 +862,7 @@ def set_performance(): turbo(True) elif load1m >= performance_load_threshold: - print("High system load") + print("High system load", end=""), display_system_load_avg() # high cpu usage trigger if cpuload >= 20: @@ -953,7 +953,7 @@ def mon_performance(): get_turbo() elif load1m > performance_load_threshold: - print("High system load") + print("High system load", end=""), display_system_load_avg() # high cpu usage trigger if cpuload >= 20: