Skip to content

Energy saving in daemon mode

Ghost User requested to merge (removed):daemonPowerSaving into master

Don't load qml, construct UI related classes if launch in daemon mode. I didn't test the cpu usage difference, but the memory usage is significantly reduced in daemon mode. (48 MiB -> 4.9 MiB)

This would be useful if user doesn't open application window.

The more aggressive power saving method would be destroying QQmlApplicationEngine instance when last window closed and re-construct it when DBus calls to activate KClock GUI. However, there is overhead in destroy and re-creation GUI and the trade off will need to be discussed.

This is somewhat related to general power management in Plasma Mobile, any input from Plasma team is well appreciated.

Merge request reports