Retrieve the current state and capabilities of a battery device.
Documentation Index
Fetch the complete documentation index at: https://docs.amps.ai/llms.txt
Use this file to discover all available pages before exploring further.
The unique identifier for the battery device.
"device_abc123"
Bypass the standard 15-minute cache and serve a result no older than 1 minute. Use sparingly; cache misses incur a live OEM round-trip.
false
Battery state retrieved successfully.
Carries live state (status, level, capacity, charge/discharge rates), connection metadata and sync info, the device's writable settings, and the per-canonical-command commands map. The schema enumerates every canonical command, parameter, and setting because the response shape is uniform across OEMs, but capabilities are presence-based: a real device only exposes the subset its OEM declares. A field is present if the device supports it, absent if it does not.
Per-canonical-command capability and the per-device source of truth for orchestration. Use it to validate or build push bodies before sending them to POST /battery/{deviceId}. Presence-based at every level: a command is included only when the device supports it, and within each command a parameter is included only when the device accepts that parameter. Each present entry carries the parameter bounds and the execution shapes (immediate / scheduled / windowed) the device accepts.
Per-canonical-setting current value and bounds. Presence-based: a field is present when the device exposes that setting, absent when the device does not.