# google/battery-historian

Battery Historian is a tool to analyze battery consumers using Android "bugreport" files.

Repository: https://github.com/google/battery-historian
Canonical: https://ross.abutalabs.com/products/battery-historian
Language: Go
License: NOASSERTION
License Family: other
Archived: true
Last push: 2019-07-15T16:25:16+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4457, "days_push": 2606, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5406, forks 968 (observed 2026-08-28T04:09:17.721466+00:00)

## What it is
Battery Historian is a Go-based web tool from Google that analyzes Android bugreport files to visualize battery consumption and system events on a timeline. It supports aggregated battery statistics, per-app battery metrics, and A/B comparison of two bugreports.

## Use cases
- analyze which apps drain my Android battery
- visualize battery events from an Android bugreport
- compare battery usage between two bugreports
- debug excessive battery drain in my Android app
- inspect wakelocks and battery-related metrics on a device
- view aggregated battery stats since last full charge

## When to choose
- you need to diagnose battery drain on Android 5.0+ devices from bugreport files
- you want timeline visualization and per-app battery metrics
- you want to A/B compare two bugreports for battery regressions

## When to avoid
- you need real-time battery monitoring on a live device
- you target Android versions older than 5.0 Lollipop
- you need iOS or desktop battery analysis

## Facets
- artifact type: application
- maturity: maintenance
- function: analytics, data-visualization, developer-tools
- domain: android-tools, developer-tools, analytics
- platform: windows
- tags: android, battery-analysis, bugreport, go, diagnostics, docker, web-server, linux, macos

## Member repositories
- google/battery-historian (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:17.721466+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:57:47.682420+00:00, confidence not recorded.
  - readme: https://github.com/google/battery-historian (fetched 2026-08-28T04:09:17.721466+00:00, sha b70b6c913357)
- Data as of 2026-08-30T08:39:29.467469+00:00.
