From 9ab978d47d8cf97503eb1528dc29b0e4942ea5a3 Mon Sep 17 00:00:00 2001 From: nephros Date: Thu, 23 Feb 2023 16:18:22 +0100 Subject: [PATCH] remove references to PineTab --- application/src/battery.cpp | 3 +-- service/src/battery.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/src/battery.cpp b/application/src/battery.cpp index 56599d4..780490a 100644 --- a/application/src/battery.cpp +++ b/application/src/battery.cpp @@ -81,8 +81,7 @@ Battery::Battery(Settings* newSettings, Logger* newLogger, QObject* parent) : QO // Number: 0 or 1 filenames.clear(); - filenames << "/sys/class/power_supply/ac/present" - << "/sys/class/power_supply/axp813-ac/present"; + filenames << "/sys/class/power_supply/ac/present"; foreach(const QString& file, filenames) { if(!acConnectedFile && QFile::exists(file)) { diff --git a/service/src/battery.cpp b/service/src/battery.cpp index f110c7f..ad97fc9 100644 --- a/service/src/battery.cpp +++ b/service/src/battery.cpp @@ -132,8 +132,7 @@ Battery::Battery(Logger* newLogger, bool loglevelSet, QCoreApplication *app, QOb // Charger connected, bool (number): 0 or 1 filenames.clear(); - filenames << "/sys/class/power_supply/ac/present" - << "/sys/class/power_supply/axp813-ac/present"; + filenames << "/sys/class/power_supply/ac/present"; foreach(const QString& file, filenames) { if(!acConnectedFile && QFile::exists(file)) {