You are browsing as a guest. Sign up (or log in) to start making projects!

27m 59s logged

Now I have low-level Access to macOS

This is just theory, but realistically I’m only a couple of hours away from making this true.


Upon extensive research and code review on various online posts and OSS, I was able to find that:

  1. Apple introduced a detailed sub-dictionary within the AppleSmartBattery node on Apple Silicon architectures (M1 and beyond), known as PowerTelemetryData.

  2. The PowerTelemetryData structure yields three critical metrics that must be utilized by my app:

    a) SystemPowerIn: This represents the total DC power entering the machine’s logic board directly from the external AC adapter, “prior to any internal routing”.

    b) BatteryPower: This metric indicates the precise amount of power actively being routed into the battery for charging, or being pulled from the battery for discharging. (However many projects instead preferred manual calculation using our standard Voltage * InstantAmperage formula, likely for better accuracy?).

    c) SystemLoad: This defines the total localized power being consumed internally by the logic board, the System-on-Chip, the display, and all active peripherals.


Stay tuned, I’m finally gonna play with these metrics!

1
109

Comments 0

No comments yet. Be the first!