BlackZheng / BatteryHistorianFixer

A python script that make your bugreport from Android Q to be accepted by Battery Historian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Battery Historian Fixer

A python script that make your bugreport from Android Q to be accepted by Battery Historian

Why you need it?

For some reasons, bugreport from Android Q can't be parsed by Battery Historian and throw a error says Could not parse aggregated battery stats. Batterian Historian Fixer help to work it out.

Usage

usage: python battery_historian_fixer.py <source_file_path> [-v]

  • -v provides more details as it runs

Note

  • This script only receive txt file.
  • For bugreport.zip, you need to unzip it and find the bugreport_xxxx.txt.
  • The script will generate a new bugreport file named <original_filename>_fixed.txt. Then you can give it to Battery Historian.

About

A python script that make your bugreport from Android Q to be accepted by Battery Historian.


Languages

Language:Python 100.0%