Skip to content

Tags

Tags

v0.3.5

Toggle v0.3.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add Charge to Full and smart charging controls (#33)

* Add Charge to Full for smart charging holds

* Fix smart-charging client ownership

* Fix charge hold state reconciliation

* Add smart charging settings

* Fix smart charging review findings

* Harden smart charging reconciliation

v0.3.4

Toggle v0.3.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Keep popover update actions on one row (#31)

v0.3.3

Toggle v0.3.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Keep popover update controls on one line (#30)

* Keep popover update controls on one line

* Clarify the automatic update accessibility hint

* Adapt update controls to larger text

v0.3.2

Toggle v0.3.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Restore update controls and expand Settings (#29)

* Restore update controls and expand Settings

* Make bounded process output collection deterministic

v0.3.1

Toggle v0.3.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add launch-at-login settings (#28)

* Add launch-at-login settings

* Guard login item registration location

* Fix initial settings window placement

* Allow canceling pending login registration

v0.3.0

Toggle v0.3.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Energy Mode control in the popover (#27)

* Add Energy Mode control: XPC v4 setPowerMode and gauge-hero popover top zone

The helper gains its first mutating operation (protocol v4): setPowerMode validates mode/scope whitelists, writes via pmset with argv arrays, and replies with the state read back after the write. The popover top zone is redesigned as a ring gauge tinted by the active mode plus three Control Center style mode buttons; reads are unprivileged pmset parses, writes go through the root helper.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Replace mode button row with Orbit picker docked on the charge gauge

The Energy Mode control becomes a 22 pt badge seated on the gauge ring at bottom-trailing; tapping it fans the other modes out around the ring (staggered scale/blur entrance, reduce-motion aware). The footnote now always names the active mode since the labeled buttons are gone. Revert this commit to restore the three-button row.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Open the orbit fan as a triangle hugging the badge, all modes visible

The fan now shows every available mode with the active one accent-filled, arcing from the badge's trailing side down past vertical (25-95 degrees) so nothing floats over the headline; re-picking the active mode dismisses without a write.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Orbit the fan around the badge at a uniform radius

Fan buttons were positioned on a circle around the gauge, leaving uneven 2-17 pt edge gaps from the badge; they now sit on a 30 pt circle around the badge itself so the open fan's padding reads uniform.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Address review findings on the power-mode privilege boundary and state machine

Helper: pmset transactions are serialized process-wide and bounded by a 10s deadline (shared BoundedProcess drains both pipes concurrently and reaps stalled commands). A High Power write that exits 0 but reads back unchanged now throws unsupportedPowerMode - only that gets cached as hardware refusal, so transient failures no longer permanently hide the option. Parser: a machine reporting only one power-source section mirrors it instead of failing (AC-only desktops), unknown sections are ignored rather than misattributed, and powermode beats lowpowermode deterministically. Controller: a stale in-flight refresh can no longer clobber a newer write, writes target the power source that is live at write time, reads are deadline-bounded, and the outdated-helper notice clears when the helper registration becomes ready. Popover: Refresh and power-source changes now re-read Energy Mode.

* Harden bounded process execution and power-mode transaction semantics

Round-2 review fixes: pipe draining now respects the process deadline even when a descendant holds the write ends open; helper transactions share one 10s budget including a bounded 2s lock wait; external pmset writes during a transaction are no longer misclassified as hardware refusal; a present-but-keyless pmset section is an error instead of silently mirroring the other source; no-op mode selection is decided against the live power source in the controller; failed writes invalidate older in-flight refreshes; the popover re-reads Energy Mode on each battery reading so external Automatic/High Power changes surface while open; the probe's local pmset read is bounded; the stale-refresh test synchronizes with an explicit handshake.

* Refuse to start privileged commands on a spent budget; heal a poisoned High Power cache

An exhausted transaction budget now throws before each spawn instead of launching the write with a zero deadline, so the machine can never change after the client already reported failure. The controller clears the cached High Power refusal whenever a read or write observes High Power actually set - an external pmset write racing the helper's read-back can poison that cache on a supported machine, and observed reality outranks the heuristic.

* Parse and write the dual-boolean lowpowermode/highpowermode key layout

Earlier M1/M2 Max Macs expose separate lowpowermode and highpowermode booleans instead of the tri-state powermode key; the parser treated any lowpowermode host as incapable of High Power, misreading an active High Power as Automatic and hiding the option. PowerModeState now carries an explicit key layout (unified, dualBoolean, lowPowerOnly), the parser combines the booleans with powermode taking precedence, and the writer derives a per-layout write plan - dual-boolean machines get both keys written, clearing key first, within the same transaction budget. Old JSON payloads still decode via the legacy boolean.

v0.2.14

Toggle v0.2.14's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Sortable columns, search filter, and collapsible live section for Sta…

…ts tables (#26)

* Add sortable columns and search filter to Stats tables

- Column headers cycle through three states on click: natural direction,
  flipped, then off (back to default order)
- Hover preview arrows indicate the sort direction a click would apply
- Add a search filter for the Stats app tables on both the battery and
  Mac mini dashboards
- Introduce a shared juiceStandardEase animation constant
- Add unit tests for the sorting and filtering behavior

https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Make the Stats live section collapsible on both dashboards

Share the popover's CollapsibleLiveHeader and use it for DRAWING POWER
NOW in the battery Today/Session tables and a new live/EARLIER split on
the Mac mini table. Row assembly moves to a pure, tested MacMiniAppRows
helper. Also widen the energy column to 88pt so ENERGY / COST stays on
one line, with a shrink-instead-of-wrap guard on all column titles.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Fix stale LIVE W sort and PEAK W sort jitter from review

Reset the table sort to natural order when live power leaves the table,
so a LIVE W sort cannot silently keep sorting by energy with its header
gone. Quantize PEAK W to its displayed precision before comparing, the
same guard LIVE W already has against same-value row swaps.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Round watts sort keys to even at midpoints to match displayed values

String(format: %.1f) rounds ties to even, so displayedLiveWatts must do
the same or an app hitting exactly 0.25 W keys as 0.3 while showing
0.2 W, letting rows move with no visible change.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Correct midpoint expectations in the watts quantization test

0.35 is above the true binary midpoint, so display and sort key both
round up; only exactly representable midpoints like 0.25 round to even.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

* Derive watts sort keys from the displayed format string

Arithmetic rounding imitations double-round: 0.45 * 10 lands on exactly
4.5 and ties-to-even keys it 0.4 while %.1f displays 0.5. Format the
value with the same %.1f/%.2f the row renders and parse it back, so key
and display can never disagree. Keys are computed once per row, and the
boundary tests are now verified against printf output.

Claude-Session: https://claude.ai/code/session_018mkxULoejU6mi9V73xmFG2

v0.2.13

Toggle v0.2.13's commit message
Make helper-registration and visibility-watch tests deterministic

v0.2.12

Toggle v0.2.12's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove popover scroll overlay band (#25)

v0.2.11

Toggle v0.2.11's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Unify battery and Mac mini stats dashboards (#21)