All AI Data API - Battery life calculator for duty-cycled IoT devices: average current, life in days and years, and which power
https://allai-api.allaihq.workers.dev/v1/tools/battery_life_calcOverview
Sizing a battery for a sensor, tracker or beacon comes down to averaging a repeating current profile. Give the cell capacity in mAh and the power states of one cycle (for example sensing 12 mA for 0.5 s, radio transmit 45 mA for 1.2 s, radio receive 11 mA for 2 s), plus the total cycle length (cycle_seconds) and the sleep current in microamps for the rest of the cycle. Optional $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-06 01:39:41 | healthy | 402 | 344ms | |
| 2026-12-06 00:51:46 | healthy | 402 | 349ms | |
| 2026-12-05 23:41:03 | healthy | 402 | 2768ms | |
| 2026-12-05 22:40:51 | healthy | 402 | 1191ms | |
| 2026-12-05 21:41:50 | healthy | 402 | 363ms | |
| 2026-12-05 20:45:53 | healthy | 402 | 358ms | |
| 2026-12-05 19:43:50 | healthy | 402 | 373ms | |
| 2026-12-05 18:43:16 | healthy | 402 | 371ms | |
| 2026-12-05 17:46:49 | healthy | 402 | 388ms | |
| 2026-12-05 16:45:09 | healthy | 402 | 373ms | |
| 2026-12-05 15:43:41 | healthy | 402 | 367ms | |
| 2026-12-05 14:44:14 | healthy | 402 | 369ms | |
| 2026-12-05 13:43:44 | healthy | 402 | 404ms | |
| 2026-12-05 12:43:42 | healthy | 402 | 358ms | |
| 2026-12-05 11:48:40 | healthy | 402 | 1504ms | |
| 2026-12-05 10:44:19 | healthy | 402 | 363ms | |
| 2026-12-05 09:42:37 | healthy | 402 | 368ms | |
| 2026-12-05 08:46:15 | healthy | 402 | 373ms | |
| 2026-12-05 07:43:06 | healthy | 402 | 363ms | |
| 2026-12-05 06:40:42 | healthy | 402 | 356ms |