<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "EnergyKit",
  "identifier" : "/documentation/EnergyKit/ElectricVehicleChargingReason",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "EnergyKit"
    ],
    "preciseIdentifier" : "s:9EnergyKit29ElectricVehicleChargingReasonO"
  },
  "title" : "ElectricVehicleChargingReason"
}
-->

# ElectricVehicleChargingReason

Information about a charging-state transition in an electric vehicle status event.

```
enum ElectricVehicleChargingReason
```

## Overview

Use these reasons with [`ElectricVehicleStatusEvent`](/documentation/EnergyKit/ElectricVehicleStatusEvent) to provide information about why a vehicle is actively charging, or why it remains idle when connected to a charger. This information relates to the [`ElectricVehicleLoadEvent`](/documentation/EnergyKit/ElectricVehicleLoadEvent), which focuses on energy consumption. Link the two by providing the load event’s session identifier in status events.

For an example that demonstrates vehicle charging reasons, see [Optimizing home electricity usage](/documentation/EnergyKit/optimizing-home-electricity-usage).

## Topics

### Active charging reasons

[`enum ActiveReason`](/documentation/EnergyKit/ElectricVehicleChargingReason/ActiveReason)

Information about why a vehicle is actively charging.

### Idle state reasons

[`enum IdleReason`](/documentation/EnergyKit/ElectricVehicleChargingReason/IdleReason)

Information about why a vehicle remains idle when connected to a charger.



---

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)