Skip to content

main: Obsolete "Inhibited" property and add Degraded

Bastien Nocera requested to merge wip/hadess/degraded into master

The PerformanceInhibited property was there to convey that the performance profile was unavailable, and that the daemon should switch to a lower profile to avoid using the performance profile.

But it was difficult to communicate whether the daemon should switch back to the performance profile when the inhibition disappeared, or whether it should keep the same profile (the latter was what was implemented).

There was also the problem that depending on the backend, the performance profile might be able to provide a behaviour that wouldn't match either of the unhampered performance profile, or the balanced profile, but somewhere in between.

The PerformanceInhibited property is kept for compatibility reasons with the existing consumer, GNOME 40. It will be removed in the future and should not be relied on.

Closes: #24 (closed)

Merge request reports