# EnergyProfile

# EnergyProfile

Artifact:[androidx.car.app:app](https://developer.android.com/jetpack/androidx/releases/car-app)  
[View Source](https://cs.android.com/search?q=file:androidx/car/app/hardware/info/EnergyProfile.java+class:androidx.car.app.hardware.info.EnergyProfile)  
Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)

*** ** * ** ***

Kotlin\|[Java](https://developer.android.com/reference/androidx/car/app/hardware/info/EnergyProfile "View this page in Java")

<br />

```
@CarProtocol
@RequiresCarApi(value = 3)
class EnergyProfile
```

<br />

*** ** * ** ***

Information about car hardware fuel profile such as fuel types and connector ports.

## Summary

|                                                                                                                        ### Nested types                                                                                                                        |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `class `[EnergyProfile.Builder](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile.Builder) A builder of[EnergyProfile](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile). |

|                                    ### Constants                                    |
|-------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_CHADEMO](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_CHADEMO())` = 3` CHAdeMo fast charger connector                 |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_COMBO_1](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_COMBO_1())` = 4` Combined Charging System Combo 1               |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_COMBO_2](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_COMBO_2())` = 5` Combined Charging System Combo 2               |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_GBT](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_GBT())` = 9` GBT_AC Fast Charging Standard                          |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_GBT_DC](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_GBT_DC())` = 10` GBT_DC Fast Charging Standard                   |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_J1772](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_J1772())` = 1` Connector type SAE J1772                           |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_MENNEKES](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_MENNEKES())` = 2` IEC 62196 Type 2 connector                   |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_OTHER](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_OTHER())` = 101` Connector type to use when no other types apply. |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_SCAME](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_SCAME())` = 11` IEC_TYPE_3_AC connector                           |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_TESLA_HPWC](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_TESLA_HPWC())` = 7` High Power Wall Charger of Tesla         |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_TESLA_ROADSTER](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_TESLA_ROADSTER())` = 6` Connector of Tesla Roadster      |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_TESLA_SUPERCHARGER](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_TESLA_SUPERCHARGER())` = 8` Supercharger of Tesla    |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [EVCONNECTOR_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_UNKNOWN())` = 0` Unknown connector type.                        |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_BIODIESEL](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_BIODIESEL())` = 5` Biodiesel                                                |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_CNG](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_CNG())` = 8` Compressed natural gas                                               |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_DIESEL_1](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_DIESEL_1())` = 3` #1 Grade Diesel                                            |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_DIESEL_2](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_DIESEL_2())` = 4` #2 Grade Diesel                                            |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_E85](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_E85())` = 6` 85% ethanol/gasoline blend                                           |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_ELECTRIC](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_ELECTRIC())` = 10` Electric                                                  |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_HYDROGEN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_HYDROGEN())` = 11` Hydrogen fuel cell                                        |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_LEADED](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_LEADED())` = 2` Leaded gasoline                                                |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_LNG](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_LNG())` = 9` Liquified natural gas                                                |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_LPG](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_LPG())` = 7` Liquified petroleum gas                                              |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_OTHER](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_OTHER())` = 12` Fuel type to use when no other types apply.                     |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_UNKNOWN())` = 0` Unknown fuel type                                            |
| `const `[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html) | [FUEL_TYPE_UNLEADED](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_UNLEADED())` = 1` Unleaded gasoline                                          |

|                                                                                                                                                                                     ### Public functions                                                                                                                                                                                     |
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)                                                                                                                                                                                                                                                                                                          | [equals](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#equals(java.lang.Object))`(other: `[Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html)`?)` |
| [CarValue](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/common/CarValue)`<(`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`!>!>` | [getEvConnectorTypes](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#getEvConnectorTypes())`()` Returns an array of the available EV connectors.                           |
| [CarValue](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/common/CarValue)`<(`[Mutable](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-mutable-list/index.html)`)`[List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)`<`[Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)`!>!>` | [getFuelTypes](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#getFuelTypes())`()` Returns an array of the available fuel types.                                            |
| [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)                                                                                                                                                                                                                                                                                                                  | [hashCode](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#hashCode())`()`                                                                                                  |
| [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)                                                                                                                                                                                                                                                                                                            | [toString](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#toString())`()`                                                                                                  |

## Constants

### EVCONNECTOR_TYPE_CHADEMO

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_CHADEMO = 3: Int
```

CHAdeMo fast charger connector  

### EVCONNECTOR_TYPE_COMBO_1

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_COMBO_1 = 4: Int
```

Combined Charging System Combo 1  

### EVCONNECTOR_TYPE_COMBO_2

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_COMBO_2 = 5: Int
```

Combined Charging System Combo 2  

### EVCONNECTOR_TYPE_GBT

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_GBT = 9: Int
```

GBT_AC Fast Charging Standard  

### EVCONNECTOR_TYPE_GBT_DC

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_GBT_DC = 10: Int
```

GBT_DC Fast Charging Standard  

### EVCONNECTOR_TYPE_J1772

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_J1772 = 1: Int
```

Connector type SAE J1772  

### EVCONNECTOR_TYPE_MENNEKES

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_MENNEKES = 2: Int
```

IEC 62196 Type 2 connector  

### EVCONNECTOR_TYPE_OTHER

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_OTHER = 101: Int
```

Connector type to use when no other types apply.  

### EVCONNECTOR_TYPE_SCAME

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_SCAME = 11: Int
```

IEC_TYPE_3_AC connector  

### EVCONNECTOR_TYPE_TESLA_HPWC

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_TESLA_HPWC = 7: Int
```

High Power Wall Charger of Tesla  

### EVCONNECTOR_TYPE_TESLA_ROADSTER

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_TESLA_ROADSTER = 6: Int
```

Connector of Tesla Roadster  

### EVCONNECTOR_TYPE_TESLA_SUPERCHARGER

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_TESLA_SUPERCHARGER = 8: Int
```

Supercharger of Tesla  

### EVCONNECTOR_TYPE_UNKNOWN

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val EVCONNECTOR_TYPE_UNKNOWN = 0: Int
```

Unknown connector type.  

### FUEL_TYPE_BIODIESEL

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_BIODIESEL = 5: Int
```

Biodiesel  

### FUEL_TYPE_CNG

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_CNG = 8: Int
```

Compressed natural gas  

### FUEL_TYPE_DIESEL_1

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_DIESEL_1 = 3: Int
```

#1 Grade Diesel  

### FUEL_TYPE_DIESEL_2

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_DIESEL_2 = 4: Int
```

#2 Grade Diesel  

### FUEL_TYPE_E85

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_E85 = 6: Int
```

85% ethanol/gasoline blend  

### FUEL_TYPE_ELECTRIC

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_ELECTRIC = 10: Int
```

Electric  

### FUEL_TYPE_HYDROGEN

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_HYDROGEN = 11: Int
```

Hydrogen fuel cell  

### FUEL_TYPE_LEADED

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_LEADED = 2: Int
```

Leaded gasoline  

### FUEL_TYPE_LNG

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_LNG = 9: Int
```

Liquified natural gas  

### FUEL_TYPE_LPG

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_LPG = 7: Int
```

Liquified petroleum gas  

### FUEL_TYPE_OTHER

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_OTHER = 12: Int
```

Fuel type to use when no other types apply.  

### FUEL_TYPE_UNKNOWN

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_UNKNOWN = 0: Int
```

Unknown fuel type  

### FUEL_TYPE_UNLEADED

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
const val FUEL_TYPE_UNLEADED = 1: Int
```

Unleaded gasoline  

## Public functions

### equals

```
fun equals(other: Any?): Boolean
```  

### getEvConnectorTypes

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
fun getEvConnectorTypes(): CarValue<(Mutable)List<Int!>!>
```

Returns an array of the available EV connectors.

If a vehicle does not know the EV connector type it will return[EVCONNECTOR_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_UNKNOWN())or[STATUS_UNIMPLEMENTED](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/common/CarValue#STATUS_UNIMPLEMENTED()). If the value is known but not in the current list[EVCONNECTOR_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_UNKNOWN())will be returned.  

### getFuelTypes

Added in[1.1.0](https://developer.android.com/jetpack/androidx/releases/car-app#1.1.0)  

```
fun getFuelTypes(): CarValue<(Mutable)List<Int!>!>
```

Returns an array of the available fuel types.

If a vehicle does not know the fuel type it will return[FUEL_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#FUEL_TYPE_UNKNOWN())or[STATUS_UNIMPLEMENTED](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/common/CarValue#STATUS_UNIMPLEMENTED()). If the value is known but not in the current list[EVCONNECTOR_TYPE_UNKNOWN](https://developer.android.com/reference/kotlin/androidx/car/app/hardware/info/EnergyProfile#EVCONNECTOR_TYPE_UNKNOWN())will be returned.  

### hashCode

```
fun hashCode(): Int
```  

### toString

```
fun toString(): String
```