auto-cpufreq/snap/snapcraft.yaml

44 lines
993 B
YAML
Raw Normal View History

name: auto-cpufreq
base: core18
2020-02-09 11:59:39 +01:00
version: '1.0'
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-02-09 11:59:39 +01:00
grade: stable
confinement: strict
parts:
auto-cpufreq:
plugin: python
python-version: python3
source: .
2020-01-22 20:46:02 +01:00
deploy-cpufrectl:
plugin: dump
source: scripts
organize:
cpufreqctl.sh: usr/bin/cpufreqctl
apps:
auto-cpufreq:
command: bin/auto-cpufreq
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
2020-01-24 15:53:25 +01:00
PKG_MARKER: SNAP
plugs:
- cpu-control
- system-observe
- hardware-observe
- system-files
service:
2020-01-24 15:53:25 +01:00
command: bin/auto-cpufreq --daemon 2>&1 | tee -a /var/log/auto-cpufreq.log
environment:
LC_ALL: C.UTF-8
LANG: C.UTF-8
PKG_MARKER: SNAP
2020-02-09 11:59:39 +01:00
daemon: simple