query_excessive_wakeup_rate
Query excessive wakeup rate (users with >10 AlarmManager wakeups/hour) and distinct users to monitor battery-drain background activity for an Android app. Supports daily aggregation and breakdowns by device, version, country.
Instructions
Query the excessive wakeup rate: excessiveWakeupRate (share of distinct users that had more than 10 AlarmManager wakeups per hour) plus distinctUsers. This is a battery-drain metric and counts users doing background work, not just foreground usage. Ask for excessiveWakeupRate7dUserWeighted or excessiveWakeupRate28dUserWeighted in metrics for rolling averages. Daily aggregation only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default: 50) | |
| filter | No | AIP-160 filter over dimensions, e.g. "versionCode = 415" | |
| metrics | No | Metrics to fetch (default: excessiveWakeupRate, distinctUsers) | |
| end_date | Yes | End date (inclusive) as YYYY-MM-DD, e.g. '2026-08-13' | |
| dimensions | No | Break the metrics down by these dimensions, e.g. ['versionCode','deviceModel'] | |
| start_date | Yes | Start date (inclusive) as YYYY-MM-DD, e.g. '2026-08-01' | |
| package_name | No | App package name, e.g. 'com.acme.app' (defaults to GOOGLE_PLAY_PACKAGE_NAME) | |
| aggregation_period | No | Aggregation granularity — this metric set only supports DAILY |