Apple Event: May 7th at 7 am PT

what's the difference between kIOPMAssertionTypePreventUserIdleSystemSleep and kIOPMAssertionTypeNoIdleSleep?

I'm develop an app for prevent sleep in Mac, trying to use the api IOPMAssertionCreateWithName, but I'm confused for whether I should use kIOPMAssertionTypePreventUserIdleSystemSleep or kIOPMAssertionTypeNoIdleSleep. In other words, I want to know what's the difference between kIOPMAssertionTypePreventUserIdleSystemSleep and kIOPMAssertionTypeNoIdleSleep?

MacBook Pro 13″, macOS 13.4

Posted on Apr 23, 2024 12:04 AM

Reply

Similar questions

There are no replies.

what's the difference between kIOPMAssertionTypePreventUserIdleSystemSleep and kIOPMAssertionTypeNoIdleSleep?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.