https://bugs.kde.org/show_bug.cgi?id=517685

            Bug ID: 517685
           Summary: Power and Battery widget shows a full battery icon for
                    the Balanced profile on a desktop PC with no internal
                    battery when a Logitech HID++ mouse battery is present
    Classification: Plasma
           Product: plasmashell
      Version First 6.6.2
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Power and Battery  widget
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
  Target Milestone: 1.0

Created attachment 190728
  --> https://bugs.kde.org/attachment.cgi?id=190728&action=edit
showing the incorrect full battery tray icon

SUMMARY

On a desktop PC with no internal/system battery, the Power and Battery widget
shows an incorrect full battery icon in the system tray only when the active
power profile is Balanced.

This does not happen with the other two profiles (Power Save and Performance),
which show their correct tray icons.

The only battery exposed through UPower is a Logitech G705 wireless mouse
battery (HID++).

The battery icon shown for Balanced does not appear to represent the mouse
battery either, because it appears as a generic full battery icon and does not
match the actual peripheral charge level.

Power profiles are available and work correctly.

STEPS TO REPRODUCE

1. Use Plasma on a desktop PC without an internal battery
2. Make sure power-profiles-daemon is active and power profiles are available
3. Connect a Logitech HID++ wireless mouse
4. Set the active power profile to Balanced

OBSERVED RESULT

When the active profile is Balanced, the tray icon changes to a full battery
icon.

When the other two profiles are active, their expected tray icons are displayed
correctly (leaf and rocket).

This battery icon appears to be generic and does not reflect the actual mouse
battery level.

The power profile slider in the widget is present and works correctly.

EXPECTED RESULT

On a desktop PC without an internal battery, the tray icon should represent the
active power profile.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2

ADDITIONAL INFORMATION

powerprofilesctl shows all profiles correctly and power-profiles-daemon is
active.

upower -e
/org/freedesktop/UPower/devices/battery_hidpp_battery_0
/org/freedesktop/UPower/devices/DisplayDevice

upower -d | grep -E "battery|DisplayDevice"
Device: /org/freedesktop/UPower/devices/battery_hidpp_battery_0
  native-path: hidpp_battery_0
  icon-name: 'battery-good-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
  icon-name: 'battery-missing-symbolic'
  on-battery: no

This suggests that UPower sees only the Logitech mouse battery and no system
battery.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to