Skip to content

fix: show the CPU's busy time beside Utility in the hover card - #439

Merged
ataturhan21 merged 1 commit into
mainfrom
fix/438-cpu-busy-time-in-card
Nov 30, 2026
Merged

ataturhan21 merged 1 commit into
mainfrom
fix/438-cpu-busy-time-in-card

Conversation

@ataturhan21

Copy link
Copy Markdown
Member

What changes

  • Windows sampler: also reads Processor Information(_Total)\% Processor Time (busy time) when the CPU value comes from % Processor Utility. When Utility isn't available the value already is busy time, so nothing extra is read or shown.
  • Hover card, CPU row: the sub line now reads Busy 15% · Utility counts turbo · Intel Core i7-10850H. The busy time comes first so the ellipsis on a narrow card never cuts it; the CPU name is shortened ((R), (TM), CPU @ 2.70GHz dropped) to leave room.
  • The main CPU value, the pill, alerts and the 24-hour chart are unchanged (still Utility, matching Task Manager).
  • Screen reader text follows the sub line: "CPU 23% (Busy 15%, Utility counts turbo, Intel Core i7-10850H), top: ...".
  • 1 new self-test check (busy line, short name, name only when busy time is unknown); the accessibility check updated; README check count 199 -> 200, a README sentence and 1 CHANGELOG line.

Windows only: the GNOME and macOS ports already show busy time (they have no turbo-weighted counter), so they need no counterpart.

Checks

  • sh tools/verify.sh windows-core: build OK, self-test 200 passed, 0 failed.
  • sh tools/verify.sh privacy: clean.
  • --render before and after, reviewed by a separate Claude agent: in the normal, top and compact cards the new line reads in full, nothing else moved, no overlap, contrast unchanged. Known limit: on the live 2-column card at 125% with a long name ("Intel Core Ultra 7 258V") the name's end is cut by the ellipsis; the busy value stays readable.

Fixes #438

@ataturhan21
ataturhan21 merged commit 7f1daf4 into main Nov 30, 2026
5 checks passed
@ataturhan21
ataturhan21 deleted the fix/438-cpu-busy-time-in-card branch November 30, 2026 01:15
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.

Windows CPU value counts turbo and reads far above busy time

1 participant