commit cf0bdce8bac567a4b56a9af787e2dc65bb3faf5c
Author: Daniel Nicoletti <dantt12@gmail.com>
Date: Tue Jun 19 13:43:51 2012 -0300
Libsolid now reports the right valeu when it should conserve resources
diff --git a/apperd/ApperdThread.cpp b/apperd/ApperdThread.cpp
index d10a3f4..cd99343 100644
--- a/apperd/ApperdThread.cpp
+++ b/apperd/ApperdThread.cpp
@@ -303,8 +303,8 @@ bool ApperdThread::isSystemReady(bool ignoreBattery, bool ignoreMobile) const
// check how applications should behave (e.g. on battery power)
if (!ignoreBattery && Solid::PowerManagement::appShouldConserveResources()) {
kDebug() << "System is not ready, application should conserve resources";
- // 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