Every time I move my wireless mouse after leaving it unused for a few minutes, I get a notification that my mouse battery level is 10%. I get these notifications dozens of times a day, which is very annoying. The mouse can run for weeks/months on this low charge, and when it finally does run out, I can just pop in a new battery. So I would just like to disable mouse battery notifications altogether. It seems that upower recognizes this, as "upower --dump" yields "percentage: 10% (should be ignored)" for the mouse in question.
Actually, I just realized that there is an option to disable peripheral battery notifications. This solves my issue. However, maybe upower's "should be ignored" should be taken into account by default.
Confirming this issue with a Logitech Unifying Receiver. Apparently if this shows up as "(should be ignored)" in upower, the number is invented and should not be used. I'm not sure if there's a way to get a more reliable number out of upower as it stands. Perhaps the underlying reason this started happening is related to https://gitlab.freedesktop.org/upower/upower/-/issues/166 . Solaar shows the battery level of the mouse as 90% and upower shows it as "5% (should be ignored)". Every time the mouse wakes up (when moved after a bit of inactivity), the popup appears. Disabling the popup helps, but it's not easy to find the setting.
It's now easier to access the battery notification settings, by clicking on the settings icon on the notification itself. Or, at any time, go to: System Settings > Notifications > Application-specific settings > Configure… > Power Management > Configure Events… which opens the same window then select Peripheral Battery Low and disable the Play a sound and Show a message in a popup This has a few limitations though: - cannot distinguish peripheral types - cannot change the threshold. I don't have an issue with notifying me when my mouse battery gets under 1% so I can prepare and buy new batteries, but I cannot even do that! I found a few other tutorials that change the percentage directly in config files... except I found out the values there were 5 or 20, not 10, so it cannot be the right value.
Same here, using a Logi M235 with unifying reciever. Fedora 41