[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [apper] apperd: Libsolid now reports the right valeu when it should conserve resources
From: Lukas Tinkl <lukas () kde ! org>
Date: 2012-06-21 7:51:47
Message-ID: 20120621075147.18709A60A9 () git ! kde ! org
[Download RAW message or body]
Git commit c022802bb4cc73608c984e7bd0875dc1e44d2ca2 by Lukas Tinkl, on beha=
lf of Daniel Nicoletti.
Committed on 19/06/2012 at 18:43.
Pushed by lukas into branch 'master'.
Libsolid now reports the right valeu when it should conserve resources
M +2 -2 apperd/ApperdThread.cpp
http://commits.kde.org/apper/c022802bb4cc73608c984e7bd0875dc1e44d2ca2
diff --git a/apperd/ApperdThread.cpp b/apperd/ApperdThread.cpp
index 6c270e6..c56dff6 100644
--- a/apperd/ApperdThread.cpp
+++ b/apperd/ApperdThread.cpp
@@ -314,8 +314,8 @@ bool ApperdThread::isSystemReady(bool ignoreBattery, bo=
ol ignoreMobile) const
// check how applications should behave (e.g. on battery power)
if (!ignoreBattery && Solid::PowerManagement::appShouldConserveResourc=
es()) {
kDebug() << "System is not ready, application should conserve reso=
urces";
- // FIXME this always return true even on AC
-// return false;
+ // This was fixed for KDElibs 4.8.5
+ return false;
}
=
// TODO it would be nice is Solid provided this
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic