Skip to content

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

Notifications You must be signed in to change notification settings

BlackZheng/BatteryHistorianFixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages