Comment fix

This commit is contained in:
Nicolas Mailloux 2023-07-25 11:20:50 -04:00
parent 8a3f18d703
commit f87a10dbef

View file

@ -444,7 +444,7 @@ namespace {
batteryLevel.append("%"); batteryLevel.append("%");
} }
else { else {
// It's for the Nia model c - but also its a more regular - default path, so make it the fallback // It's for the Nia model C - but it's also a more regular/default path, so make it the fallback
QString path = "/sys/class/power_supply/battery/capacity"; QString path = "/sys/class/power_supply/battery/capacity";
if(QFile::exists(path)) { if(QFile::exists(path)) {
batteryLevel = readFile(path).trimmed(); batteryLevel = readFile(path).trimmed();