mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-27 06:04:32 +08:00
cba68babe1
This renames battery-api.txt to org.bluez.Battery*.rst and generate manpages org.bluez.Battery*.5.
40 lines
934 B
ReStructuredText
40 lines
934 B
ReStructuredText
=================
|
|
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_XX_XX_XX_XX_XX_XX
|
|
|
|
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).
|