Update comment
This commit is contained in:
parent
20598baf8a
commit
bac3580807
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ Battery::Battery(QObject* parent) : QObject(parent)
|
||||||
stateFile = new QFile("/run/state/namespaces/Battery/ChargingState", this);
|
stateFile = new QFile("/run/state/namespaces/Battery/ChargingState", this);
|
||||||
|
|
||||||
// TODO
|
// TODO
|
||||||
// What if the files can't be opened?
|
// Implement DBus mechanism for reading battery status
|
||||||
// What if the device doesn't have a battery?
|
|
||||||
|
|
||||||
updateData();
|
updateData();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue