Logitech keyboard going offline

I have a Logitech keyboard K545 and mouse M510 usb connected and annoyingly I keep getting messages about the battery going flat. Using Solaar I can see that the keyboard only is going offline (not mouse). Is there anyway to either prevent this happening or at least suppress the notification? The keyboard does work still and comes back online as soon as I touch any key!

Stuart

This seems to be a confirmed bug over at KDE. I just noticed the same problem with a K270 regularly giving “-1% battery” notifications when going into sleep mode.

Until the KDE devs get it figured out, the easy workaround is to open System Settings, go to Notifications, click Configure for Applications… in the top right, search for Power Management under System Services and uncheck the Peripheral Battery Low notification. This will turn off low battery notifications for the mouse as well, but it’s a decent workaround until the issue gets resolved.

Thanks, done that and hopefully that gets rid of the message.

Stuart

1 Like

I’m glad I could help. It’s not an ideal workaround, but it should get rid of the message.

Reading the bug reports more, it seems that upower changed how it reports ‘unknown’ battery levels. Before I think it gave a generic response of something around “50%” for unknown levels, but since the Frameworks 6.30 update it reports a level of “-1%” to make it clear that the battery level is unknown. It’s a good change, but apparently the powerdevil maintainers didn’t get the memo.

It looks like it’s already been fixed and merged, so we can expect an upcoming update to sort it out.

I wonder if that bug has been fixed by now. On my PC, running the latest Tumbleweed/KDE, I’m still getting the low-battery warning. The keyboard I’m using is a Logitech K470.
The worst part isn’t the warning itself, but that the keyboard stops responding for a few moments.

user@host ~ $ zypper if powerdevil6 
Loading repository data...
Reading installed packages...


Information for package powerdevil6:
------------------------------------
Repository     : Main Repository (OSS)
Name           : powerdevil6
Version        : 6.7.5-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 2.8 MiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : powerdevil6-6.7.5-1.1.src
Upstream URL   : https://www.kde.org
Summary        : KDE Power Management module
Description    : 
    KDE Power Management module. Provides kded daemon, DBus helper and KCM for
    configuring Power settings.

It’s still the same version (6.7.5-1.1) as when the problem began. The fix has been merged into the main branch of PowerDevil over at KDE, but it will take time before it gets released here.

I don’t think this is related to PowerDevil, but just a result of your wireless keyboard entering a sleep state. They happen at the same time because the keyboard going to sleep is also what is triggering the “unknown battery level” issue.

It’s natural for it to take a moment for a sleeping keyboard or mouse to ‘wake up’ again, but if it is taking an abnormally long time, it might be an issue with the wireless receiver or driver. My old K270’s Unifying receiver has always been pretty finicky about where it is placed in relation to the keyboard, but the newer K950’s Bolt receiver works a treat (except for when it was regularly crashing my system on suspend :eyes:).

same thing here with logitech mouse/keyboard

thought this was a known bug by the second day after the tumbleweed dist up

As has already been stated, it is a known bug and has already been fixed upstream, but we’ll have to wait for the new version to filter through OBS before it makes it into the official repository. These things take time,

If you are comfortable with patching and rebuilding the RPM yourself, it’s a very straightforward patch, but the workaround is so easy and effective that it’s definitely not worth it. It’s way easier to just turn off notifications and be patient.