I think I might have found a clue as to where the bug originates:
henryk@aurora:~$ upower -d | grep energy: energy: 9.025 Wh henryk@aurora:~$ grep remaining\ capacity: /proc/acpi/battery/BAT0/state remaining capacity: 9025 mAh
It may very well be that the acpi interface changes units under certain circumstances: A <-> W. This would explain why the values are off by approximately, but not exactly, a factor of 10: The voltage is 11-13 V, which is almost 10.
I think I might have found a clue as to where the bug originates:
henryk@aurora:~$ upower -d | grep energy: battery/ BAT0/state
energy: 9.025 Wh
henryk@aurora:~$ grep remaining\ capacity: /proc/acpi/
remaining capacity: 9025 mAh
It may very well be that the acpi interface changes units under certain circumstances: A <-> W. This would explain why the values are off by approximately, but not exactly, a factor of 10: The voltage is 11-13 V, which is almost 10.