diff --git a/README.md b/README.md index d39e8a97..0a3c38bc 100644 --- a/README.md +++ b/README.md @@ -21,20 +21,22 @@ Please note: this tool doesn't conflict and [works great in tandem with TLP](htt #### Supported architectures and devices -Supported devices must have an Intel, AMD or ARM CPU's. This tool was developed to improve performance and battery life on laptops, but running it on desktop/servers (to lower power consumption) should also be possible. +Supported devices must have an Intel, AMD or ARM CPU's. This tool was developed to improve performance and battery life on laptops, but running it on desktop/servers (to lower power consumption) should also be possible. ## Features -* Monitoring +* Monitoring * Basic system information * CPU frequency (system total & per core) * CPU usage (system total & per core) + * CPU temperature (total average & per core) * Battery state * System load * CPU frequency scaling, governor and [turbo boost](https://en.wikipedia.org/wiki/Intel_Turbo_Boost) management based on - * battery state - * CPU usage + * Battery state + * CPU usage (total & per core) * System load + * CPU temperature in combination with CPU utilization/load (prevent overheating) * Automatic CPU & power optimization (temporary and persistent) ## Installing auto-cpufreq diff --git a/bin/auto-cpufreq b/bin/auto-cpufreq index adb1090b..790ac0ff 100755 --- a/bin/auto-cpufreq +++ b/bin/auto-cpufreq @@ -11,7 +11,6 @@ from subprocess import call, run sys.path.append('../') from source.core import * - # cli @click.command() @click.option("--monitor", is_flag=True, help="Monitor and see suggestions for CPU optimizations") diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c9e5caa3..ddfa5c19 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,6 +1,6 @@ name: auto-cpufreq base: core20 -version: '1.3.4' +version: '1.5.0' summary: Automatic CPU speed & power optimizer for Linux description: | Automatic CPU speed & power optimizer for Linux based on active @@ -35,6 +35,8 @@ parts: apps: auto-cpufreq: command: bin/auto-cpufreq + environment: + PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH plugs: - cpu-control - system-observe