kdeconnect-kde/plugins/battery
l10n daemon script fc2bd97e69 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-11-17 12:54:36 +00:00
..
batterydbusinterface.cpp Trying to fix a couple of crashes when unpairing and repairing devices. 2015-09-07 00:14:52 -07:00
batterydbusinterface.h Only deletes dbus interfaces for the same device that had created it. 2015-07-18 17:13:51 -03:00
batteryplugin.cpp Use C++ for setting the default argument 2015-09-11 12:34:52 +02:00
batteryplugin.h run Clang Modernize 2015-09-08 10:47:37 +02:00
CMakeLists.txt Move the generation of dbus interfaces into interfaces/ 2015-06-18 19:06:14 +02:00
kdeconnect_battery.json SVN_SILENT made messages (.desktop file) - always resolve ours 2015-11-17 12:54:36 +00:00
README Move the plugins into a different top-ĺevel directory 2014-06-14 16:34:11 +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
thresholdEvent (int) [optional when = 0, see below]:
    means that a battery threshold event were fired on the remote device:
        0 := no event. generally not transmitted.
        1 := battery entered in low state
    This is an int so in the future we'll be able to subscribe to more events.
    (see BatteryPlugin.ThresholdBatteryEvent)

<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.