mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-14 22:35:49 +00:00
add more battery retalted keys
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#ifndef BATTERYSOURCE_H
|
||||
#define BATTERYSOURCE_H
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QObject>
|
||||
|
||||
#include "abstractextsysmonsource.h"
|
||||
@ -37,11 +38,14 @@ public:
|
||||
QStringList sources() const;
|
||||
|
||||
private:
|
||||
void calculateRates();
|
||||
// configuration and values
|
||||
int m_batteriesCount = 0;
|
||||
QString m_acpiPath;
|
||||
QStringList m_sources;
|
||||
QDateTime m_timestamp;
|
||||
QVariantHash m_values;
|
||||
QVariantHash m_previousValues;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user