linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFC] Add Generic Device Battery API
@ 2012-08-30 11:26 chen.ganir
  2012-08-30 11:26 ` [PATCH RFC] battery: Add generic device battery interface chen.ganir
  0 siblings, 1 reply; 5+ messages in thread
From: chen.ganir @ 2012-08-30 11:26 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: chen.ganir

From: Chen Ganir <chen.ganir@ti.com>

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-09-10 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-30 11:26 [PATCH RFC] Add Generic Device Battery API chen.ganir
2012-08-30 11:26 ` [PATCH RFC] battery: Add generic device battery interface chen.ganir
2012-09-06 19:34   ` Claudio Takahasi
2012-09-09  5:59     ` Chen Ganir
2012-09-10 13:24       ` Claudio Takahasi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).