Skip to content

Add cumulative energy cost totals to Stats - #34

Draft
EClinick wants to merge 10 commits into
masterfrom
task/ec/app-energy-cost
Draft

Add cumulative energy cost totals to Stats#34
EClinick wants to merge 10 commits into
masterfrom
task/ec/app-energy-cost

Conversation

@EClinick

@EClinick EClinick commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Summary

  • show cumulative recorded energy and estimated electricity cost in battery Stats
  • show total metered energy, estimated cost, monitored duration, and system uptime in Mac mini Stats
  • show system uptime alongside battery energy and cost totals
  • ignore invalid or overflowing recorded-energy values when calculating totals
  • clarify that uptime is since the last restart while cost follows the selected Stats range

Why

Per-app costs are useful, but users also need range-wide context: how much energy Juice recorded, approximately what it cost, how long the current system boot has lasted, and—on Mac mini—how much of the selected range Juice actually monitored. Battery totals remain limited to attributed app energy and explicitly exclude untracked hardware and charging losses.

Verification

  • make test: 540 tests passed across 58 suites
  • make app: signed universal arm64 and x86_64 development bundle verified
  • git diff --check

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
website Ignored Ignored Preview Aug 21, 2026 9:13pm

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