Katana workspace
Revision | 47486b2a882a10b9711a2c6c70f8111d0cf7dcd5 (tree) |
---|---|
Time | 2022-11-30 08:40:18 |
Author | Ivailo Monev <xakepa10@gmai...> |
Commiter | Ivailo Monev |
plasma: use Solid::PowerManagement::StandbyState for standby
internally it is handled as Solid::PowerManagement::SuspendState tho so no
real functional change, it will be replaced with HybridSuspendState
eventually
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
@@ -167,8 +167,7 @@ void LeaveItemHandler::saveSession() | ||
167 | 167 | |
168 | 168 | void LeaveItemHandler::standby() |
169 | 169 | { |
170 | - // FIXME: Use standby from KDE Power Management System's interface | |
171 | - suspendRAM(); | |
170 | + Solid::PowerManagement::requestSleep(Solid::PowerManagement::StandbyState, 0, 0); | |
172 | 171 | } |
173 | 172 | |
174 | 173 | void LeaveItemHandler::suspendRAM() |