IOPSGetTimeRemainingEstimatethe function returns the amount of remaining power.
Quoted from the discussion section:
When connected to an "Unlimited" power supply, for example, from an AC source or any other external source, the return value is kIOPSTimeRemainingUnlimited
"", , , , (, AC Power), - kIOPSTimeRemainingUnknown
, "", , CFTimeInterval , .
, IOPSCopyPowerSourcesInfo > IOPSGetPowerSourceDescription > .
IOPSNotificationCreateRunLoopSource , .