PowerFlow
PowerFlow (formerly TuxArmory / tux-armory) is a lightweight, cross-distribution Linux hardware and performance control center designed for gaming laptops and workstations. It provides both an intuitive PySide6 desktop interface and a scriptable command-line utility for managing power profiles, GPU switching, battery health thresholds, keyboard backlighting, and live hardware telemetry.
Features
- Power Profiles: Seamless switching across Quiet, Balanced, and Performance modes using Linux kernel ACPI (
platform_profile) andpower-profiles-daemon. - GPU Switching & PRIME Offload: Hybrid and Integrated GPU management via
supergfxctl,envycontrol, orsystem76-power, plus on-demand dGPU application execution via NVIDIA PRIME render offload. - Battery Health Preservation: Configurable charging limits (60%, 80%, 100%) via standard sysfs battery thresholds, Lenovo IdeaPad conservation mode, and ThinkPad charge stop controls.
- Keyboard Lighting: Multi-mode RGB lighting and brightness controls with support for ASUS Aura, OpenRGB, and generic Linux kernel sysfs LED backlights.
- Hardware Telemetry: Real-time monitoring of CPU governors, thermal sensors, fan speeds, and NVIDIA GPU statistics (temperatures, power draw, and VRAM utilization).
- Desktop Integration: Polkit-authenticated sysfs helper for secure unprivileged tuning, tray menu with background polling, and responsive Qt interface.
Installation
# Install from PyPI (CLI)
python -m pip install powerflow-linux
# Install from PyPI with GUI dependencies
python -m pip install 'powerflow-linux[gui]'
# Or install from source
python -m pip install '.[gui]'
Desktop & Launcher Setup
Install the desktop entry and system icons:
data/install-desktop-entry
To enable unprivileged battery limit and platform profile updates via PolicyKit:
sudo ./install-helper.sh
CLI Usage
# View system hardware status
powerflow status
# View and set power profile
powerflow profiles
powerflow set-profile balanced
# GPU control
powerflow gpu
powerflow set-gpu Hybrid
# Set battery charge limit
powerflow set-charge-limit 80
# Keyboard lighting
powerflow aura mode "Colour Cycle"
powerflow aura brightness 3
Architecture
For an overview of the modular backend drivers, sysfs integration, and extension points, see docs/ARCHITECTURE.md.
Metadata
Release files for powerflow-linux 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| powerflow_linux-0.2.2.tar.gz | 109.6 kB | With provenance | Details for powerflow_linux-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| powerflow_linux-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for powerflow_linux-0.2.2-py3-none-any.whl |
Total release size: 146.2 kB
Release files / powerflow_linux-0.2.2.tar.gz
| Download URL | powerflow_linux-0.2.2.tar.gz |
|---|---|
| Size | 109.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce6c53ba02ca2fb3b105b32fa7343b7c9daaeeb10d704d38a94fe8f54eb1d3c5
|
|
BLAKE2b-256 checksum How to use checksums |
fe4b1f8cc3d580cd0993cbc9fe5d4f78cc153198cdceea1c72950ad82f91a436
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logRelease files / powerflow_linux-0.2.2-py3-none-any.whl
| Download URL | powerflow_linux-0.2.2-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
843ad2515473387974c8d397e6ff1203966e32b4b785a375cdac2a5df025ca20
|
|
BLAKE2b-256 checksum How to use checksums |
3afcf201965cbaa32c4e8928ce0ca1487e31ee53deeaac9325bdbdcaa7c274f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logSecurity for powerflow-linux 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for powerflow_linux-0.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.