Returns a blob of Power Source information in an opaque CFTypeRef.
- macOS 10.2+
- Mac Catalyst 13.0+Beta
NULL if errors were encountered, a CFTypeRef otherwise. Caller must CFRelease() the return value when done accessing it.
Clients should not directly access data in the returned CFTypeRef - they should use the accessor functions IOPSCopyPowerSourcesList and IOPSGetPowerSourceDescription, instead.