Package: poweralertd
Version: 0.2.0-1+b1
Severity: normal

I keep getting those messages from poweralertd:

Power status: Framework
Battery fully charged
Current level: 100%

And then, shortly after:

Power status: Framework
Battery status: discharging
Current level: 100%

And then, it loops back above.

This is quite irritating, and keeps happening. It's not that big of a
deal because notifications do go away after a while, but it would be
great if this could be just a tad more silent.

It seems to me like a case where some hysteresis could control the
messaging here. I'm not sure exactly *how* that could be implemented
however... Upstream there are two discussions about how to fix this,
one about filtering notifications:

https://todo.sr.ht/~kennylevinsen/poweralertd/1

and another about adding a threshold for notifications:

https://lists.sr.ht/~kennylevinsen/poweralertd-devel/patches/43895

Perfection being the ennemy of good here, I think the latter patch is
our best hope for sanity.

-- System Information:
Debian Release: 12.2
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable'), 
(1, 'experimental'), (1, 'unstable'), (1, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-1-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages poweralertd depends on:
ii  init-system-helpers  1.65.2
ii  libc6                2.36-9+deb12u3
ii  libsystemd0          252.17-1~deb12u1
ii  upower               0.99.20-2

poweralertd recommends no packages.

poweralertd suggests no packages.

-- no debconf information

Reply via email to