summaryrefslogtreecommitdiffstats
path: root/src/hardware_cpu.cpp
diff options
context:
space:
mode:
authorFrancois Andriot <albator78@libertysurf.fr>2014-05-07 01:47:46 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-05-07 01:47:46 -0500
commitf43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea (patch)
treee67b0ad7974e4e41828eed3cce944137a808f831 /src/hardware_cpu.cpp
parentab2574981cc97de00c9ef96787aa31590c30750c (diff)
downloadtdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.tar.gz
tdepowersave-f43aac0e44bdcf6d5fd8f1d150bdb6908baf9bea.zip
Use the new battery polling support in tdehwlib
This resolves Bug 1992
Diffstat (limited to 'src/hardware_cpu.cpp')
-rw-r--r--src/hardware_cpu.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}