---
title: batteryLevelDidChangeNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uidevice/batteryleveldidchangenotification
---

# batteryLevelDidChangeNotification

A notification that posts when the battery level changes.

## Declaration

```swift
nonisolated class let batteryLevelDidChangeNotification: NSNotification.Name
```

## Mentioned in

Processing queued notifications

## Discussion

Discussion For this notification to be sent, you must set the isBatteryMonitoringEnabled property to true. Notifications for battery level change are sent no more frequently than once per minute. Don’t attempt to calculate battery drainage rate or battery time remaining; drainage rate can change frequently depending on built-in applications as well as your application. You can obtain the battery level by getting the value of the batteryLevel property.

## See Also

### Managing notifications

- [batteryStateDidChangeNotification](uikit/uidevice/batterystatedidchangenotification.md)
- [orientationDidChangeNotification](uikit/uidevice/orientationdidchangenotification.md)
- [proximityStateDidChangeNotification](uikit/uidevice/proximitystatedidchangenotification.md)
