Cancel a previously scheduled power event.
- macOS 10.3+
- Mac Catalyst 13.0+Beta
Cancel entry with this date and time.
Cancel entry with this name.
Type to cancel
kIOReturnSuccess on success, otherwise on failure
Arguments mirror those to IOPMSchedulePowerEvent. All arguments must match the original arguments from when the power on was scheduled. Must be called as root.