<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/NSProcessInfoPowerStateDidChange",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@NSProcessInfoPowerStateDidChangeNotification"
  },
  "title" : "NSProcessInfoPowerStateDidChange"
}
-->

# NSProcessInfoPowerStateDidChange

Posts when the power state of a device changes.

```
static let NSProcessInfoPowerStateDidChange: NSNotification.Name
```

## Discussion

After your observer receives this notification, query the [`isLowPowerModeEnabled`](/documentation/Foundation/ProcessInfo/isLowPowerModeEnabled) property to determine the current power state of the device. If Low Power Mode is active, take appropriate steps to reduce activity in your app. Otherwise, your app can resume normal operations.

The notification object is a [`ProcessInfo`](/documentation/Foundation/ProcessInfo) instance.

## See Also

[`addObserver(_:selector:name:object:)`](/documentation/Foundation/NotificationCenter/addObserver(_:selector:name:object:))

Adds an entry to the notification center to call the provided selector with the notification.

[`isLowPowerModeEnabled`](/documentation/Foundation/ProcessInfo/isLowPowerModeEnabled)

A Boolean value that indicates the current state of Low Power Mode.

[`NotificationCenter`](/documentation/Foundation/NotificationCenter)

A notification dispatch mechanism that enables the broadcast of information to registered observers.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)