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

@ -29,12 +29,14 @@ Supported devices must have an Intel, AMD or ARM CPU's. This tool was developed
* 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