invoke

suspend operator fun invoke(distanceKm: Double): Result<Int>

Estimate SOC level after traveling distanceKm distance at EvDataProvider.socEstimateAvgSpeed speed.

Return

Result with SOC level in range <0, 100>

Parameters

distanceKm

Distance in kilometers