<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCDeviceBattery/State",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Game Controller",
      "GameController"
    ],
    "preciseIdentifier" : "c:@E@GCDeviceBatteryState"
  },
  "title" : "GCDeviceBattery.State"
}
-->

# GCDeviceBattery.State

A state that indicates whether a device’s battery has power and is charging.

```
enum State
```

## Topics

### States

[`GCDeviceBatteryStateUnknown`](/documentation/GameController/GCDeviceBattery/State/unknown)

The state of the device’s battery is unknown.

[`GCDeviceBatteryStateDischarging`](/documentation/GameController/GCDeviceBattery/State/discharging)

The device’s battery is discharging.

[`GCDeviceBatteryStateCharging`](/documentation/GameController/GCDeviceBattery/State/charging)

The device’s battery has power and is charging, but isn’t fully charged.

[`GCDeviceBatteryStateFull`](/documentation/GameController/GCDeviceBattery/State/full)

The device’s battery has power and is fully charged.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)