{"slug":"electronics-calc-x402tookit-com-battery-runtime-21d9cd","title":"Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W)","host":"electronics-calc.x402tookit.com","method":"GET","resource":"https://electronics-calc.x402tookit.com/battery-runtime","category":"other","description":"Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W), with efficiency and usable depth of discharge.","price_listed":0.02,"price_asked":0.02,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":288,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:137","eip155:42161","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"capacityMah":2000,"loadMa":150,"voltage":3.7},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-10-21","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.02,"price_match":true,"latency_ms":288,"error":null}],"description_full":"Battery runtime estimate from capacity (mAh and volts, or Wh) and load (mA or W), with efficiency and usable depth of discharge.","last_updated":"2026-10-20T20:48:37.589Z","schemes":["exact"]}