---
title: "readAttributeBatVoltage(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpowersource/readattributebatvoltage(completionhandler:)"
---

# readAttributeBatVoltage(completionHandler:)

## Declaration

```swift
func readAttributeBatVoltage(completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeBatVoltage() async throws -> NSNumber
```
