StateOfCharge

@Serializable
class StateOfCharge(val percentage: Double = LOW_BATTERY_SOC_PERCENTAGE) : BatteryComfortLevel

Represents a low battery threshold based on the state of charge (SOC) percentage.

Parameters

percentage

The state of charge percentage. Defaults to 20.0%.

Constructors

Link copied to clipboard
constructor(percentage: Double = LOW_BATTERY_SOC_PERCENTAGE)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int