Device battery summary
device_summaryReturn aggregated battery metrics for ONE specific device: average / min / max
temperature, average battery level, mean charge time per power source (AC, USB,
wireless) and mean discharge time over a recent (~2 weeks) and a long (~2 months)
window, plus awake ratio and basic device info. Also includes url: the public
BatterySnap web page for this device's interactive battery history
(https://www.battery-snap.com/device_history?device=). All values are pre-computed
from the device's full snapshot history — no raw timeseries is returned.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_uid": "<device_uid>"
},
"name": "device_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_uid | Yes | Stable device UUID returned by the `devices` tool. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public BatterySnap web page showing this device's interactive battery history, e.g. https://www.battery-snap.com/device_history?device=<uid>. Locale-agnostic. | |
| brand | No | Lowercase Android brand identifier. | |
| model | No | Human-readable resolved model name (e.g. 'Galaxy S23'). | |
| raw_model | No | Raw Build.MODEL string reported by the device. | |
| device_uid | No | Stable UUID identifying this device. | |
| awake_ratio | No | Fraction of observed time the device was awake / screen-on (0..1). | |
| observed_days | No | Span of the recorded history in days, rounded to 30 days. | |
| temperature_c | No | Mean battery temperature in Celsius across all snapshots. | |
| snapshot_count | No | Snapshots recorded for this device. | |
| android_api_level | No | Android SDK level (e.g. 34 = Android 14). | |
| battery_level_pct | No | Mean battery charge level across all snapshots (0-100). | |
| max_temperature_c | No | Hottest battery temperature in Celsius ever observed. Sustained highs are a battery-health concern. | |
| min_temperature_c | No | Coldest battery temperature in Celsius ever observed. | |
| ac_charge_hours_long | No | Hours to charge 100%% on AC over the last ~2 months. | |
| discharge_hours_long | No | Average hours to discharge 100%% over the last ~2 months. | |
| usb_charge_hours_long | No | Hours to charge 100%% over USB over the last ~2 months. | |
| ac_charge_hours_recent | No | Hours to charge 100%% on AC (wall charger) over the last ~2 weeks. | |
| discharge_hours_recent | No | Average hours to discharge 100%% over the last ~2 weeks. Null when not enough data. | |
| usb_charge_hours_recent | No | Hours to charge 100%% over USB (computer) over the last ~2 weeks. | |
| wireless_charge_hours_long | No | Hours to charge 100%% wirelessly over the last ~2 months. | |
| wireless_charge_hours_recent | No | Hours to charge 100%% wirelessly over the last ~2 weeks. |