From 9079c10bd1a6e6af1c53ef1feafb6c0c8382cd49 Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Mon, 26 Apr 2021 17:08:04 +0300 Subject: [PATCH] Don't log when there is no action. --- service/src/battery.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/service/src/battery.cpp b/service/src/battery.cpp index 48137d6..85e557e 100644 --- a/service/src/battery.cpp +++ b/service/src/battery.cpp @@ -197,9 +197,6 @@ void Battery::showHighNotification() { logD("Close high battery notification"); notification->close(); } - else { - logD("No high notification action"); - } } void Battery::showLowNotification() { @@ -216,9 +213,6 @@ void Battery::showLowNotification() { logD("Close low battery notification"); notification->close(); } - else { - logD("No low notification action"); - } } int Battery::getCharge() { return charge; }