Thread (5 messages) 5 messages, 2 authors, 2012-09-10

[PATCH RFC] Add Generic Device Battery API

flat view
STALE5157d

From: <hidden>
Date: 2012-08-30 11:26:19

From: Chen Ganir <redacted>

This API proposal allows exposing peer device battery information to the D-Bus
clients. Profiles supporting peer device battery information (such as AVRCP, 
LE Battery client) may use the internal API (next patch set) to register or
unregister batteries to be listed under the device object path. These batteries
have multiple read-only prpoerties that can be read by the D-Bus clients. In
addition, the new org.bluez.Battery interface allows sending PropertyChanged for
battery properties (such as Battery level).

Battery properties currently include the battery level, namespace and 
description (currently used by the LE battery client). More properties can be
added or removed as we see fit in the future.

Comments on this patch will be appreciated.

Chen Ganir (1):
  battery: Add generic device battery interface

 doc/battery-api.txt |   34 ++++++++++++++++++++++++++++++++++
 doc/device-api.txt  |    5 +++++
 2 files changed, 39 insertions(+)
 create mode 100644 doc/battery-api.txt

-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help