Run powermetrics on a Mac and the first thing it tells you is powermetrics must be invoked as the superuser . For a one-off check that's fine. For a menu bar app that wants to show CPU temperature and package watts all day, asking for root is a non-starter: no one should hand a system monitor a privileged daemon just to read a thermometer.
While building Stat Space I wanted temperatures, power per rail, CPU and GPU clocks, and fan speeds, all as a normal user process. It's possible. Here's what each number actually comes from, how I load the private parts safely, and the things that differ between M1 and M4 that will bite you.
Three sources, two of them private
What Where it comes from Private?…