mirror of
https://git.outfoxxed.me/quickshell/quickshell.git
synced 2025-11-04 19:04:56 +11:00
service/upower: add power-profiles support
This commit is contained in:
parent
66b9917e70
commit
47bcf8ee61
6 changed files with 462 additions and 2 deletions
|
|
@ -54,6 +54,14 @@ private:
|
|||
DBusUPowerService* service = nullptr;
|
||||
};
|
||||
|
||||
///! Provides access to the UPower service.
|
||||
/// An interface to the [UPower daemon], which can be used to
|
||||
/// view battery and power statistics for your computer and
|
||||
/// connected devices.
|
||||
///
|
||||
/// > [!NOTE] The UPower daemon must be installed to use this service.
|
||||
///
|
||||
/// [UPower daemon]: https://upower.freedesktop.org
|
||||
class UPowerQml: public QObject {
|
||||
Q_OBJECT;
|
||||
QML_NAMED_ELEMENT(UPower);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue