aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Debian.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libLumina/LuminaOS-Debian.cpp')
-rw-r--r--libLumina/LuminaOS-Debian.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-Debian.cpp b/libLumina/LuminaOS-Debian.cpp
index 85dd657e..593e3d24 100644
--- a/libLumina/LuminaOS-Debian.cpp
+++ b/libLumina/LuminaOS-Debian.cpp
@@ -144,6 +144,11 @@ bool LOS::userHasShutdownAccess(){
/org/freedesktop/login1 org.freedesktop.login1.Manager.CanPowerOff");
}
+//Check for whether the system is safe to power off (no updates being perfomed)
+bool LOS::systemPerformingUpdates(){
+ return false; //Not implemented yet
+}
+
//System Shutdown
void LOS::systemShutdown(){ //start poweroff sequence
QProcess::startDetached("dbus-send --system --print-reply \
bgstack15