This is the message I’m getting when I access systemsettings > Power Management > Energy Saving along with a big red X and the screen is grayed out. I can still see the setting that my display should switch off after 15 minutes, but it’s shutting off after ten. There’s also this message:
"The power management service appears not to be running. This can be solved by starting or scheduling it inside “StartUp and Shutdown”. I don’t see any way to do this.
Also under systemsettings > Startup and Shutdown > Background Services there is nothing listed under Startup Services. On another machine with 13.2 and Plasma 5, I have fifteen items listed, including kscreen2 and Power Management.
Anyone know how to get power management working in Tumbleweed? By the way this is a desktop that’s having this issue.
I’ve just discovered that launching systemsettings from Konsole gives me a different version than the one I get from the kickoff menu. There’s different names for the groups and different items within each group. And there is no Power Management item in systemsettings launched from Konsole. For instance, on the Konsole version I have ‘Common Appearance and Behavior’ and ‘Workspace Appearance and Behavior’ while on the other version I have ‘Appearance’ and ‘Workspace’. I have some items on one version that aren’t on the other and vice versa.
Which version is everyone else getting with Plasma 5.3?
And I still haven’t found the setting for the time before my display goes to sleep. Does anyone know where this setting went?
After a little digging, I answered my own question. The version launched from Konsole with the ‘systemsettings’ command was part of the kdebase4-workspace-addons package. The system settings launched from the kickoff menu is the Plasma 5 version. That is the one that is telling me there is no power management module loaded. But I have one on another machine that’s running 13.2 and Plasma 5.3 but it’s a laptop and the problem I’m having is on my desktop with Tumbleweed.
Run “systemsettings5” in Konsole to get the Plasma5 version.
That is the one that is telling me there is no power management module loaded. But I have one on another machine that’s running 13.2 and Plasma 5.3 but it’s a laptop and the problem I’m having is on my desktop with Tumbleweed.
Check that powerdevil5 is installed, and check that power management is not disabled in systemsettings5->Startup and Shutdown->Background Services.
Please open the file ~/.config/kded5rc in a text editor and add the following at the end:
[Module-powerdevil]
autoload=true
If a section “[Module-powerdevil]” already exists, replace it, i.e. make sure it contains “autoload=true”.
Is powermanagement working now after logging out/in or reboot?
There should be a file kded5rc in the hidden folder .config in your home directory.
If not, create it, with the above content. That should enable the powermanagement service.
Oh, and do it as normal user. It won’t help at all if you do that as root (with su or sudo).
I tried as a different user but all problems still remain. I killed kded5 and started from Konsole. This is the output:
kded5
Qt: Session management error: networkIdsList argument is NULL
kf5.kservice.sycoca: Trying to open ksycoca from "/home/kevin/.cache/ksycoca5"
KServiceTypeTrader: serviceType "KDEDModule" not found
kf5.kservice.sycoca: Trying to open ksycoca from "/home/kevin/.cache/ksycoca5"
KServiceTypeTrader: serviceType "KDEDModule" not found
Then it should be no cache or user settings problem.
I killed kded5 and started from Konsole. This is the output:
Well, this seems to be the reason for the empty services list then:
KServiceTypeTrader: serviceType "KDEDModule" not found
The “KServiceTypeTrader” doesn’t know about any Services of type “KDEDModule”.
As you do have the files in /usr/share/kservice5/kded/ and it cannot really be a cache problem either (it should have worked after “kbuildsycoca5” or at least with a fresh user account then), maybe those files are corrupted somehow?
Can you please post the content of /usr/share/kservices5/kded/powerdevil.desktop as an example?
And check that the corresponding actual modules are there as well:
ls /usr/lib*/qt5/plugins/kded_*
And to be sure they are searched in the appropriate directories:
Oh, and that error message probably can occur when /usr/share/kservicetypes5/kdedmodule.desktop is missing, that file is what registers the service type “KDEDModule”. So check that that’s there as well and post the content.