Story

Show HN: Open-source library to get detailed power and system info for Macs

binsquare Wednesday, November 19, 2025

Opensourcing a library that creates an api on getting protected information from MacOS's powermetrics binary.

If you're working on a project that needs detailed information on a mac regarding energy consumption or CPU|GPU utilization, you'll find there is no straight forward api on that.

This library tries to solve that for go devs.

Summary
The article introduces powermetrics-go, a Go library for gathering and analyzing system performance metrics. It provides a simple and efficient way to measure various system-level metrics, including CPU, memory, and disk usage, on multiple platforms.
3 0
Summary
github.com
Visit article Read on Hacker News