Open mgasiorowski opened 6 years ago
Same here using this docker-image:
https://hub.docker.com/r/bhaavan/battery-historian/
Maybe it has something todo with the image?
Finally, found a solution and it's simple as 1..2..3
You'll find the exact output as expected from historian without having to download or install anything (except adb)
Big thanks to whoever made this
Even there I'm getting error like this:
error parsing pr: strconv.ParseFloat: parsing "": invalid syntax could not parse aggregated battery stats open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory ** Error in 9,h,4,Esw=7 with Esw=7 : encountered multiple Esw events between a single pair of +S/-S events open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory device capacity is 0
Smartphone: Huawei Honor 9
I've tried battery-historian at docker, online service and the service from previous comment https://bathist.ef.lc/
Every time it throws the same error
exception found in battery dump open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory ** Error in 9,h,0,Bl=98,Bs=n,Bh=g,Bp=n,Bt=280 cputemp=0 boardtemp=0,Bv=4407,+r,+w,+Wl,+S,Pst=off,Pss= with Pss= : unknown phone signal strength = "=" open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory device capacity is 0
^^That error is shown for Meizu M5S
error parsing kwl: strconv.ParseFloat: parsing "qcrypto": invalid syntax could not parse aggregated battery stats open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory Error in 9,h,37,-a,+S,Pss=5,Sb=4,Esw=2 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,10109,+r,+w=7,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,1503,+r,+w=7,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,9827,+r,+w=7,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,11203,+r,+w=7,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,551,+r,+w=7,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,26,-w,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,84,+w=28,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,66,-w,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,28,-w,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,1128,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,5110,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,7665,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,2567,+Wr,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,5120,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,7502,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,15359,Pss=5,+Esy=108 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,581,-Psc,Pst=in,Pss=5,+Etp=159 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,3375,Pss=5,-Etw=4 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,2263,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,5217,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,2962,Pss=5,+Etw=4 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,2905,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,2664,Pss=5,+Esy=48 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,7274,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,4807,Pss=5,-Etp=159 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,7670,Pss=5 with Pss=5 : unknown phone signal strength = "5" Error in 9,h,10221,Pss=5 with Pss=5 : unknown phone signal strength = "5" open /usr/lib/go-1.6/lib/time/zoneinfo.zip: no such file or directory device capacity is 0
^^ And that error is shown for LG G3
Is there something wrong with the android reports?
UPD: gcr.io/android-battery-historian/stable:3.0 - the image name at the docker
@valeriyqa
Did you try? Works for me
adb bugreport [path/]bugreport.zip
instead of
adb bugreport > [path/]bugreport.zip
I have generated the report within the android system. Settings > developer tools > report an error
And i have tried the adb bugreport [path/]bugreport.zip command. Still getting the same error on Meizu M5S
UPD Also I tried a .txt format of the report - still the same error. I am confused because of different errors on different device's reports...
You don't need battery historian in Android Q to battery info from the bugreport logs.
See: https://www.reddit.com/r/GooglePixel/comments/ehmuwc/comment/fcn0uvp
Hi :)
I'm using docker image, launched with this command:
docker run -p <port>:9999 gcr.io/android-battery-historian/stable:3.0 --port 9999
System: Mac OS Sierra 10.12.6
When I try read bureport.txt, I have this note:
Note: Could not parse aggregated battery stats.
In ERRORS I have:
And from logs: