Summary: | Power management suspends despite activity that one would expect should prevent it. | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | James Eder <jimportal> |
Component: | Power management & brightness | Assignee: | Akseli Lahtinen <akselmo> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | akselmo, nate |
Priority: | NOR | ||
Version First Reported In: | 6.3.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/powerdevil/-/commit/31fcf4c07346bc1fcd7b6df07b62330fd0b7db7f | Version Fixed In: | 6.5.0 |
Sentry Crash Report: |
Description
James Eder
2025-05-20 00:59:18 UTC
Can confirm, the timing has to be quite close. I think we should just restart the timer when blocking the sleep is turned off. Operating System: Fedora Linux 42 KDE Plasma Version: 6.4.80 KDE Frameworks Version: 6.15.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-300.fc42.x86_64 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 3600 6-Core Processor Memory: 16 GiB of RAM (15.5 GiB usable) Graphics Processor: AMD Radeon RX 6600 A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/548 Git commit 3feaad466c5e6195ed8541c3c58d899a612511d0 by Akseli Lahtinen. Committed on 16/06/2025 at 08:43. Pushed by akselmo into branch 'master'. PowerDevilAction: refresh action timers on inhibition changes When inhibitions change, action timers should be restarted. If they're not restarted, action timer may run to 0 right after a video playback ends for example, running the action abruptly. M +11 -0 daemon/powerdevilcore.cpp https://invent.kde.org/plasma/powerdevil/-/commit/3feaad466c5e6195ed8541c3c58d899a612511d0 Git commit 31fcf4c07346bc1fcd7b6df07b62330fd0b7db7f by Nate Graham. Committed on 17/06/2025 at 21:38. Pushed by ngraham into branch 'Plasma/6.4'. PowerDevilAction: refresh action timers on inhibition changes When inhibitions change, action timers should be restarted. If they're not restarted, action timer may run to 0 right after a video playback ends for example, running the action abruptly. (cherry picked from commit 3feaad466c5e6195ed8541c3c58d899a612511d0) Co-authored-by: Akseli Lahtinen <akselmo@akselmo.dev> M +11 -0 daemon/powerdevilcore.cpp https://invent.kde.org/plasma/powerdevil/-/commit/31fcf4c07346bc1fcd7b6df07b62330fd0b7db7f |