volkov added a comment.
Actually we depend only on Solid::PowerManagement::supportedSleepStates(). But there is PowerDevil::BackendInterface::supportedSuspendMethods(). I guess it would be right to use it instead. REPOSITORY R122 Powerdevil REVISION DETAIL https://phabricator.kde.org/D4939 To: denisshienkov, volkov, afiestas Cc: broulik, plasma-devel, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol