Skip to main content

BessHysteresisChargePolicy

Charges the battery when the state of charge drops below start_charging_below and stops charging once it reaches stop_charging_at. This policy doesn't influence discharging.

Only executed by Pleevi Edge on the device itself. Pleevi Engine (API-first) optimizations ignore this policy, so it has no effect on Engine-only optimizations. This ensures the battery always has a certain State of Charge while allowing Pleevi Engine to optimize the charging of the remaining part of the battery.

typeType (string)
Constant value: charge-hysteresis
Default value: charge-hysteresis
start_charging_belowStart Charging Below (number)required

The state of charge at or below which the battery starts charging.

Possible values: >= 0 and <= 100

stop_charging_atStop Charging At (number)required

The state of charge at which the battery stops charging.

Possible values: >= 0 and <= 100

BessHysteresisChargePolicy
{
"type": "charge-hysteresis",
"start_charging_below": 10,
"stop_charging_at": 20
}