aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core/libLumina/LuminaOS-Slackware.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/core/libLumina/LuminaOS-Slackware.cpp b/src-qt5/core/libLumina/LuminaOS-Slackware.cpp
index 5e2c6561..91085bbd 100644
--- a/src-qt5/core/libLumina/LuminaOS-Slackware.cpp
+++ b/src-qt5/core/libLumina/LuminaOS-Slackware.cpp
@@ -163,12 +163,12 @@ void LOS::systemRestart(bool){ //start reboot sequence
//Check for suspend support
bool LOS::systemCanSuspend(){
- return false;
+ return true;
}
//Put the system into the suspend state
void LOS::systemSuspend(){
-
+ QProcess::startDetached("dbus-send --system --print-reply=literal --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend");
}
//Battery Availability
bgstack15