Battery stats by region
region_summaryCompare battery behaviour across regions in one call: one entry per
continent or per country, each with the same mean / median / p25 / p75 /
min / max blocks as fleet_summary (temperature, level, discharge and
charge hours, awake ratio). Narrow with brand / model (e.g. how one
model fares per continent) or with continent (e.g. group_by='country'
within 'Africa').
The region is derived from the time zone the phone is set to (not GPS / IP),
so travellers and manual settings blur it. Regions with fewer than 5 devices
are left out and only counted (suppressed_*), as are devices whose time
zone names no place (unlocated_device_count); check each group's
device_count before comparing — small groups are noisy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Optional lowercase brand filter. | |
| model | No | Optional model filter — matches resolved street name or raw Build.MODEL, case-insensitive. | |
| country | No | Optional ISO 3166 alpha-2 country code (e.g. 'FR', 'IN', 'US'), case-insensitive. Keeps only devices whose time zone belongs to that country. The region comes from the phone's time-zone setting, not GPS / IP. | |
| group_by | No | 'continent' (default) or 'country' (ISO 3166 alpha-2). | continent |
| continent | No | Optional continent, case-insensitive: 'Africa', 'Antarctica', 'Asia', 'Europe', 'North America', 'Oceania' or 'South America'. Keeps only devices whose time zone lies there. Combine with `country` for an intersection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'fleet', or the comma-joined filters applied (e.g. 'brand:samsung,continent:Europe'). | |
| groups | No | One entry per region with enough devices, most devices first. | |
| group_by | No | 'continent' or 'country'. | |
| min_devices_per_group | No | Groups with fewer devices than this are left out of `groups` and only counted below. | |
| suppressed_group_count | No | Regions left out for having too few devices. | |
| unlocated_device_count | No | Devices whose time zone names no place (UTC, GMT, unset): in no group, only counted here. | |
| suppressed_device_count | No | Devices in those left-out regions. |