Fork of lzt1008/powerflow with fixes for macOS 27 beta (Darwin 27).
Powerflow monitors Mac power usage and charging status from the menu bar / tray.
Powerflow is a tame.gg project.
Upstream v0.2.2 can flash-quit on launch under macOS 27 because IORegistry / AppleSmartBattery plists changed shape. A bad Result transmute then turned parse failures into a SIGSEGV while panicking.
This fork:
- Fixes the IORegistry
Resulttransmute / panic path (no more launch SIGSEGV) - Makes IORegistry serde resilient with
serde(default) - Falls back to SMC-only metrics when IORegistry parse fails
- Restores mAh capacity fields from nested
BatteryDatawhen top-level keys are missing on macOS 27
Upstream issue/PR context: lzt1008/powerflow#17, PR #21.
Requires Rust, Node, and pnpm:
pnpm install
SQLX_OFFLINE=true pnpm tauri buildDebug binary:
SQLX_OFFLINE=true cargo build -p powerflowbrew tap tame-gg/tap
brew trust tame-gg/tap # Homebrew 6+
brew install --cask powerflowTap: tame-gg/homebrew-tap. Builds are unsigned, so the cask clears Gatekeeper quarantine after install.
Download from Releases, clear quarantine if needed, and open:
xattr -cr /Applications/Powerflow.app
open /Applications/Powerflow.app