Skip to content

Prepare v1.2.0-rc.1 qualitative battery UX - #16

Merged
vermi5 merged 2 commits into
mainfrom
agent/async-dock-refresh-evidence
Jul 28, 2026
Merged

Prepare v1.2.0-rc.1 qualitative battery UX#16
vermi5 merged 2 commits into
mainfrom
agent/async-dock-refresh-evidence

Conversation

@vermi5

@vermi5 vermi5 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

What changed

  • Replace public battery percentages with Critical, Low, Medium, High, and Top across the tray, tooltip, local API, diagnostics, and Rainmeter.
  • Keep charging/charged as an independent state; Dock 0x06 is Top / Charging, while confirmed active-to-inactive 0x06 becomes Top / Charged.
  • Harden Dock removal, sleep/off, wake, unavailable, and transient Critical handling without changing the existing active EF stability filter.
  • Add the five-colour level palette, saturated controller LED colours, and source-aware red/yellow/blue Dock charging accents.
  • Update the local API to schema version 4 and align the bundled Rainmeter skin.
  • Set assembly metadata to 1.2.0.0 / 1.2.0-rc.1 and teach the tag workflow to publish suffixed versions as GitHub prereleases.

Why

Space Station uses five ordinary battery presentations plus a special charging glyph. Real Dock captures also show that raw state, charging activity, physical LED colour, controller presence, and completed charge are separate signals. The previous percentage-oriented presentation conflated those concepts and allowed short HID/Dock transitions to flash unavailable or Critical states.

Impact

The tray and Rainmeter now present source-independent qualitative levels. The local status API removes percent and estimated, so consumers must use schemaVersion: 4, bandLevel, band, charging, and power.

Validation

  • VaderBatteryTray/build.cmd
  • VaderBatteryTray/build_led_protocol_test.cmd
  • VaderBatteryTray/VaderLedProtocolSelfTest.exe
  • git diff --check
  • Local package: VaderBatteryTray-1.2.0-rc.1.zip
  • Local SHA-256: D7A9766A9862DE1CBB0211A27B8D572B77328D12C4627DA340329E352A32CA23
  • Physical Dock testing covered powered-off dock/undock, asleep/off presentation, active 0x04 High/Charging, firmware yellow pulse, and suppression of transient 0x01 Critical.

@vermi5
vermi5 marked this pull request as ready for review July 28, 2026 18:47
@vermi5
vermi5 merged commit 9bdecd4 into main Jul 28, 2026
2 checks passed
@vermi5
vermi5 deleted the agent/async-dock-refresh-evidence branch July 28, 2026 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant