- Preview
- A local charging simulation with a sample bike.
- Inputs
- Battery percentage 0–100, reported charger state and an optional positive time-to-full estimate in minutes. Pass charge: null when the battery level is unavailable. A reading outside 0–100 is unavailable and a level of 20% or less is flagged as low while not charging.
- Source options
- Map a battery or charger telemetry feed. Update the confirmed percentage and state in props after each observation.
- Actions
- Supply onChargingChange only when the host can start or pause the charger. Resolve after acceptance, reject failures, and update status after the charger reports a state change. While waiting, the action remains disabled.