kdeconnect-kde/kded/plugins/battery
Albert Vaca 95ef31acea Documentation
Added a README to each plugin explaining the content of the packages they
send and receive
Explained the format of encrypted packages.
2013-09-24 14:14:34 +02:00
..
batterydbusinterface.cpp Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
batterydbusinterface.h Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
batteryplugin.cpp i18n 2013-09-04 21:19:02 +02:00
batteryplugin.h Renamed daemon -> kded 2013-09-02 03:23:34 +02:00
CMakeLists.txt Moved filetransferjob from filetransfer plugin to networkpackage 2013-09-24 14:10:25 +02:00
kdeconnect_battery.desktop SVN_SILENT made messages (.desktop file) 2013-09-20 16:02:43 +02: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.