mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-24 11:23:41 +08:00
927711c0af
The Battery Level characteristic was tested with a Microsoft Arc Touch Mouse SE. The Battery1 interface is now exported for Bluetooth LE devices which support the Battery Level characteristic, providing a single "Percentage" value to other integration points in the OS, such as UPower for consumption on most free desktops. See https://bugs.freedesktop.org/show_bug.cgi?id=92370
15 lines
331 B
Plaintext
15 lines
331 B
Plaintext
BlueZ D-Bus Battery API description
|
|
***********************************
|
|
|
|
|
|
Battery hierarchy
|
|
=================
|
|
|
|
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.
|