[Pkg-lxde-maintainers] Bug#845555: lxpanel: battery monitor no longer working
abacabadabacaba at gmail.com
Sun Jan 22 04:15:32 UTC 2017
In version 0.9.3-1, the remaining time is shown correctly. There is still a minor glitch: if battery charge level is 100%, the remaining time is not shown. I think that this is due to this check . I think that this check is wrong. I think the right check would be "lx_b->b->seconds >= 0" (since -1 is used to indicate that the value is not available).
BTW, time to full charge is still not correct, but now the reason is that the formula (time=energy/power) doesn't work for charging. While during discharge, power stays roughly the same (assuming that workload doesn't change), during charge power drops significantly as the battery nears full charge. As a result, the time displayed is about three times smaller than the actual time it takes for the battery to fully charge. Still, the value can be used as a (very) rough estimate.
More information about the Pkg-lxde-maintainers