The Tooltip shows sometimes an additional line with absurd times on a T470p
This is for ~/.xinitrc:
cbatticon \
--icon-type symbolic \
((configuration of thresholds and left-clicking)) &
with cbatticon-64ff8935 (9 Feb 2022) on a Lenovo T470p using the fluxbox window manager.
The battery of this machine has been tuned on Windows to stop charging at 90% and to not start charging above 80%. It seems that this configuration is respected also while booted into Arch Linux on the same machine.
Here is the behavioural pattern I am interested in:
- Startup the X server. The
cbatticonis shown in the the Toolbar at the bottom of the screen. To achive this, I needed to add to a line in.fluxbox/init:
thesession.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, iconbar, clocksystemtrayelement, s.t. it runs now
After startup,session.screen0.toolbar.tools: prevworkspace, workspacename, nextworkspace, iconbar, systemtray, clockcbatticonshows in the Tooltip a single-line text of the form "Battery is not charging (88% remaining)". - After some time (something on the order of hours), a second line appears, telling about several thousands of hours remaining (and some minutes). This is while the battery is still not charging nor discharging.
I'd like to speculate a little: Maybe the battery's remaining capacity changes slightly, not often, only once in a while, when the hardware detects some ordinary self-discharging at a very small rate. This isn't consistent with a battery doing nothing. So maybe cbatticon is mislead here.
This has been fixed in batticonplus