bosch_battery_trends
Analyze Bosch eBike battery health over time. Compute per-period averages and deltas for charge cycles, energy delivered, and remaining capacity to detect degradation.
Instructions
Analyse battery health trends for your Bosch eBike over time.
Computes per-period averages and deltas for:
Charge cycle count (total, rate of accumulation)
Average battery level at time of sync
Lifetime energy delivered (total kWh ever pushed through the battery)
Remaining energy trend (indicates capacity degradation over time)
A declining remaining_energy_wh at a constant charge level indicates the battery capacity is degrading. Compare early and recent snapshots for a long-term health picture.
Args: bike_id: Optional bike UUID. If omitted, includes all bikes. period: Aggregation period. Options: "weekly", "monthly" (default), "quarterly". start_date: Start date (YYYY-MM-DD, YYYY-MM, Nd, or None for all data). end_date: End date. Default: today.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | monthly | |
| bike_id | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |