I assume you're using PowerShell to generate the bugreport.txt file. Sadly, Battery Historian cannot handle TXT files with UTF-16 encoding, which is the default for PowerShell.
You have several options to create TXT files with UTF-8 encoding on Windows:
- Change the encoding of the previously created UTF-16 file to UTF-8. For example, by opening the file in Notepad++, change the Encoding in the top menu and save the file.
- Use the Windows Command Prompt (CMD) instead.
- Change the default encoding of PowerShell. A quick internet search should be able to help you with that.
Another possible issue could be that d3 was not defined, but that bug is not limited to Android 5 and 6. For more information: https://dreambyte.nl/2021/01/04/adventures-in-using-android-battery-historian/