From bac3580807b765dc1eb8c950bbaf696de6d2b3eb Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Sun, 10 Mar 2019 14:56:41 +0200 Subject: [PATCH] Update comment --- src/battery.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/battery.cpp b/src/battery.cpp index d23489d..f4bec4c 100644 --- a/src/battery.cpp +++ b/src/battery.cpp @@ -27,8 +27,7 @@ Battery::Battery(QObject* parent) : QObject(parent) stateFile = new QFile("/run/state/namespaces/Battery/ChargingState", this); // TODO - // What if the files can't be opened? - // What if the device doesn't have a battery? + // Implement DBus mechanism for reading battery status updateData(); }