https://bugs.kde.org/show_bug.cgi?id=486986
            Bug ID: 486986
           Summary: Powerdevil incorrectly turns off unlocked screen using
                    timeout for locked screen
    Classification: Plasma
           Product: Powerdevil
           Version: 6.0.4
          Platform: Solus
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: kde...@tlcnet.info
                CC: m...@ratijas.tk, natalie_clar...@yahoo.de
  Target Milestone: ---

Created attachment 169461
  --> https://bugs.kde.org/attachment.cgi?id=169461&action=edit
AC Power settings

SUMMARY

When the system is unlocked, the screen is being turned off according to the
setting for "When locked, turn off screen: x sec". This happens for On AC Power
and On Battery profiles.

STEPS TO REPRODUCE
1. In Energy Savings, go to On AC Power.  Make sure settings for Dim and Turn
off Screen are higher than one minute, at least. Make sure "After a period of
inactivity" is set to Do nothing.
2. Set "When locked, turn off screen" to something very low (I used 10 sec)
3. Do not lock the screen, wait for that number of seconds.

OBSERVED RESULT

All displays are turned off after the count in"When locked, turn off screen"

EXPECTED RESULT

The displays are not turned off, since the system is not locked

SOFTWARE/OS VERSIONS
Operating System: Solus 4.5
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.6.3
Kernel Version: 6.8.9-289.current (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics
Manufacturer: Dell Inc.
Product Name: XPS 17 9710

WORKAROUND

It can become a nuisance if your displays are constantly turning off without
the system being locked, if you pause interacting for a minute or less. In this
case, set that setting to a higher value.

ADDITIONAL INFORMATION

I confirmed that changing the "When locked, turn off screen" settings on the On
Battery tab affected the behavior when the laptop was on battery.

The kernel correctly reports AC as online and the battery as charging

```
❯ upower -i /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              Mon 13 May 2024 01:28:29 PM CDT (6618 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes
    icon-name:          'ac-adapter-symbolic'

❯ upower -i /org/freedesktop/UPower/devices/battery_hidpp_battery_0
  native-path:          hidpp_battery_0
  model:                G502 LIGHTSPEED Wireless Gaming Mouse
  serial:               5c-5c-4a-e6
  power supply:         no
  updated:              Mon 13 May 2024 03:19:17 PM CDT (14 seconds ago)
  has history:          yes
  has statistics:       yes
  keyboard
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    percentage:          14%
    icon-name:          'battery-caution-charging-symbolic'
```

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

Reply via email to