org.bluez...erManager(5)
π NAME π
org.bluez.BatteryProviderManager β BlueZ D-Bus BatteryProviderManager API documentation, bestie. This is the org.bluez.BatteryProviderManager(5) page, and it's literally here to explain the BlueZ D-Bus BatteryProviderManager API. π
π DESCRIPTION π
okay so a battery provider starts by registering itself as a battery provider with the RegisterBatteryProvider() method, passing an object path as the provider ID. Then it can start exposing org.bluez.BatteryProvider(5) objects having the path starting with the given provider ID. It can also remove objects at any time. The objects and their properties exposed by battery providers will be reflected on the org.bluez.Battery(5) interface.
bluetoothd(8) will stop monitoring these exposed and removed objects after UnregisterBatteryProvider is called for that provider ID. That's the whole flow, no cap.
β¨ INTERFACE β¨
Here's the vibe check for the D-Bus side, bestie:
- Service:
org.bluezπΈ - Interface:
org.bluez.BatteryProviderManager1π¦ - Object path:
/org/bluez/{hci0,hci1,...}π
π§ METHODS π§
π void RegisterBatteryProvider(object provider)
Registers a battery provider. A registered battery provider can then expose objects with the org.bluez.BatteryProvider(5) interface. Slay.
π« void UnregisterBatteryProvider(object provider)
Unregisters a battery provider previously registered with RegisterBatteryProvider(). After unregistration, the org.bluez.BatteryProvider(5) objects provided by this client are ignored by bluetoothd(8). Important vibe: they're ignored, fr fr.
mwah π β this page comes from BlueZ, dated October 2023. Catch you in the group chat, bestie π«Άβ¨
π¦ 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