See battery level, power, energy added and time to target. Set a charge limit or choose a preset.
EV Charge Progress · Preview
Loading widget…
Preparing integration examples…
Source under review
The source code and files will be available after this version passes review.
Idle
API contract
Props for integrating the React component in your app.
snapshotVehicleChargeSnapshot | null
Confirmed battery level, power, temperature and charging flag. Optional phase, minutesRemaining, energyAddedKwh and preconditioning. Omit for an example or pass null when unavailable.
chargeLimitnumber
Confirmed target as an integer percentage from 50 to 100. Omit to use a local display target.
Receives one requested target per finished slider gesture, keyboard adjustment or preset press. Reject on failure and pass the accepted target back as chargeLimit.
simulateboolean
Advance the example session and enable its preconditioning control. Applies only when snapshot is omitted.
Data and integration
Preview
A fictional DC charging session. Adjust the target, use the daily or trip preset, and enable simulation to see the battery warm up.
Inputs
chargePercent and chargeLimit are percentages. powerKw is kW, batteryCelsius is °C, energyAddedKwh is session energy in kWh, and minutesRemaining estimates time to the confirmed target in minutes. Optional phase is charging, paused, scheduled, complete or disconnected. Optional preconditioning reports active battery warming.
Source options
Map the most recent confirmed reading from the charger or vehicle. Compute session energy from the delta of a cumulative meter when necessary. Refresh the time estimate when the accepted charge limit or power changes.
Actions
Use the shared slider or select Daily 80% or Trip 100%. Connected target requests can resolve asynchronously. Preconditioning can be reported from connected data, and the preconditioning button operates only on the local simulation.
Integration requirements
An explicit phase overrides the legacy charging flag. The confirmed target stays on the gauge during a drag and while a request is pending. Omit unavailable energy and ETA readings. Zero is a valid measurement. ETA is shown while charging below the target. The demo calculates time from its current modeled power, and connected data uses the host estimate.