Contents

init(estimatedRange:batteryTemperature:)

Creates performance metrics for the current measurement.

Declaration

init(estimatedRange: Measurement<UnitLength>? = nil, batteryTemperature: Measurement<UnitTemperature>? = nil)

Parameters

  • estimatedRange:

    The estimated range of driving distance based on the current energy state, or nil if an estimate is unavailable.

  • batteryTemperature:

    The battery pack temperature, or nil if the temperature is unavailable.