Bug 478569 - Battery widget disagrees with Bluetooth widget about charge level of trackball
Summary: Battery widget disagrees with Bluetooth widget about charge level of trackball
Status: RESOLVED DUPLICATE of bug 461602
Alias: None
Product: Bluedevil
Classification: Unmaintained
Component: system tray (other bugs)
Version First Reported In: 5.27.9
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-15 17:34 UTC by Dennis Schridde
Modified: 2023-12-20 23:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
battery widget screenshot (11.22 KB, image/png)
2023-12-15 17:34 UTC, Dennis Schridde
Details
bluetooth widget screenshot (17.40 KB, image/png)
2023-12-15 17:35 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2023-12-15 17:34:44 UTC
Created attachment 164203 [details]
battery widget screenshot

SUMMARY

My Logitech MX Ergo is connected via Bluetooth. The charge level displayed for it in the battery systray widget (55%) is different from the charge level displayed in the Bluetooth systray widget (100%). The battery systray widget is almost assuredly showing the correct value, because the Bluetooth systray widget shows 100% always, even after days of using the device.

`upower -d` shows:
```
Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
  native-path:          hidpp_battery_0
  model:                MX Ergo
  serial:               [REDACTED]
  power supply:         no
  updated:              Fr 15 Dez 2023 18:26:46 CET (22 seconds ago)
  has history:          yes
  has statistics:       yes
  mouse
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    battery-level:       normal
    percentage:          55% (should be ignored)
    icon-name:          'battery-low-symbolic'
  History (charge):
    1702661206	55,000	discharging
    1702661206	0,000	unknown
    1702661176	55,000	discharging
    1702661176	0,000	unknown
    1702661146	55,000	discharging
    1702661146	0,000	unknown
    1702661116	55,000	discharging
    1702661116	0,000	unknown
  History (rate):
    1702661206	0,000	unknown
    1702661176	0,000	unknown
    1702661146	0,000	unknown
    1702661116	0,000	unknown
```

Eventually, after several days, I will get a "low power" notification for the trackball right after login. Then the Bluetooth widget will still show 100%. I have not yet checked what the battery widget would display in that case. This issue with the notification might be related to bug #461602.

STEPS TO REPRODUCE

1. Connect a Logitech MX Ergo trackball via Bluetooth
2. Observe the battery level in the Plasma battery systray widget
3. Observe the battery level in the Plasma Bluetooth systray widget

OBSERVED RESULT

Battery levels disagree between the widgets.

EXPECTED RESULT

Battery levels should be the same.

SOFTWARE/OS VERSIONS

Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.6.6-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-11370H @ 3.30GHz
Memory: 62,5 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: TUXEDO
Product Name: TUXEDO InfinityBook Pro 14 Gen6
Comment 1 Dennis Schridde 2023-12-15 17:35:06 UTC
Created attachment 164204 [details]
bluetooth widget screenshot
Comment 2 Nate Graham 2023-12-20 23:35:31 UTC

*** This bug has been marked as a duplicate of bug 461602 ***