Skip to content

Report which of CPU, memory or heat is under strain from the system provider #691

Closed

Description

@Seb-GRAF

Problem

A System monitor widget shows CPU, memory or both, chosen by hand (#587). It can't show whichever of CPU, memory or heat is under strain right now, so a compact widget either picks one metric and misses the others, or shows all of them. DuoBar's adaptive ring (#641) stays neutral while the Mac is calm and shows the metric under pressure when one is.

Proposal

The system provider also reports which metric is under strain, using the warnings it already computes for the System monitor (cpuWarning, memoryWarning, memory pressure and the thermal state):

  • fields.strain: cpu, memory or heat, the most severe warning (critical before warning; on a tie, heat, then memory, then CPU), or empty when nothing warns.
  • values.strain: that metric's level, 0–1: the CPU or memory fraction, or the thermal state as serious 0.67 and critical 1. It is 0 when nothing warns.
  • fields.strainIcon: a matching SF Symbol for a symbol block with source. The provider's own icon stays cpu, so existing System monitor widgets look the same.
  • A change, including back to nothing, applies only once it holds for 3 samples in a row, so the widget doesn't flicker between metrics.

With a ring block (#689), { "type": "ring", "source": "strain" } then follows whatever is under strain, and rules on fields.strain can color it.

Possible today

No. Rules and the System monitor's built-in warnings color a widget when a metric warns, but a layout can't change which value it shows.

Related

Triaged by Claude Code via T3 Code (Claude Opus 5.5).

Activity

  1. added
    enhancement
    on Nov 16, 2026
  2. stablebar-releases commented on Nov 16, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.16.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions