<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDevice/isBatteryMonitoringEnabled",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDevice(py)batteryMonitoringEnabled"
  },
  "title" : "isBatteryMonitoringEnabled"
}
-->

# isBatteryMonitoringEnabled

A Boolean value that indicates whether battery monitoring is enabled.

```
var isBatteryMonitoringEnabled: Bool { get set }
```

## Discussion

Enable battery monitoring if your app needs to be notified of changes to the battery state, or if you want to check the battery charge level.

The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>, which:

- Disables the posting of battery-related notifications
- Disables the ability to read battery charge level and battery state

## See Also

[`batteryLevelDidChangeNotification`](/documentation/UIKit/UIDevice/batteryLevelDidChangeNotification)

A notification that posts when the battery level changes.

[`batteryStateDidChangeNotification`](/documentation/UIKit/UIDevice/batteryStateDidChangeNotification)

A notification that posts when battery state changes.



---

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)