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

            Bug ID: 407710
           Summary: Powerdevil doesn't handle button actions
           Product: Powerdevil
           Version: 5.15.90
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kishor...@gmail.com
  Target Milestone: ---

SUMMARY
Button actions (suspend etc.) do not work in the latest 5.15.90 beta.
Downgrading powerdevil to 5.15.5 fixes the issue

STEPS TO REPRODUCE
1. Upgrade to powerdevil 5.15.90.
2. Configure laptop to sleep on power button press.
3. Press power button.

OBSERVED RESULT
Laptop does not sleep.

EXPECTED RESULT
Laptop should go to sleep.

SOFTWARE/OS VERSIONS
Linux distro: Arch Linux (kde-unstable repo)
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Downgrading powerdevil to 5.15.5 fixes the issue. Output of `systemctl status
systemd-logind` is as follows.
With Powerdevil 5.15.90:
```
May 19 11:20:51 kishore-inspiron-3537 systemd-logind[740]: Power key pressed.
```

With Powerdevil 5.15.5:
```
May 19 11:21:18 kishore-inspiron-3537 systemd-logind[740]: Power key pressed.
May 19 11:21:28 kishore-inspiron-3537 systemd-logind[740]: Operation 'sleep'
finished.
```

Invoking suspend / hibernate via 'systemctl suspend' works perfectly.

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

Reply via email to