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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joao,

On 08/07/2012 07:29 PM, Joao Paulo Rechi Vita wrote:
On Wed, Jul 25, 2012 at 2:42 AM, Chen Ganir <chen.ganir@xxxxxx> wrote:
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux