---
title: HMCharacteristicTypeBatteryLevel
framework: homekit
role: symbol
role_heading: Global Variable
path: homekit/hmcharacteristictypebatterylevel
---

# HMCharacteristicTypeBatteryLevel

The battery level of the accessory.

## Declaration

```swift
let HMCharacteristicTypeBatteryLevel: String
```

## Discussion

Discussion The corresponding value is an integer that’s the percentage of total battery capacity remaining.

## See Also

### Power and switches

- [HMCharacteristicTypeChargingState](homekit/hmcharacteristictypechargingstate.md)
- [HMCharacteristicTypeContactState](homekit/hmcharacteristictypecontactstate.md)
- [HMCharacteristicTypeOutletInUse](homekit/hmcharacteristictypeoutletinuse.md)
- [HMCharacteristicTypePowerState](homekit/hmcharacteristictypepowerstate.md)
- [HMCharacteristicTypeStatusLowBattery](homekit/hmcharacteristictypestatuslowbattery.md)
- [HMCharacteristicTypeOutputState](homekit/hmcharacteristictypeoutputstate.md)
- [HMCharacteristicTypeInputEvent](homekit/hmcharacteristictypeinputevent.md)
- [HMCharacteristicTypePowerModeSelection](homekit/hmcharacteristictypepowermodeselection.md)
