---
title: "readAttributeBatQuantity(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpowersource/readattributebatquantity(completion:)"
---

# readAttributeBatQuantity(completion:)

## Declaration

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

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