Battery Life / Runtime Calculator
Estimate how long a battery will power a device from its capacity (Wh or mAh + voltage) and the device’s power draw, with a real-world usable-capacity derating factor.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Battery Capacity
x >= 0.01Capacity Unit
mAh, Wh Battery Voltage (V)
x >= 0.01Device Power Draw (W)
x >= 0.001Usable Capacity (%)
0 <= x <= 100Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.