<!--
{
  "availability" : [
    "iOS: 10.3.0 -",
    "iPadOS: 10.3.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INGetCarPowerLevelStatusIntentResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INGetCarPowerLevelStatusIntentResponse"
  },
  "title" : "INGetCarPowerLevelStatusIntentResponse"
}
-->

# INGetCarPowerLevelStatusIntentResponse

Your app’s response to a request for the vehicle power level.

```
class INGetCarPowerLevelStatusIntentResponse
```

## Overview

Use an `INGetCarPowerLevelStatusIntentResponse` object to specify the result of a request for a vehicle’s current power level. You create instances of this class when confirming or handling a power level status intent, or when reporting abrupt changes in an electric vehicle’s battery charge. Use this object to confirm that the request is valid, to communicate whether the app receives the power level data from the vehicle, or to report any errors that occur.

You create an `INGetCarPowerLevelStatusIntentResponse` object in the [`confirm(intent:completion:)`](/documentation/Intents/INGetCarPowerLevelStatusIntentHandling/confirm(intent:completion:)) and [`handle(intent:completion:)`](/documentation/Intents/INGetCarPowerLevelStatusIntentHandling/handle(intent:completion:)) methods of your intent handler object, and when calling [`didUpdate(getCarPowerLevelStatus:)`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponseObserver/didUpdate(getCarPowerLevelStatus:)) to notify Maps about abrupt battery charge changes in the user’s electric vehicle.

For more information about implementing your intent handler object, see [`INGetCarPowerLevelStatusIntentHandling`](/documentation/Intents/INGetCarPowerLevelStatusIntentHandling).

## Topics

### Creating a Response Object

[`init(code: INGetCarPowerLevelStatusIntentResponseCode, userActivity: NSUserActivity?)`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/init(code:userActivity:))

Initializes the response object with the specified code and user activity.

### Getting the Response Code

[`var code: INGetCarPowerLevelStatusIntentResponseCode`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/code)

The code that indicates success or failure when confirming or handling an intent.

[`enum INGetCarPowerLevelStatusIntentResponseCode`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponseCode)

Constants that indicate the status of the response.

### Identifying the Vehicle

[`var carIdentifier: String?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/carIdentifier)

A unique identifier for the vehicle.

### Providing Fuel, Charge, and Distance Information

[`var chargePercentRemaining: Float?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/chargePercentRemaining-51zwv)

The percentage of charge that remains for the electric vehicle.

[`var fuelPercentRemaining: Float?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/fuelPercentRemaining-56xw3)

The percentage of fuel that remains for the fuel-powered vehicle.

[`@property (nonatomic, copy, readwrite, nullable) NSNumber * chargePercentRemaining;`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/chargePercentRemaining-30zol)

The percentage of charge that remains for the electric vehicle.

[`@property (nonatomic, copy, readwrite, nullable) NSNumber * fuelPercentRemaining;`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/fuelPercentRemaining-6mdv4)

The percentage of fuel remaining for the fuel-powered vehicle.

[`var maximumDistance: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/maximumDistance)

The maximum rated distance the vehicle can travel with full resources.

[`var distanceRemaining: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/distanceRemaining)

The maximum distance the vehicle can travel with the remaining resources.

[`var maximumDistanceElectric: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/maximumDistanceElectric)

The maximum rated distance the electric vehicle can travel on a full charge.

[`var distanceRemainingElectric: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/distanceRemainingElectric)

The maximum distance the electric vehicle can travel with the remaining charge.

[`var maximumDistanceFuel: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/maximumDistanceFuel)

The maximum rated distance the fuel-powered vehicle can travel with a full tank of fuel.

[`var distanceRemainingFuel: Measurement<UnitLength>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/distanceRemainingFuel)

The maximum distance the fuel-powered vehicle can travel with the remaining fuel.

### Providing the Charge Status

[`var activeConnector: INCar.ChargingConnectorType?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/activeConnector)

The type of connector that’s currently delivering charge to the electric vehicle’s battery.

[`var charging: Bool?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/charging-6xnqj)

A Boolean value that indicates whether the electric vehicle is currently charging.

[`var minutesToFull: Int?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/minutesToFull-2kbt6)

The number of minutes it takes to fully charge the electric vehicle’s battery.

[`@property (nonatomic, copy, readwrite, nullable) NSNumber * charging;`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/charging-7aamu)

A Boolean value that indicates whether the electric vehicle is currently charging.

[`@property (nonatomic, copy, readwrite, nullable) NSNumber * minutesToFull;`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/minutesToFull-25vcb)

The number of minutes it will take to fully charge the electric vehicle’s battery.

[`var dateOfLastStateUpdate: DateComponents?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/dateOfLastStateUpdate)

A timestamp that indicates the most recent charge status for the electric vehicle.

### Providing Battery Capacity

[`var minimumBatteryCapacity: Measurement<UnitEnergy>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/minimumBatteryCapacity)

A user-facing value that represents the minimum battery capacity of the electric vehicle.

[`var maximumBatteryCapacity: Measurement<UnitEnergy>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/maximumBatteryCapacity)

A user-facing value that represents the maximum battery capacity of the electric vehicle.

[`var currentBatteryCapacity: Measurement<UnitEnergy>?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/currentBatteryCapacity)

A user-facing value that represents the current battery capacity of the electric vehicle.

### Providing Formula Arguments

[`var chargingFormulaArguments: [String : Any]?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/chargingFormulaArguments)

The parameters the electric vehicle’s charging model uses to calculate the duration of a charge.

[`var consumptionFormulaArguments: [String : Any]?`](/documentation/Intents/INGetCarPowerLevelStatusIntentResponse/consumptionFormulaArguments)

The parameters the electric vehicle’s consumption model uses to calculate its energy consumption.

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

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

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

### Inherits From

[`INIntentResponse`](/documentation/Intents/INIntentResponse)

---

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)