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.