I have a process A that has registered for sleep/wake notifications, via IORegisterForSystemPower. When it receives the message kIOMessageSystemWillSleep<
IORegisterForSystemPower
kIOMessageSystemWillSleep<