Blob: org.bluez.Battery.rst

Blob id: 5f9c6e7c6d3f1ae69f8b429879a04c2aa0163e25

Size: 918 B

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
=================
org.bluez.Battery
=================

-------------------------------------
BlueZ D-Bus Battery API documentation
-------------------------------------

:Version: BlueZ
:Date: October 2023
:Manual section: 5
:Manual group: Linux System Administration

Interface
=========

:Service:	org.bluez
:Interface:	org.bluez.Battery1
:Object path:	[variable prefix]/{hci0,hci1,...}/dev_{BDADDR}

Properties
----------

byte Percentage [readonly]
``````````````````````````

The percentage of battery left as an unsigned 8-bit integer.

string Source [readonly, optional]
``````````````````````````````````

Describes where the battery information comes from.

This property is informational only and may be useful for debugging purposes.

Providers from **org.bluez.BatteryProvider(5)** may make use of this property to
indicate where the battery report comes from (e.g. "HFP 1.7", "HID", or the
profile UUID).