Type Property


Posted when the power state (Low Power Mode is enabled or disabled) of an iOS device changes.


static let NSProcessInfoPowerStateDidChange: NSNotification.Name


Once the notification is posted, query the isLowPowerModeEnabled property to determine the current power state of the device. If Low Power Mode is active, then your app can take appropriate steps to reduce activity. Otherwise, it can resume normal operations.

The notification object is an NSProcessInfo instance.

See Also


class let thermalStateDidChangeNotification: NSNotification.Name

Posted when the thermal state of the system changes.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software