Skip to content

main: Fix transitions if one profile is inhibited

Bastien Nocera requested to merge wip/hadess/fix-inhibited-transition into master

When transitioning from one profile to another, we only want to stop the active profile from changing if the target profile is inhibited, which it might not be if we want to switch to, say, the power-saver profile.

This was broken since drivers could handle more than one profile.

Merge request reports