From 97b9dc1fcf38c9d4b69f274b60fc791a0c632fba Mon Sep 17 00:00:00 2001 From: Alex Speranza Date: Sun, 6 Dec 2020 18:21:50 +0100 Subject: [PATCH 1/2] Adds OpenSUSE Tumbleweed to detected distributions (#134) --- auto-cpufreq-installer | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index e87529df..fd2e6a06 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -100,6 +100,21 @@ then separator complete_msg separator +# OpenSUSE Tumbleweed +elif [ -f /etc/os-release ] && eval "$(cat /etc/os-release)" && [ $ID == "opensuse-tumbleweed" ]; +then + separator + echo -e "\nDetected OpenSUSE Tumbleweed distribution\n" + echo -e "\nSetting up Python environment\n" + zypper install python38 python3-pip python3-setuptools + echo -e "\nInstalling necessary Python packages\n" + pip_pkg_install + separator + echo -e "\ninstalling auto-cpufreq tool\n" + install + separator + complete_msg + separator # Other else separator From b2ae741a561b16989261bc4e87c1218cbb48e8a9 Mon Sep 17 00:00:00 2001 From: Adnan Hodzic Date: Sun, 6 Dec 2020 19:35:06 +0100 Subject: [PATCH 2/2] Updated README with CPU temperature reference --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a3c38bc..84a3955f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # auto-cpufreq -Automatic CPU speed & power optimizer for Linux based on active monitoring of laptop's battery state, CPU usage and system load. Ultimately allowing you to improve battery life without making any compromises. +Automatic CPU speed & power optimizer for Linux based on active monitoring of laptop's battery state, CPU usage, CPU temperature and system load. Ultimately allowing you to improve battery life without making any compromises. For tl;dr folks there's a: [Youtube: auto-cpufreq - tool demo](https://www.youtube.com/watch?v=QkYRpVEEIlg) @@ -35,8 +35,8 @@ Supported devices must have an Intel, AMD or ARM CPU's. This tool was developed * CPU frequency scaling, governor and [turbo boost](https://en.wikipedia.org/wiki/Intel_Turbo_Boost) management based on * Battery state * CPU usage (total & per core) - * System load * CPU temperature in combination with CPU utilization/load (prevent overheating) + * System load * Automatic CPU & power optimization (temporary and persistent) ## Installing auto-cpufreq