-->
import Quickshell.Bluetooth
The name of the Bluetooth device, ignoring user provided aliases. See also name which returns a user provided alias if set.
System icon representing the device type. Use Quickshell.iconPath() to display this in an image.
True if pairing information is stored for future connections.
Battery level of the connected device, from 0.0
to 1.0
. Only valid if batteryAvailable is true.
True if the device is currently being paired.
NOTE
cancelPair() can be used to cancel the pairing process.
Connection state of the device.
The Bluetooth adapter this device belongs to.
True if the connected device reports its battery level. Battery level can be accessed via battery.
True if the device is considered to be trusted by the system. Trusted devices are allowed to reconnect themselves to the system without intervention.
True if the device is allowed to wake up the host system from suspend.
DBus path of the device under the org.bluez
system service.
True if the device is blocked from connecting. If a device is blocked, any connection attempts will be immediately rejected by the system.
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.
MAC address of the device.
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.