https://bugs.kde.org/show_bug.cgi?id=494506
Jakob Petsovits <jpe...@petsovits.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://invent.kde.org/plas | |ma/powerdevil/-/commit/6430 | |f5f9b1554e432573ae901d163f6 | |bd7997be7 Resolution|--- |FIXED Status|CONFIRMED |RESOLVED --- Comment #15 from Jakob Petsovits <jpe...@petsovits.com> --- Git commit 6430f5f9b1554e432573ae901d163f6bd7997be7 by Jakob Petsovits, on behalf of Marko Zajc. Committed on 01/01/2025 at 00:12. Pushed by jpetso into branch 'master'. applets/batterymonitor: Assume default power profile is used if power profile is unset Before this patch, `isInDefaultPowerProfile` was set to `false` when power-profiles-daemon is not installed. This causes the batterymonitor system tray entry to remain stuck in the active state, which is rather annoying. This happened because `defaultPowerProfile`, which is always set to a non-empty string, and `activeProfile`, which is blank when the p-p-d is missing, are not equal. This patch sets `isInDefaultPowerProfile` to `true` when `activeProfile` is unset. On a system without p-p-d installed, this fixes the behaviour of the batterymonitor widget and correctly puts it into passive state. On a system with p-p-d installed, this does not alter behaviour, because it only triggers when `activeProfile` is blank. M +1 -1 applets/batterymonitor/package/contents/ui/main.qml https://invent.kde.org/plasma/powerdevil/-/commit/6430f5f9b1554e432573ae901d163f6bd7997be7 -- You are receiving this mail because: You are watching all bug changes.