Bug#845555: lxpanel: battery monitor no longer working
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 [1]. 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. [1] https://git.lxde.org/gitweb/?p=lxde/lxpanel.git;a=blob;f=plugins/batt/batt.c;h=988d9fdfb7ec9a01d1d692b8ea30e3e3a878b9a5;hb=9dbda5c15782596983ae61478c1612262633ae41#l164
Bug#845555: lxpanel: battery monitor no longer working
Thank you very much for information provided. I sincerely hope the issue is now fixed, the version 0.9.3-1 is now in unstable. I would be glad and grateful if you install the package and check if it's fixed (it can be installed on either stable, testing, or unstable). I would like to ask you to test it now to be sure it's fixed before freeze (and if it's not then I still can upload a fix before January 25, but timeframe is short).
Bug#845555: lxpanel: battery monitor no longer working
I have just upgraded lxpanel:amd64 0.8.2-1 -> 0.9.1-1 and can confirm this bug. I hope that helps.
Bug#845555: lxpanel: battery monitor no longer working
Package: lxpanel Version: 0.9.1-1 Severity: important Dear Maintainer, after the upgrade to version 0.9.1-1 battery monitor always show a 0% charged battery downgrading to 0.7.2-1 make the monitor work again -- System Information: Debian Release: stretch/sid APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.8.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages lxpanel depends on: ii libasound2 1.1.2-1 ii libatk1.0-0 2.22.0-1 ii libc62.24-6 ii libcairo21.14.6-1.1 ii libfm-gtk4 1.2.4-1 ii libfm-modules1.2.4-1 ii libfm4 1.2.4-1 ii libfontconfig1 2.11.0-6.7 ii libfreetype6 2.6.3-3+b1 ii libgdk-pixbuf2.0-0 2.36.0-1 ii libglib2.0-0 2.50.2-2 ii libgtk2.0-0 2.24.31-1 ii libiw30 30~pre9-12 ii libkeybinder00.3.1-1 ii libmenu-cache3 1.0.2-1 ii libpango-1.0-0 1.40.3-3 ii libpangocairo-1.0-0 1.40.3-3 ii libpangoft2-1.0-01.40.3-3 ii libwnck222.30.7-5 ii libx11-6 2:1.6.3-1 ii libxml2 2.9.4+dfsg1-2.1 ii lxmenu-data 0.1.5-1 ii lxpanel-data 0.9.1-1 Versions of packages lxpanel recommends: ii lxterminal [x-terminal-emulator] 0.2.0-1 ii pavucontrol 3.0-3+b2 ii xkb-data 2.18-1 ii xterm [x-terminal-emulator] 327-1 Versions of packages lxpanel suggests: ii chromium [www-browser] 53.0.2785.143-1 ii firefox-esr [www-browser] 45.5.0esr-1 ii iceweasel 45.5.0esr-1 ii links2 [www-browser] 2.13-1 ii menu 2.1.47 ii w3m [www-browser] 0.5.3-33 -- no debconf information