summaryrefslogtreecommitdiffstats
path: root/src/hardware.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardware.cpp')
-rw-r--r--src/hardware.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hardware.cpp b/src/hardware.cpp
index 10cd4b6..766b30b 100644
--- a/src/hardware.cpp
+++ b/src/hardware.cpp
@@ -1264,11 +1264,11 @@ void HardwareInfo::emitS2diskButtonPressed() {
*/
void HardwareInfo::emitSessionActiveState() {
if (sessionIsActive) {
- if (!dbus_HAL->aquiredPolicyPowerInterface()) {
- dbus_HAL->aquirePolicyPowerIface();
+ if (!dbus_HAL->acquiredPolicyPowerInterface()) {
+ dbus_HAL->acquirePolicyPowerIface();
}
} else {
- if (dbus_HAL->aquiredPolicyPowerInterface()) {
+ if (dbus_HAL->acquiredPolicyPowerInterface()) {
dbus_HAL->releasePolicyPowerIface();
}
}