aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-OpenBSD.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-OpenBSD.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-OpenBSD.cpp')
-rw-r--r--libLumina/LuminaOS-OpenBSD.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-OpenBSD.cpp b/libLumina/LuminaOS-OpenBSD.cpp
index df6ddeba..5fda4866 100644
--- a/libLumina/LuminaOS-OpenBSD.cpp
+++ b/libLumina/LuminaOS-OpenBSD.cpp
@@ -166,6 +166,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(){
int val = LUtils::getCmdOutput("apm -b").join("").toInt();
bgstack15