kdeconnect-kde/kded/plugins/battery
Aleix Pol faa3daa585 Code review
Fixes/adds some comments.
Proper use of some Qt API.

REVIEW: 113195
2013-10-11 15:20:04 +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 Code review 2013-10-11 15:20:04 +02:00
batteryplugin.h Code review 2013-10-11 15:20:04 +02:00
CMakeLists.txt Includes and cmakelists cleanup 2013-09-26 17:49:40 +02:00
kdeconnect_battery.desktop SVN_SILENT made messages (.desktop file) 2013-10-11 04:30:46 +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.