watts

Collect macOS power and battery metrics as JSON via a launchd daemon.

10|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Aayush9029/homebrew-tap --skill watts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: watts
Source: https://github.com/Aayush9029/homebrew-tap/tree/main/skills/watts
Command: npx skills add https://github.com/Aayush9029/homebrew-tap --skill watts

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

macOS laptops and desktops suffer from undetected battery degradation and opaque power usage patterns. watts provides continuous background monitoring to log battery stats and power events for later analysis.

Core Features & Use Cases

  • Background battery and power logging via a launchd daemon to run persistently.
  • Exposes simple JSON data for integration with dashboards, scripts, or reports.
  • Useful for monitoring battery health trends, identifying power-hungry processes, and validating device performance over time.

Quick Start

Install watts with Homebrew and start the launchd daemon to begin collecting power data.

Frequently Asked Questions about watts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor macOS battery health and power usage over time?

Monitor macOS battery health by running a background launchd daemon that continuously collects power metrics and logs battery stats as JSON data for long-term analysis and auditing.

What is the best way to log power events and battery stats on macOS for dashboards?

Logging power events for dashboards requires a persistent launchd daemon that exposes simple JSON-formatted output, which allows direct integration with scripts, reports, and monitoring dashboards.

Do I need a launchd daemon to continuously track battery degradation on macOS?

Yes, tracking battery degradation continuously requires a launchd daemon to run persistently in the background, ensuring power usage and battery stats are collected without manual intervention.

Can I use macOS power metrics JSON output for performance profiling?

Yes, you can use the JSON output from collected macOS power metrics for performance profiling, identifying power-hungry processes, and validating device energy usage trends over time.

Why does my macOS battery health monitoring need persistent configuration?

Persistent configuration is needed for macOS battery health monitoring to ensure the launchd daemon survives reboots and continuously logs power events and battery stats for later analysis.