Tried it but did not understand all the output. It looks useful though. Is there somewhere i could find documentation on the meaning of this? Those who have enabled the bq27x00_battery module must unenable it first before trying. To do that you just run "modprobe -r bq27x00_battery" and then you try.
# CSOC = Compensated state of charge %. # RSOC = Relative state of charge %. NAC/LMD * 100 # NAC = Nominal available capaciy, mAh. # CACD = Discharge rate compensated available capacity, mAh. # CACT = Temperature compensated CACD, mAh. # AI = Average (last 5.12 seconds) current, mA. # VOLT = Battery voltage, mV. # TTF = Time to Full minutes. 65535 if no charging. # TTE = Time to Empty minutes. 65535 if charging.
LOOPMODE=5 mv RSOC CSOC mA NAC CACD CACT TTF TTE TEMP EDV1 LOW 12:54 3754 54 54 -131 953 953 953 65535 435 30 0 12:54 3759 54 54 -141 953 953 953 65535 405 30 0 12:54 3762 54 54 -106 953 953 953 65535 536 30 0 12:54 3762 54 54 -98 953 953 953 65535 582 30 0 12:54 3762 54 54 -97 953 953 953 65535 586 30 0 12:54 3762 54 54 -98 953 953 953 65535 583 30 0 12:54 3762 54 54 -96 953 953 953 65535 590 30 0 12:54 3762 54 54 -101 952 952 952 65535 566 30 0 12:54 3762 54 54 -99 952 952 952 65535 576 30 0 12:55 3762 54 54 -97 952 952 952 65535 584 30 0 12:55 3762 54 54 -97 952 952 952 65535 589 30 0 12:55 3762 54 54 -114 952 952 952 65535 499 30 0 12:55 3775 54 54 -45 952 952 952 65535 1250 29 0 12:55 3762 54 54 -34 952 952 952 65535 1633 29 0 12:55 3762 54 54 -101 952 952 952 65535 562 29 0 12:55 3762 54 54 -99 951 951 951 65535 577 30 0 12:55 3762 54 54 -100 951 951 951 65535 566 30 0