diff options
author | Francois Andriot <albator78@libertysurf.fr> | 2014-05-07 01:47:46 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-05-07 01:47:46 -0500 |
commit | f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea (patch) | |
tree | e67b0ad7974e4e41828eed3cce944137a808f831 /src | |
parent | ab2574981cc97de00c9ef96787aa31590c30750c (diff) | |
download | tdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.tar.gz tdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.zip |
Use the new battery polling support in tdehwlib
This resolves Bug 1992
Diffstat (limited to 'src')
-rw-r--r-- | src/hardware_battery.cpp | 2 | ||||
-rw-r--r-- | src/hardware_cpu.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/hardware_battery.cpp b/src/hardware_battery.cpp index 2ade257..ac18b52 100644 --- a/src/hardware_battery.cpp +++ b/src/hardware_battery.cpp @@ -65,7 +65,7 @@ Battery::Battery( TQString _udi ) { if (trace) kdDebug() << funcinfo << "IN , udi: " << udi << endl; m_hwdevices = TDEGlobal::hardwareDevices(); - m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true); + m_hwdevices->setBatteryUpdatesEnabled(true); udi = _udi; diff --git a/src/hardware_cpu.cpp b/src/hardware_cpu.cpp index a47fa31..e87de1a 100644 --- a/src/hardware_cpu.cpp +++ b/src/hardware_cpu.cpp @@ -48,7 +48,7 @@ CPUInfo::CPUInfo() { numOfCPUs = -1; m_hwdevices = TDEGlobal::hardwareDevices(); - m_hwdevices->setTriggerlessHardwareUpdatesEnabled(true); + m_hwdevices->setBatteryUpdatesEnabled(true); kdDebugFuncOut(trace); } |