func Device(adapter, mac string) *DeviceModule {
	macPath := strings.Replace(strings.ToUpper(mac), ":", "_", -1)
	return &DeviceModule{path: "/org/bluez/" + adapter + "/dev_" + macPath}
}
Device constructs a bluetooth device module instance for the given adapter and MAC address.
package bluetooth  
import (
	"strings"
	godbus "github.com/godbus/dbus/v5"
	"barista.run/bar"
	"barista.run/base/value"
	"barista.run/base/watchers/dbus"
)
type DeviceModule struct {
	path       string
	outputFunc value.Value
}
type DeviceInfo struct {
	Name      string
	Alias     string
	Address   string
	Adapter   string
	Battery   int
	Paired    bool
	Connected bool
	Trusted   bool
	Blocked   bool
}