Low-overhead Linux power management, Multi-DE Adaptive Refresh (60–165Hz), ffctl blame wakeup profiler, ffctl doctor residency audit, s2idle sleep-drain analytics, and a Cosmic Space GTK4 UI.
Live watt/thermal sparkline, USB-PD negotiation status, ToF distance gauge, and GPU-isolated corner space backdrop (~5% CPU).
Attributes exact ~Watts & battery minutes lost per process, tracks discrete D0 GPU zombies, and pauses background hogs safely.
Instant Battery/AC EPP, PCIe ASPM, NVMe/USB PM, and ff-power-autoboost orchestration with single-click presets.
Zero-latency 60↔120Hz battery switching plus ≤18cm IR hand-wave actions for media pause, privacy dim, and session lock.
Hand-written x86_64 assembly routines decode ST VL53L1 HID Report 4 packets and read sysfs power/thermal nodes directly via syscalls with minimal memory footprint.
ffctl blame --json ranks top CPU/wakeup offender processes & active PCI/USB hardware in 250ms, while ffctl doctor verifies s2idle hooks and PCI PM ratios.
ff-sleep-guard disables spurious USB/Thunderbolt wakeups and computes exact sleep duration, Wh used, and standby wattage via ffctl sleep-report.
One-click 80% Battery Conservation (IdeaPad VPC2004 + standard charge_control_end_threshold), One-Shot 100% Charge Watchdog, Fn-Lock, and USB charge control.
Real-time fuel-gauge analytics: design vs full-charge capacity (Wh), cycle count, voltage, NVMe/Wi-Fi thermals, and machine-readable JSON via ffctl health --json.
Lightweight GNOME Shell extension displaying live wattage draw, SSD/Wi-Fi °C, GPU clocks, Wh savings counter, MPRIS controls, Focus Mode, and quick profile toggles.
Anti-burn-in panel shift on HiDPI scales, 15s inactivity dimming, and instant DPMS screen-off when walking away without disturbing active video/audio playback.
Zero-overhead process watcher boosts compilers (gcc, cargo), Proton/Wine games, and local LLMs, while tapering RAPL PL1 limits at ≥90°C to prevent throttling.
Dynamically discovers P/E/LP-E cores, Intel Xe GuC SLPC, i915, and AMD Radeon DPM / k10temp nodes, pinning interactive compositor and HID/GPU IRQs cleanly.
Continuous millimeter-precision distance tracking over Intel ISH HID. Blanks display beyond 1.2m and wakes cleanly upon return, using zero webcam access.
Drops refresh rate to 60Hz after 8s idle strictly on battery via Mutter.IdleMonitor and restores full 120Hz+ VRR at 0ms on keyboard or touchpad input.
Tabbed terminal dashboard (ff-tui) with single-key profile switching, 80% conservation toggle ([K]), live ToF radar bar, and sysfs read-back checks.
Unprivileged CLI/TUI binaries delegating privileged sysfs writes via explicit fork()/execv() PolicyKit boundaries across Ubuntu (sudo) and Fedora (wheel).
ffctl)| Command | Description | Details |
|---|---|---|
ffctl status [--json] |
Live hardware status (Watts, battery %, CPU package temp, ARR Hz, EPP, ToF). | Native C • JSON ready |
ffctl doctor [--json] |
Inspect sleep guard hook, ACPI wakeups, PCI PM ratios, and daemon conflicts. | < 2 ms Hardware Audit |
ffctl blame [--json] |
Rank top processes by CPU, wakeups/sec, ~Watts, minutes lost & active dGPU/PCI blockers. |
250 ms Live Profiler |
ffctl setup [--apply] |
Auto-discover CPU tiers, USB-C PD, dGPU, ToF & recommend/apply optimal power policies. | Hardware Setup Wizard |
ffctl bundle [path] |
Export scrubbed .tar.gz diagnostics (masks usernames, hosts, MACs, IPs & UUIDs). |
Privacy-Safe Export |
ffctl throttle PID |
Safely freeze/resume/deprioritize background battery hogs (protects system/DE PIDs). | Safe Signal / IONice |
ffctl sleep-report [--json] |
Inspect last s2idle/deep suspend duration, Wh consumed, and avg standby W. | ff-sleep-guard Telemetry |
ffctl health [--json] |
Display factory design capacity, full capacity, cycle count, and health score. | Native Sysfs |
ffctl conservation on|off |
Toggle 80% battery conservation (Lenovo VPC2004 & standard sysfs thresholds). | PolicyKit / Sysfs |
ffctl sensor live |
Stream continuous real-time distance and packet telemetry to terminal. | Raw HID / Sub-ms ASM |
ffctl apply [profile] |
Apply battery, ac, cool_quiet, max_battery, or extreme_performance. |
Hardware Verified |
ff-tui / ff-power-manager |
Launch interactive terminal dashboard or GTK4/Libadwaita control center. | ncurses & GTK4 |
Hi! I am Furkan, an 18-year-old Computer Engineering student. I built FF Power Manager to solve real Linux laptop power and firmware quirks—such as high idle draw, s2idle suspend wakeups, hybrid P/E/LP-E scheduler latency, static OLED refresh waste, and Intel ISH ToF presence integration—using direct kernel sysfs interfaces, C/x86_64 assembly, and GNOME Wayland D-Bus APIs.
AI-Assisted Development: Engineered in collaboration with Google DeepMind Antigravity for C/assembly optimization, automated unit testing, and multi-distro PolicyKit/packaging hardening, with all hardware telemetry verified directly on bare-metal Linux machines.