Sets a property in the assertion.
- macOS 10.7+
- Mac Catalyst 13.0+
Returns kIOReturnNotPriviliged if the caller doesn't have permission to modify this assertion. Returns kIOReturnNotFound if PM can't locate this assertion. Returns kIOReturnError upon an unidentified error. Returns kIOReturnSuccess otherwise.
Only the process that created an assertion may change its properties.