Thread (26 messages) 26 messages, 3 authors, 2012-08-08

Re: [PATCH v2 5/9] Battery: Add Battery list to btd_device

From: Chen Ganir <hidden>
Date: 2012-08-08 06:14:39

Joao,

On 08/07/2012 07:29 PM, Joao Paulo Rechi Vita wrote:
On Wed, Jul 25, 2012 at 2:42 AM, Chen Ganir [off-list ref] wrote:
quoted
Add peer battery list to the btd_device. New property added to Device
called Batteries.
---
  doc/device-api.txt                   |    5 +++
  profiles/batterystate/batterystate.c |    6 ++++
  src/device.c                         |   66 ++++++++++++++++++++++++++++++++++
  src/device.h                         |    3 ++
  4 files changed, 80 insertions(+)
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 3b84033..3d19a53 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -175,3 +175,8 @@ Properties  string Address [readonly]
                         Note that this property can exhibit false-positives
                         in the case of Bluetooth 2.1 (or newer) devices that
                         have disabled Extended Inquiry Response support.
+
+               array{string} Batteries [readonly]
+
+                       List of device battery object paths that represents the available
+                       batteries on the remote device.
This property should be deprecated by the introduction of the D-Bus
object manager (scheduled for the 5.0 release).
Can you please explain ? What do you mean deprecated ? What is the 
proposed mechanism to replace this property ?

Thanks,
Chen Ganir.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help