<!--
{
  "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

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

The state of the device’s battery is unknown.

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

The device’s battery is discharging.

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

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

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

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



---

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)