Defines

Topics

Constants

kIOPMAssertionDetailsKey

The CFDictionary key for assertion name. Setting this key is required when you're creating an assertion.

kIOPMAssertionFrameworkIDKey

Specify if the assertion creator is a framework.

kIOPMAssertionHumanReadableReasonKey

Optional key that provides a localizable string for macOS to display PM Assertions in the GUI.

kIOPMAssertionLevelKey

The CFDictionary key for assertion level in an assertion info dictionary.

kIOPMAssertionLocalizationBundlePathKey

Refers to a CFURL, as a CFString, identifying the path to the caller's bundle, which contains localization info.

kIOPMAssertionNameKey

The CFDictionary key for assertion name. Setting this key is required when you're creating an assertion.

kIOPMAssertionPlugInIDKey

Specify if the assertion creator is a plugin.

kIOPMAssertionTimeoutActionKey

Specifies the action to take upon timeout expiration.

kIOPMAssertionTimeoutKey

kIOPMAssertionTimeoutKey specifies an outer bound, in seconds, that this assertion should be asserted.

kIOPMAssertionTypeKey

The CFDictionary key for assertion type in an assertion info dictionary.

kIOPMAssertionTypeNoDisplaySleep

Use as AssertionType argument to IOPMAssertionCreate. The idle display will not sleep when enabled, and consequently the system will not idle sleep.

kIOPMAssertionTypeNoIdleSleep

Pass as the AssertionType argument to IOPMAssertionCreate. The system will not idle sleep when enabled (display may sleep). Note that the system may sleep for other reasons.

kIOPMAssertionTypePreventSystemSleep

Prevents the system from sleeping and allows the system to reside in Dark Wake for an arbitrary length of time.

kIOPMAssertionTypePreventUserIdleDisplaySleep

Prevents the display from dimming automatically.

kIOPMAssertionTypePreventUserIdleSystemSleep

Prevents the system from sleeping automatically due to a lack of user activity.

kIOPMCPUPowerNotificationKey

Key to register for BSD style notifications on CPU power or thermal change.

kIOPMThermalWarningNotificationKey

Key to register for BSD style notifications on system thermal warnings.

kIOSystemLoadAdvisoryBatteryLevelKey

Key for dictionary returned by IOCopySystemLoadAdvisoryDetailed

kIOSystemLoadAdvisoryCombinedLevelKey

Key for dictionary returned by IOCopySystemLoadAdvisoryDetailed

kIOSystemLoadAdvisoryNotifyName

The notification by this name fires when system "SystemLoadAdvisory" status changes.

kIOSystemLoadAdvisoryThermalLevelKey

Key for dictionary returned by IOCopySystemLoadAdvisoryDetailed

kIOSystemLoadAdvisoryUserLevelKey

Key for dictionary returned by IOCopySystemLoadAdvisoryDetailed

See Also