Electric vehicle state - either percentage or absolute energy.
Choose the format that matches your data source:
// Percentage formatconst pctState: ElectricVehicleState = { currentChargePCT: 75};// Energy formatconst kwhState: ElectricVehicleState = { currentChargeInkWh: 60}; Copy
// Percentage formatconst pctState: ElectricVehicleState = { currentChargePCT: 75};// Energy formatconst kwhState: ElectricVehicleState = { currentChargeInkWh: 60};
Electric vehicle state - either percentage or absolute energy.