2020-01-21 23:44:42 +01:00
|
|
|
name: auto-cpufreq
|
2020-09-02 14:21:01 +02:00
|
|
|
base: core20
|
2021-01-17 10:24:44 +01:00
|
|
|
version: '1.5.2'
|
2020-01-21 23:44:42 +01:00
|
|
|
summary: Automatic CPU speed & power optimizer for Linux
|
|
|
|
description: |
|
|
|
|
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.
|
|
|
|
|
2020-08-08 14:46:07 +02:00
|
|
|
license: LGPL-3.0
|
2020-02-09 11:59:39 +01:00
|
|
|
grade: stable
|
2020-02-10 17:51:18 +01:00
|
|
|
confinement: strict
|
2020-01-21 23:44:42 +01:00
|
|
|
|
|
|
|
parts:
|
|
|
|
auto-cpufreq:
|
|
|
|
plugin: python
|
2020-09-09 19:30:49 +02:00
|
|
|
python-packages:
|
|
|
|
- setuptools
|
|
|
|
- wheel
|
2020-08-05 23:29:19 +02:00
|
|
|
build-packages:
|
|
|
|
- gcc
|
|
|
|
- python3-dev
|
2020-09-23 18:05:24 +02:00
|
|
|
stage-packages:
|
|
|
|
- coreutils
|
2020-01-21 23:44:42 +01:00
|
|
|
source: .
|
|
|
|
|
2020-09-02 16:33:57 +02:00
|
|
|
deploy-scripts:
|
2020-01-22 20:46:02 +01:00
|
|
|
plugin: dump
|
|
|
|
source: scripts
|
|
|
|
organize:
|
|
|
|
cpufreqctl.sh: usr/bin/cpufreqctl
|
2020-09-02 16:33:57 +02:00
|
|
|
snapdaemon.sh: usr/bin/snapdaemon
|
2020-01-22 20:46:02 +01:00
|
|
|
|
2020-01-21 23:44:42 +01:00
|
|
|
apps:
|
|
|
|
auto-cpufreq:
|
|
|
|
command: bin/auto-cpufreq
|
2020-12-05 22:27:52 +01:00
|
|
|
environment:
|
|
|
|
PYTHONPATH: $SNAP/usr/lib/python3/site-packages:$SNAP/usr/lib/python3/dist-packages:$PYTHONPATH
|
2020-02-10 18:16:56 +01:00
|
|
|
plugs:
|
|
|
|
- cpu-control
|
|
|
|
- system-observe
|
|
|
|
- hardware-observe
|
2020-01-21 23:44:42 +01:00
|
|
|
environment:
|
|
|
|
LC_ALL: C.UTF-8
|
2020-01-22 22:26:27 +01:00
|
|
|
LANG: C.UTF-8
|
2020-01-24 15:53:25 +01:00
|
|
|
PKG_MARKER: SNAP
|
2020-08-05 23:29:19 +02:00
|
|
|
|
2020-02-10 18:16:56 +01:00
|
|
|
service:
|
2020-09-02 16:33:57 +02:00
|
|
|
command: usr/bin/snapdaemon
|
2020-02-10 17:51:18 +01:00
|
|
|
plugs:
|
|
|
|
- cpu-control
|
|
|
|
- system-observe
|
|
|
|
- hardware-observe
|
2020-01-24 15:53:25 +01:00
|
|
|
environment:
|
|
|
|
LC_ALL: C.UTF-8
|
|
|
|
LANG: C.UTF-8
|
|
|
|
PKG_MARKER: SNAP
|
2020-03-24 21:00:39 +01:00
|
|
|
daemon: simple
|