-
Notifications
You must be signed in to change notification settings - Fork 963
Android Q cannot parse battery stats #182
Comments
I meet same program, have any solutions? |
I meet the same problem, too. Anyone know why? |
I meet same program, have any solutions? |
I meet same program,have any solutions? |
Same here. |
same problem |
U could replace the ,0.0, to ,0, in the bugreport.txt and try again. |
What do you mean? For what value(s)? |
Thanks @tnthbs , it works for me! |
Hi all, the error comes from the mismatch of "0.0" and "0". battery-historian/checkinparse/checkin_parse.go Line 1996 in d2356ba
Hope this will help you guys! |
Hi @kevinisbest ,do u mean the new code should be as below? Have tried but still meet errors |
same issue, in my test plug out usb cannot parse |
@tnthbs How did u find out it ?! |
You can pull the battery info ( including Coulomb Charge) directly from the bugreport logs with a simple search. Battery Historian not required to read battery log info. How to do it, see: https://www.reddit.com/r/GooglePixel/comments/ehmuwc/this_is_how_you_can_check_a_rma_refurb_to_see_if/ |
I just followed the steps on that Reddit post. The problem is that the bug report generated by the Android Q phone doesn't even have the battery info in it. I read the entire bug .txt file beginning to end and there's not a single mention of battery capacity anywhere. |
Then you used the wrong file. I doubt you read it all as mine exceeds 600 pages in Android 10/Q. You have to use the bugreport.txt file that is inside the bugreport zip archive. The bugreport.txt file that is not inside the zip archive is empty. Do not use that one. For example: https://imgur.com/a/QIdFcN7 |
I am 100% sure I am using the right file. I've also done this process multiple times before on previous Android versions and on other Pixel Android Q phones. This is the first time I am getting data on literally all aspects of the phone EXCEPT battery. |
I'm
Then you are doing something wrong. As I am on Android 10/Q, Dec security update, and I can clearly get battery info. Screenshot: https://imgur.com/a/QIdFcN7 |
Yea, I checked my process multiple times now and I still don't understand why that chunk of battery information is just missing from the txt file. It might be some sort of bug with the phone. If I figure this out, I'll post my workaround here. |
What Q security patch is the device on? |
December 5th, 2019 |
Also, the bugreport.txt I am getting is much smaller than the usual report I get on most phones. Like you said, it should be in the ballpark of 600 pages, but mine is not this time. (hence why I was able to skim through it all) |
That is strange. There are two bugreport.txt files in the bug report output. One is outside the bugreport zip archive, and one is inside the archive. The one outside is empty and everything is..."cannot be fetched from service manager (null) Warning: Skipping" In my case the bugreport.txt file inside the archive is like 600 pages long, and is the only one with all the data in it. I also have a Pixel. |
I will reset my phone (was planning on it anyways) and retry the same process. I have a feeling there is some sort of error with the software. Regardless, I appreciate the help. |
Do both of the bugreport.txt files contain the same info on your device? |
docker run -p 9999:9999 gcr.io/android-battery-historian/stable:3.1 --port 9999 |
Yeah, using the 3.1 tag instead of 3.0 do seem to make the bugreport loadable and no critical errors as such in the terminal output, but I see errors in the webui when loading and I can't see any graphs. Using android Q bugreport.
|
3.1 working for me too. Thank you @weijunxq! |
Anyone know if 3.1 is running on a public server anywhere? I don't think this one is 3.1 |
any plans to fix https://bathist.ef.lc `? |
@Kol3sar @Wibblyw |
Thank you, 3.1 works for me. @weijunxq |
Android Q does not work with Battery Historian. Here is the error - Note: Could not parse aggregated battery stats.
The text was updated successfully, but these errors were encountered: