You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6cfbcd6
Browse filesBrowse the repository at this point in the historyBrowse files
feat(system): emit PixelArt sprites for monitor_battery
Extends `system_monitor_battery` with `Shape::PixelArt`. The battery
ratio routes through `sprites::battery_sprite()`, picking one of five
buckets and labelling it with the formatted percent + state
(`"42% · Discharging"`). Hosts without a battery render the AC-power
case as the full-tier sprite labelled `"AC"`.
Refs #261.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@@ -111,7 +112,13 @@ impl RealtimeFetcher for SystemMonitorBattery {
111
112
"Charge level and state of the primary (or `index`-selected) battery. `Ratio` drives gauges, `Text` formats a summary line whose field is picked by `kind`, and `Entries` rolls up charge / state / time-left / cycles / health. Hosts without a battery render a steady `\"AC\"` placeholder."
0 commit comments