org.bluez.Battery(5)
π NAME π
okay so bestie, this is org.bluez.Battery(5) β the BlueZ D-Bus Battery API documentation β¨ itβs chilling in Linux System Administration territory, and itβs giving βbattery info but make it D-Busβ ππ
π INTERFACE π
hereβs the vibe check on how you reach this thing, no cap:
- 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]β tells you 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) πΈ
catch you later bestie π
β this page is from BlueZ, dated October 2023, and the manual page is org.bluez.Battery(5) πβ¨
π¦ where this page comes from
- arch rolling: bluez-utils 5.87-2 Β· GPL-2.0-only
- nixpkgs unstable: bluez 5.87
- ubuntu stonking: bluez 5.87-4 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms