Mouse battery nags driving me bonkers with Plasma/Leap 15.2
A slightly off-the-wall request, but does anyone know how to tame the mouse/peripheral battery nags under Plasma with Leap 15.2? I've a Logitech M705 mouse which has 2xAA 2450mAh rechargeable batteries. Somewhere in the Leap 15.1 update cycle (I think) I started getting nags about low-battery in the mouse. At first I thought "how helpful" as the same type of geniunely flat batteries in my wireless keyboard sent me on an epic wild-goose chase a few years ago (hint, no probs in the graphic driver). Twice. Here's the notification message: Mouse Battery Low (10% Remaining) The battery in ("Marathon Mouse/Performance Plus M705") is running low, and the device may turn off at any time. Please recharge or replace the battery. I'm guessing the slightly lower voltage in low self-discharge rechargeable batteries is confusing upower, but I can't find where/if it can be tuned. The level is reported regularly by the mouse itself, as it returns from low power/auto sleep mode. Yes, I've tried a fresh set of rechargeables, after their 20hr topup. Regular AA's are rated for three years in the mouse, so would expect at least 12 with high capacity rechargeables. upower --dump reports (for this device): Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_1 native-path: hidpp_battery_1 model: Marathon Mouse/Performance Plus M705 serial: 406d-13-d9-8d-16 power supply: no updated: Fri 26 Mar 2021 18:07:57 GMT (12 seconds ago) has history: yes has statistics: yes mouse present: yes rechargeable: yes state: discharging warning-level: low battery-level: low percentage: 10% (should be ignored) icon-name: 'battery-caution-symbolic' 10% is clearly wrong and something needs re-calibrating. Daniel
On 26/03/2021 19.09, Daniel Morris wrote:
A slightly off-the-wall request, but does anyone know how to tame the mouse/peripheral battery nags under Plasma with Leap 15.2?
I've a Logitech M705 mouse which has 2xAA 2450mAh rechargeable batteries. Somewhere in the Leap 15.1 update cycle (I think) I started getting nags about low-battery in the mouse. At first I thought "how helpful" as the same type of geniunely flat batteries in my wireless keyboard sent me on an epic wild-goose chase a few years ago (hint, no probs in the graphic driver). Twice. Here's the notification message:
Mouse Battery Low (10% Remaining) The battery in ("Marathon Mouse/Performance Plus M705") is running low, and the device may turn off at any time. Please recharge or replace the battery.
I'm guessing the slightly lower voltage in low self-discharge rechargeable batteries is confusing upower, but I can't find where/if it can be tuned. The level is reported regularly by the mouse itself, as it returns from low power/auto sleep mode. Yes, I've tried a fresh set of rechargeables, after their 20hr topup. Regular AA's are rated for three years in the mouse, so would expect at least 12 with high capacity rechargeables.
upower --dump reports (for this device):
Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_1 native-path: hidpp_battery_1 model: Marathon Mouse/Performance Plus M705 serial: 406d-13-d9-8d-16 power supply: no updated: Fri 26 Mar 2021 18:07:57 GMT (12 seconds ago) has history: yes has statistics: yes mouse present: yes rechargeable: yes state: discharging warning-level: low battery-level: low percentage: 10% (should be ignored) icon-name: 'battery-caution-symbolic'
10% is clearly wrong and something needs re-calibrating.
I understand that you are using rechargeable AA batteries, but the mouse "expects" normal AA batteries. Normal batteries deliver about 1.6 volts when new, while rechargeable batteries deliver 1.2 when fully charged, which for a normal battery means "dead". The mouse is reading the voltage as "the battery is dead". I don't think the computer can do anything about that. I have one machine with a wireless keyboard, and I get: Device: /org/freedesktop/UPower/devices/mouse_hidpp_battery_0 native-path: hidpp_battery_0 model: Wireless Touch Keyboard K400 Plus serial: 404d-21-39-2b-7f power supply: no updated: Fri Mar 26 20:25:40 2021 (98 seconds ago) has history: yes has statistics: yes mouse present: yes rechargeable: yes state: unknown warning-level: none battery-level: unknown percentage: 50% (should be ignored) icon-name: 'battery-missing-symbolic' There is nothing I can do, but 50% is better result than 10%, so I'm just lucky. But you can search the files to see if there is any configuration possible: Isengard:~ # rpm -ql upower /etc/UPower /etc/UPower/UPower.conf /usr/bin/upower /usr/lib/systemd/system/upower.service /usr/lib/udev/rules.d/95-upower-csr.rules /usr/lib/udev/rules.d/95-upower-hid.rules /usr/lib/udev/rules.d/95-upower-hidpp.rules /usr/lib/udev/rules.d/95-upower-wup.rules /usr/lib/upower /usr/lib/upower/upowerd /usr/sbin/rcupower /usr/share/dbus-1/interfaces/org.freedesktop.UPower.Device.xml /usr/share/dbus-1/interfaces/org.freedesktop.UPower.KbdBacklight.xml /usr/share/dbus-1/interfaces/org.freedesktop.UPower.Wakeups.xml /usr/share/dbus-1/interfaces/org.freedesktop.UPower.xml /usr/share/dbus-1/system-services/org.freedesktop.UPower.service /usr/share/dbus-1/system.d/org.freedesktop.UPower.conf /usr/share/doc/packages/upower /usr/share/doc/packages/upower/AUTHORS /usr/share/doc/packages/upower/NEWS /usr/share/doc/packages/upower/README /usr/share/licenses/upower /usr/share/licenses/upower/COPYING /usr/share/man/man1/upower.1.gz /usr/share/man/man7/UPower.7.gz /usr/share/man/man8/upowerd.8.gz /var/lib/upower Isengard:~ # -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
On Fri, Mar 26, 2021 at 08:36:01PM +0100, Carlos E. R. wrote:
battery-level: low percentage: 10% (should be ignored) icon-name: 'battery-caution-symbolic'
10% is clearly wrong and something needs re-calibrating.
I understand that you are using rechargeable AA batteries, but the mouse "expects" normal AA batteries. Normal batteries deliver about 1.6 volts when new, while rechargeable batteries deliver 1.2 when fully charged, which for a normal battery means "dead". The mouse is reading the voltage as "the battery is dead". I don't think the computer can do anything about that.
Except, 2xAA no-brand 2100mAh are in the keyboard, and that currently reads 70%, which is probably about right as they were put in there about Christmas: Device: /org/freedesktop/UPower/devices/keyboard_hidpp_battery_0 native-path: hidpp_battery_0 model: Wireless Keyboard PID:0060 power supply: no updated: Fri 26 Mar 2021 20:12:19 GMT (98 seconds ago) has history: yes has statistics: yes keyboard present: yes rechargeable: yes state: discharging warning-level: none battery-level: high percentage: 70% (should be ignored) icon-name: 'battery-good-symbolic' Thinking this through, I just swapped the recently charged 2450mAh pair from the mouse to the keyboard, and put the 2100mAh pair into the mouse. It made no difference, still 70% & 10% shown for keyboard and mouse respectively (and I checked the update: field to make sure upower had polled the devices since the battery swap). Something else must be at play. Daniel
On 26/03/2021 21.25, Daniel Morris wrote:
On Fri, Mar 26, 2021 at 08:36:01PM +0100, Carlos E. R. wrote:
battery-level: low percentage: 10% (should be ignored) icon-name: 'battery-caution-symbolic'
10% is clearly wrong and something needs re-calibrating.
I understand that you are using rechargeable AA batteries, but the mouse "expects" normal AA batteries. Normal batteries deliver about 1.6 volts when new, while rechargeable batteries deliver 1.2 when fully charged, which for a normal battery means "dead". The mouse is reading the voltage as "the battery is dead". I don't think the computer can do anything about that.
Except, 2xAA no-brand 2100mAh are in the keyboard, and that currently reads 70%, which is probably about right as they were put in there about Christmas:
Device: /org/freedesktop/UPower/devices/keyboard_hidpp_battery_0 native-path: hidpp_battery_0 model: Wireless Keyboard PID:0060 power supply: no updated: Fri 26 Mar 2021 20:12:19 GMT (98 seconds ago) has history: yes has statistics: yes keyboard present: yes rechargeable: yes state: discharging warning-level: none battery-level: high percentage: 70% (should be ignored) icon-name: 'battery-good-symbolic'
Thinking this through, I just swapped the recently charged 2450mAh pair from the mouse to the keyboard, and put the 2100mAh pair into the mouse. It made no difference, still 70% & 10% shown for keyboard and mouse respectively (and I checked the update: field to make sure upower had polled the devices since the battery swap). Something else must be at play.
It matches what I said. The reporting comes from the keyboard or mouse, and to them, those batteries are spent because of the much lower voltage. The computer does not get a voltage reading, and there is no configuration or tuning. We can do nothing, except perhaps disable the reporting somehow. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
On 2021-03-26 15:25:45 Daniel Morris wrote:
|On Fri, Mar 26, 2021 at 08:36:01PM +0100, Carlos E. R. wrote: |> > battery-level: low |> > percentage: 10% (should be ignored) |> > icon-name: 'battery-caution-symbolic' |> > |> > 10% is clearly wrong and something needs re-calibrating. |> |> I understand that you are using rechargeable AA batteries, but the mouse |> "expects" normal AA batteries. Normal batteries deliver about 1.6 volts |> when new, while rechargeable batteries deliver 1.2 when fully charged, |> which for a normal battery means "dead". The mouse is reading the |> voltage as "the battery is dead". I don't think the computer can do |> anything about that. | |Except, 2xAA no-brand 2100mAh are in the keyboard, and that currently |reads 70%, which is probably about right as they were put in there |about Christmas: | |Device: /org/freedesktop/UPower/devices/keyboard_hidpp_battery_0 | native-path: hidpp_battery_0 | model: Wireless Keyboard PID:0060 | power supply: no | updated: Fri 26 Mar 2021 20:12:19 GMT (98 seconds ago) | has history: yes | has statistics: yes | keyboard | present: yes | rechargeable: yes | state: discharging | warning-level: none | battery-level: high | percentage: 70% (should be ignored) | icon-name: 'battery-good-symbolic' | | |Thinking this through, I just swapped the recently charged 2450mAh pair |from the mouse to the keyboard, and put the 2100mAh pair into the mouse. |It made no difference, still 70% & 10% shown for keyboard and mouse |respectively (and I checked the update: field to make sure upower had |polled the devices since the battery swap). Something else must be at |play. | | Daniel
Interesting that your mouse output shows 'warning-level: low', but your keyboard shows 'warning-level: none'. Maybe there's a way to make it none for the mouse also? You wouldn't get any warning before your mouse stopped working, but at least you wouldn't be nagged to death in the mean time. :-) Leslie -- openSUSE Leap 15.2 x86_64
On 27/03/2021 06.10, J Leslie Turriff wrote:
On 2021-03-26 15:25:45 Daniel Morris wrote:
|On Fri, Mar 26, 2021 at 08:36:01PM +0100, Carlos E. R. wrote:
...
Interesting that your mouse output shows 'warning-level: low', but your keyboard shows 'warning-level: none'. Maybe there's a way to make it none for the mouse also?
My take is that this can only be done on the hardware. But I would try the same hardware on Windows to make sure.
You wouldn't get any warning before your mouse stopped working, but at least you wouldn't be nagged to death in the mean time. :-)
At worst, you can stop the upower daemon. -- Cheers / Saludos, Carlos E. R. (from 15.2 x86_64 at Telcontar)
participants (3)
-
Carlos E. R.
-
Daniel Morris
-
J Leslie Turriff