pwr-Solaar / Solaar

Linux device manager for Logitech devices
https://pwr-solaar.github.io/Solaar
GNU General Public License v2.0
5.44k stars 404 forks source link

New release broken battery level for Logitech M510 #555

Closed mkkot closed 4 years ago

mkkot commented 5 years ago
[mk@linux ~]$ solaar -d show
Unifying Receiver
  Device path  : /dev/hidraw0
  USB id       : 046d:c52b
  Serial       : 10C89D60
    Firmware   : 12.01.B0019
    Bootloader : 02.14
  Has 1 paired device(s) out of a maximum of 6.
  Notifications: wireless, software present (0x000900)
  Device activity counters: 1=206
19:34:07,468     INFO [MainThread] logitech_receiver.receiver: <UnifyingReceiver(/dev/hidraw0,3)>: found new device 1 (1025)

  1: Wireless Mouse M510
     Codename     : M510
     Kind         : mouse
     Wireless PID : 1025
     Protocol     : HID++ 1.0
     Polling rate : 8 ms (125Hz)
     Serial number: 6C7F87CD
          Firmware: 23.01.B0016
     The power switch is located on the base.
     Notifications: battery status (0x100000).
     Battery: good, discharging.

[mk@linux ~]$ solaar --version
solaar 1.0.1

dmesg:
Bus 009 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver

dmesg |grep Logitech
[    1.804318] usb 9-2: Manufacturer: Logitech
[    1.827264] input: Logitech USB Receiver as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.0/0003:046D:C52B.0001/input/input4
[    1.879352] hid-generic 0003:046D:C52B.0001: input,hidraw0: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:13.0-2/input0
[    1.879647] input: Logitech USB Receiver Mouse as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.1/0003:046D:C52B.0002/input/input5
[    1.879685] input: Logitech USB Receiver Consumer Control as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.1/0003:046D:C52B.0002/input/input6
[    1.931280] input: Logitech USB Receiver System Control as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.1/0003:046D:C52B.0002/input/input7
[    1.931424] hid-generic 0003:046D:C52B.0002: input,hiddev0,hidraw1: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-0000:00:13.0-2/input1
[    1.931652] hid-generic 0003:046D:C52B.0003: hiddev1,hidraw2: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.0-2/input2
[    1.970925] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:13.0-2/input2
[    2.077613] input: Logitech Unifying Device. Wireless PID:1025 Mouse as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.2/0003:046D:C52B.0003/0003:046D:1025.0004/input/input9
[    2.077664] hid-generic 0003:046D:1025.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1025] on usb-0000:00:13.0-2/input2:1
[    2.089371] input: Logitech M510 as /devices/pci0000:00/0000:00:13.0/usb9/9-2/9-2:1.2/0003:046D:C52B.0003/0003:046D:1025.0004/input/input13
[    2.089420] logitech-hidpp-device 0003:046D:1025.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech M510] on usb-0000:00:13.0-2/input2:1

In gui I see orange exclamation mark on empty battery. I replaced battery today, finding the bug and new release. Doesn't work from root account either. Is this bugreport helpful? I can dig a bit if needed, I know Python.

FFY00 commented 5 years ago

Battery: good, discharging.

It seems to be only in GUI.

mkkot commented 5 years ago

Logitech MX Master S2 shows battery level: Battery: 90%, discharging

pfps commented 4 years ago

@mkkot Are you still experiencing this problem?

mkkot commented 4 years ago

Hard to say. I bought M720 Triathlon recently and got rid of previous mouse. I saw 90% discharging when I had new battery, but after few weeks it changed to the level you can see bellow:

Przechwycenie obrazu ekranu_2020-01-20_18-31-26

Looks as if there was granulation 90% and then 50%. It's running already months on this 50%.

pfps commented 4 years ago

Logitech reporting of battery levels is granular and imprecise so this behaviour corresponds to what the device is reporting. So I'm going to close this issue. You can reopen the issue if you think there is still something wrong going on.