In fact, I had to set TIMEOUT_MS up to 10000 to have it work every time. That's a lot but icewm-menu-fdo is very slow in some circumstances.
menuprog time out too low for icewm-menu-fdo on old computers
remaining battery time not displayed in taskbar
Closing this bug because I saw it is fixed with icewm 2.9.9 (in fact, the problem came from an overflow in battery percentage computing which needed "long int" specification to succeed) Can anyone close it for me, I don't see any way to do it. Thanks !
Closing this bug because I saw it is fixed with icewm 2.9.9 (in fact, the problem came from an overflow in battery percentage computing which needed "long int" specification to succeed)
Additional information : 1) this is with icewm-2.1.2 2) I noticed that, while the displayed battery percentage was wrong, setting TaskBarShowAPMGraph=1 in preferences file produced right value in battery graph. So I checked aapm.cc source file to see what was the difference betwen values used to compute the battery percentage, and the ones used for the graph, and noticed that the latter used the variables energyNow and energyFull which was not the case of the former. So I replaced in aapm.cc, lines...
Sorry, I spoke too quickly. After a charging cycle, the problem is back again. "-6%CC" displayed in the battery charge field.
Sorry, I don't see how to mark this bug as fixed, can anyone do it for me ? Thanks