remove references to PineTab
This commit is contained in:
parent
cc8d1082a4
commit
9ab978d47d
2 changed files with 2 additions and 4 deletions
|
@ -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)) {
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue