Add NSHost to CFChatterClient.
Add the observer callback to your CFChatterClient.
If you run scf-dump on a laptop, you’ll probably see something like this:
key is State:/IOKit/PowerSources/InternalBattery-0 Max Capacity : 962 Current Capacity : 962 Name : InternalBattery-0 Is Present : 1 Is Charging : 0 Time to Full Charge : 0 Transport Type : Internal Time to Empty : 0 Power Source State : AC Power
Extend the SCFMonitor application to ...