eng_battery_runtime
Battery runtime and sizing estimator — Battery life estimate (offline). capacity= (2000mah, 100ah or 50wh) and load= (500ma, 2a or 60w; watt loads go through efficiency=, default 0.9). Or duty-cycled IoT loads with active_ma= + active_pct= + sleep_ua=. Optional chemistry= li-ion (default), lifepo4, lead-acid, nimh, alkaline; voltage= (else nominal x series=), series=, parallel=, dod= depth of discharge (chemistry default), temp_c= cold derating, target_hours= for required capacity. Returns pack Ah/Wh, battery current and C-rate, derating factors (Peukert for lead-acid/alkaline), usable Ah, runtime in hours and human form, required capacity for the target, and flags (C-rate over the chemistry's rating, deep lead-acid cycling, charging lithium below 0 C). Price: $0.002 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"capacity": "<capacity>",
"load": "<load>"
},
"name": "eng_battery_runtime"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| load | Yes | e.g. 500ma | |
| capacity | Yes | e.g. 2000mah |