kdeconnect-kde/kded/plugins/battery
2013-11-11 04:03:02 +00:00
..
batterydbusinterface.cpp qDebug -> kDebug with namespaces 2013-11-06 22:16:55 +01:00
batterydbusinterface.h Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
batteryplugin.cpp qDebug -> kDebug with namespaces 2013-11-06 22:16:55 +01:00
batteryplugin.h Code review 2013-10-11 15:20:04 +02:00
CMakeLists.txt qDebug -> kDebug with namespaces 2013-11-06 22:16:55 +01:00
kdeconnect_battery.desktop SVN_SILENT made messages (.desktop file) 2013-11-11 04:03:02 +00:00
README Documentation 2013-09-24 14:14:34 +02:00

This plugins receives packages with type "kdeconnect.battery" and reads the
following fields:

isCharging (boolean): If the battery of the peer device is charging
currentCharge (int): The charge % of the peer device

<TODO>
Symmetrically, it sends its own battery information in packages with the same
format.
</TODO>

It also sends packages with type kdeconnect.battery and a field "request": true,
to ask the peer device to send a package like the mentioned above, and should
also answer this same kind of packages with its own information.

If the battery is low and discharging, it will notify the user.