Subject: wmnut: Tens digit of load level indicator isn't updated when no tens digit should be shown anymore

From: Juan Leseduarte <[email-masked]>
Date: Fri, 26 Nov 2021 23:04:01 +0100

Package: wmnut
X-Debbugs-Cc: [email-masked]
Version: 0.66-2
Severity: normal

Dear Maintainer,

Once the variable "ups.load", as reported, in my case, by the command:

$ upsc cyberpower| grep load

exceeds 10, the load displayed value never gets again under 10% (unless
wnut is reinitiated): when ups.load is again under 10 after having been
over 10, the tens digit is still shown. So, if ups.load is 9, 8, 7...
wnut displays, respectively, 19%, 18%, 17%... instead of 9%, 8%,  7%...
Another instance of wnut launched (in another X display, for example)
after AND while the ups.load value is 9% or less shows the right values.

-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 4 (chimaera)
Release:        4
Codename:       chimaera
Architecture: x86_64

Kernel: Linux 5.10.0-9-amd64 (SMP w/16 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to de_DE.UTF-8), LANGUAGE=de_DE.UTF-8
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages wmnut depends on:
ii  libc6          2.31-13+deb11u2
ii  libupsclient4  2.7.4-13
ii  libx11-6       2:1.7.2-1
ii  libxext6       2:1.3.3-1.1
ii  libxpm4        1:3.5.12-1

wmnut recommends no packages.

wmnut suggests no packages.

-- no debconf information

-- 
Juan Leseduarte