aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Linux.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-04-19 14:19:11 -0400
committerKen Moore <ken@pcbsd.org>2015-04-19 14:19:11 -0400
commitfbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798 (patch)
tree19760bc59fa1b55133cec99e8764ccbb710194d3 /libLumina/LuminaOS-Linux.cpp
parentAdjust te brightness control labelling a bit in the sytem dashboard. Now the ... (diff)
downloadlumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.tar.gz
lumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.tar.bz2
lumina-fbd67e202c15ffec78ad15dc9ea1ba8b6eb1b798.zip
Add support to LuminaOS for checking/starting the system suspend functionality.
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r--libLumina/LuminaOS-Linux.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp
index 46a6371a..6929c9c3 100644
--- a/libLumina/LuminaOS-Linux.cpp
+++ b/libLumina/LuminaOS-Linux.cpp
@@ -149,6 +149,16 @@ void LOS::systemRestart(){ //start reboot sequence
QProcess::startDetached("shutdown -r now");
}
+//Check for suspend support
+bool LOS::systemCanSuspend(){
+ return false;
+}
+
+//Put the system into the suspend state
+void LOS::systemSuspend(){
+
+}
+
//Battery Availability
bool LOS::hasBattery(){
QString my_status = LUtils::getCmdOutput("acpi -b").join("");
bgstack15