Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W)
Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W), with efficiency and usable depth of discharge.
Answeringour last check, 2026-10-21
1 of 1checks answered this week
288 msmedian answer time
$0.02listed price per call
$0.02price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://electronics-calc.x402tookit.com/battery-runtime
| Category | Everything else |
|---|---|
| Provider host | electronics-calc.x402tookit.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-21 | valid payment request | 402 | $0.02 | 288 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"capacityMah": 2000,
"loadMa": 150,
"voltage": 3.7
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"capacityMah": {
"description": "Capacity in mAh (with voltage)",
"type": "number"
},
"capacityWh": {
"description": "Capacity in watt-hours (instead of mAh)",
"type": "number"
},
"efficiencyPct": {
"description": "Converter efficiency, default 90",
"type": "number"
},
"loadMa": {
"description": "Load in mA at the battery voltage",
"type": "number"
},
"loadW": {
"description": "Load in watts (instead of mA)",
"type": "number"
},
"usablePct": {
"description": "Usable capacity, default 80 (protects battery life)",
"type": "number"
},
"voltage": {
"description": "Battery nominal volts (with mAh)",
"type": "number"
}
},
"required": [],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"asOf": {
"type": [
"null",
"string"
]
},
"capacityWh": {
"type": [
"null",
"number"
]
},
"degraded": {
"type": [
"boolean",
"null"
]
},
"disclaimer": {
"type": [
"null",
"string"
]
},
"efficiency": {
"type": [
"null",
"number"
]
},
"estimatedDays": {
"type": [
"null",
"number"
]
},
"estimatedHours": {
"type": [
"null",
"number"
]
},
"estimatedMinutes": {
"type": [
"null",
"number"
]
},
"idealHours": {
"type": [
"null",
"number"
]
},
"loadW": {
"type": [
"null",
"number"
]
},
"notChecked": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"reasons": {
"items": {
"type": "string"
},
"type": [
"array",
"null"
]
},
"source": {
"type": [
"null",
"string"
]
},
"summary": {
"type": [
"null",
"string"
]
},
"usableFraction": {
"type": [
"null",
"number"
]
},
"verdict": {
"type": [
"null",
"string"
]
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}