sdk-routing / com.tomtom.online.sdk.routing.ev.charging / ChargingMode / chargingCurve

chargingCurve

val chargingCurve: List<ChargingCurveSupportPoint>

A piecewise-linear function that maps a target charge level to the time it takes to charge an empty battery to this level, and is used to compute charging times of the vehicle.

It is given by a sequence of at most 10 non-duplicate chargingCurveSupportPoints that are totally, increasingly ordered in timeToChargeInSeconds and chargeInkWh.