remove references to PineTab

This commit is contained in:
nephros 2023-02-23 16:18:22 +01:00
parent cc8d1082a4
commit 9ab978d47d
2 changed files with 2 additions and 4 deletions

View file

@ -81,8 +81,7 @@ Battery::Battery(Settings* newSettings, Logger* newLogger, QObject* parent) : QO
// Number: 0 or 1 // Number: 0 or 1
filenames.clear(); filenames.clear();
filenames << "/sys/class/power_supply/ac/present" filenames << "/sys/class/power_supply/ac/present";
<< "/sys/class/power_supply/axp813-ac/present";
foreach(const QString& file, filenames) { foreach(const QString& file, filenames) {
if(!acConnectedFile && QFile::exists(file)) { if(!acConnectedFile && QFile::exists(file)) {

View file

@ -132,8 +132,7 @@ Battery::Battery(Logger* newLogger, bool loglevelSet, QCoreApplication *app, QOb
// Charger connected, bool (number): 0 or 1 // Charger connected, bool (number): 0 or 1
filenames.clear(); filenames.clear();
filenames << "/sys/class/power_supply/ac/present" filenames << "/sys/class/power_supply/ac/present";
<< "/sys/class/power_supply/axp813-ac/present";
foreach(const QString& file, filenames) { foreach(const QString& file, filenames) {
if(!acConnectedFile && QFile::exists(file)) { if(!acConnectedFile && QFile::exists(file)) {