summaryrefslogtreecommitdiffstats
path: root/src/hardware_battery.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-01 18:43:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-01 18:43:57 -0500
commit2b2945858fe2382d53b80dda26004f8e2fb06b8b (patch)
tree9fb0f4d728c15caa400326e1177c44a4864df9be /src/hardware_battery.cpp
parentcee6e93e17babc59640f447679ae7eaf0bd34484 (diff)
downloadtdepowersave-2b2945858fe2382d53b80dda26004f8e2fb06b8b.tar.gz
tdepowersave-2b2945858fe2382d53b80dda26004f8e2fb06b8b.zip
Enable triggerless hardware updates on startup
Diffstat (limited to 'src/hardware_battery.cpp')
-rw-r--r--src/hardware_battery.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp
index 6011b72..ee9f0b9 100644
--- a/src/hardware_battery.cpp
+++ b/src/hardware_battery.cpp
@@ -65,11 +65,12 @@ Battery::Battery( TQString _udi ) {
if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl;
m_hwdevices = TDEGlobal::hardwareDevices();
+ m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true);
udi = _udi;
connect(m_hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(updateProperty(TDEGenericDevice*)));
-
+
initialized = false;
initDefault();