[kde] [Bug 483404] New: power-profiles-daemon widget for mode change does not work

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Wed Mar 13 06:49:09 GMT 2024


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

            Bug ID: 483404
           Summary: power-profiles-daemon widget for mode change does not
                    work
    Classification: I don't know
           Product: kde
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-bugs at kde.org
          Reporter: davidb9966 at gmail.com
  Target Milestone: ---

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug
symbols.
See
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

After installing `power-profiles-daemon` by calling `sudo pacman -S
power-profiles-daemon`. Following happens:

- We presented with new widget
- New performance mode is unlocked (which was not here before). For example,
before installing the package and pressing `FN + Q` - keyboard shortcut to
change power mode. We only have `White` and `Blue` colours. With package
installed, we also have Red mode.

Lenovo laptops have these power modes. Fn + Q to cycle between blue (Quiet),
White (Auto or Balanced), Red (Performance).

Keyboard shortcut works great now, however if you attempt to change power mode
via widget slider, it does not affect anything, the power limit wattage stays
the same and hardware colour on power button stays the same.

STEPS TO REPRODUCE
1. `sudo pacman -S power-profiles-daemon`
2. `sudo systemctl enable --now power-profiles-daemon`
3. restart computer
4. navigate to widget and change to any mode
5. observe in `nvtop` power limit has not changed and stays the same
6. Manually press `FN + Q` on keyboard as a shortcut for Lenovo laptops to
change power mode. This will change wattage limit, and change hardware colour
on your power button

OBSERVED RESULT
Widget slider for power change mode does not do anything

EXPECTED RESULT
Widget slider changes power limits accordingly and changes the colour of
hardware power button

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux ArchPC 6.7.9-arch1-1 / plasmashell 6.0.1
(available in About System)
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION

journalctl logs when switching mode via widget:
```
Mar 13 06:41:23 ArchPC plasmashell[869]: kf.plasma.quick: location should be
set before showing popup window
Mar 13 06:41:24 ArchPC plasmashell[869]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/items/PlasmoidItem.qml:60:
TypeError: Type error
Mar 13 06:41:27 ArchPC plasmashell[869]:
file:///usr/share/plasma/plasmoids/org.kde.plasma.battery/contents/ui/PopupDialog.qml:52:13:
QML PlasmoidHeading: Binding loop detected for property "leftInset"
```

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Unassigned-bugs mailing list