<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "EnergyKit",
  "identifier" : "/documentation/EnergyKit/ElectricVehicleLoadEvent/ElectricalMeasurement/stateOfCharge",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "EnergyKit"
    ],
    "preciseIdentifier" : "s:9EnergyKit24ElectricVehicleLoadEventV21ElectricalMeasurementV13stateOfChargeSivp"
  },
  "title" : "stateOfCharge"
}
-->

# stateOfCharge

The remaining capacity available in a battery
An integer ranging from `0` to `100` that’s proportional
to the percentage of remaining capacity available in the battery
where `0` and `100` correspond to the min and max
state of charge respectively.

```
let stateOfCharge: Int
```

## Discussion

- `0`: empty
- `100`: full.

---

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)