-->
import Quickshell.Bluetooth
The Bluetooth adapter this device belongs to.
System icon representing the device type. Use Quickshell.iconPath() to display this in an image.
True if the device is considered to be trusted by the system. Trusted devices are allowed to reconnect themselves to the system without intervention.
DBus path of the device under the org.bluez
system service.
MAC address of the device.
True if pairing information is stored for future connections.
True if the device is currently being paired.
NOTE
cancelPair() can be used to cancel the pairing process.
True if the connected device reports its battery level. Battery level can be accessed via battery.
True if the device is blocked from connecting. If a device is blocked, any connection attempts will be immediately rejected by the system.
True if the device is allowed to wake up the host system from suspend.
Connection state of the device.
Battery level of the connected device, from 0.0
to 1.0
. Only valid if batteryAvailable is true.
True if the device is currently connected to the computer.
Setting this property is equivalent to calling connect() and disconnect().
NOTE
state provides more detailed information if required.
The name of the Bluetooth device, ignoring user provided aliases. See also name which returns a user provided alias if set.
The name of the Bluetooth device. This property may be written to create an alias, or set to an empty string to fall back to the device provided name.
See deviceName for the name provided by the device.