Snap v1.5 release & module import fix (PYTHONPATH); updated README

This commit is contained in:
Adnan Hodzic 2020-12-05 22:27:52 +01:00
parent 96b821c975
commit eb9ccfe32f
3 changed files with 9 additions and 6 deletions

View File

@ -21,20 +21,22 @@ Please note: this tool doesn't conflict and [works great in tandem with TLP](htt
#### Supported architectures and devices #### 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 ## Features
* Monitoring * Monitoring
* Basic system information * Basic system information
* CPU frequency (system total & per core) * CPU frequency (system total & per core)
* CPU usage (system total & per core) * CPU usage (system total & per core)
* CPU temperature (total average & per core)
* Battery state * Battery state
* System load * System load
* CPU frequency scaling, governor and [turbo boost](https://en.wikipedia.org/wiki/Intel_Turbo_Boost) management based on * CPU frequency scaling, governor and [turbo boost](https://en.wikipedia.org/wiki/Intel_Turbo_Boost) management based on
* battery state * Battery state
* CPU usage * CPU usage (total & per core)
* System load * System load
* CPU temperature in combination with CPU utilization/load (prevent overheating)
* Automatic CPU & power optimization (temporary and persistent) * Automatic CPU & power optimization (temporary and persistent)
## Installing auto-cpufreq ## Installing auto-cpufreq

View File

@ -11,7 +11,6 @@ from subprocess import call, run
sys.path.append('../') sys.path.append('../')
from source.core import * from source.core import *
# cli # cli
@click.command() @click.command()
@click.option("--monitor", is_flag=True, help="Monitor and see suggestions for CPU optimizations") @click.option("--monitor", is_flag=True, help="Monitor and see suggestions for CPU optimizations")

View File

@ -1,6 +1,6 @@
name: auto-cpufreq name: auto-cpufreq
base: core20 base: core20
version: '1.3.4' version: '1.5.0'
summary: Automatic CPU speed & power optimizer for Linux summary: Automatic CPU speed & power optimizer for Linux
description: | description: |
Automatic CPU speed & power optimizer for Linux based on active Automatic CPU speed & power optimizer for Linux based on active
@ -35,6 +35,8 @@ parts:
apps: apps:
auto-cpufreq: auto-cpufreq:
command: bin/auto-cpufreq command: bin/auto-cpufreq
environment:
PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
plugs: plugs:
- cpu-control - cpu-control
- system-observe - system-observe