Macro

kIOPMAssertionTimeoutKey

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

Declaration

#define kIOPMAssertionTimeoutKey

Discussion

If your application hangs, or is unable to complete its assertion task in a reasonable amount of time, specifying a timeout allows PM to disable your assertion so the system can resume normal activity. Once a timeout with the kIOPMAssertionTimeoutActionTurnOff assertion fires, the level will be set to kIOPMAssertionTimeoutActionTurnOff. The assertion may be re-armed by calling IOPMAssertionSetLevel.

This key may be specified in the dictionary passed to IOPMAssertionCreateWithProperties.

This key may be present in the dictionary returned from IOPMAssertionCopyProperties.