ChargingCurveSupportPoint
public struct ChargingCurveSupportPoint : Codable, Equatable
A supporting point of a charging curve consisting of chargeInkWh and timeToChargeInSeconds such that the time it takes to charge the battery from 0kWh to chargeInkWh kWh is given by timeToChargeInSeconds.
Important
This is a Public Preview API. It may be changed or removed at any time.-
A battery charge level in kWh. A float in the range (0, maxChargeInkWh].
Declaration
Swift
public let chargeInkWh: Double
-
A time span in seconds. A non-negative integer.
Declaration
Swift
public let timeToChargeInSeconds: Int
-
Declaration
Swift
public static func == (lhs: `Self`, rhs: `Self`) -> Bool