CurrentChargingProgressInfo

data class CurrentChargingProgressInfo(val currentBatteryChargeLevel: Energy, @FloatRange(from = 0.0, to = 100.0) val currentBatteryChargePercentage: Float?, val maximumBatteryChargeLevel: Energy, val remainingRange: Distance, @FloatRange(from = 0.0, to = 100.0) val targetBatteryChargePercentage: Float?) : Parcelable

A data class that represents information on current battery charge level and remaining range.

Constructors

Link copied to clipboard
constructor(currentBatteryChargeLevel: Energy, @FloatRange(from = 0.0, to = 100.0) currentBatteryChargePercentage: Float?, maximumBatteryChargeLevel: Energy, remainingRange: Distance, @FloatRange(from = 0.0, to = 100.0) targetBatteryChargePercentage: Float?)

Properties

Link copied to clipboard

The current battery charge level.

Link copied to clipboard

The current battery charge level percentage.

Link copied to clipboard

The maximum battery charge level capacity.

Link copied to clipboard
val remainingRange: Distance

Represents the remaining range that the vehicle can travel with the current battery charge level.

Link copied to clipboard

Indicates until which percentage the battery should be charged.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)