Get battery state
Retrieve the current state and capabilities of a battery device.
Authorizations
Path Parameters
The unique identifier for the battery device.
"device_abc123"
Query Parameters
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
Response
Battery state retrieved successfully.
Always true for success responses.
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.
Metadata attached to every response: the request identifier, the serving environment, the build timestamp, and the server-side latency.