Not sure if this is "normal" behavior, but
#dbus-monitor --system "path=/org/bluez/hci0"
returns some interesting output. When BT is shut-off using the Gnome
Settings, an event stream is generated that appears to turn it off...,
but at the end, seems to tell something, somewhere that it is on.
Pasting from the relevant parts of the output:
signal time=1618356308.901616 sender=:1.548 -> destination=(null destination)
serial=237 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties;
member=PropertiesChanged
string "org.bluez.Adapter1"
array [
dict entry(
string "Class"
variant uint32 0
)
dict entry(
string "Powered"
variant boolean false
)
dict entry(
string "Discovering"
variant boolean false
)
]
array [
]
BUT THEN AT THE END OF THE EVENT STREAM...
ethod call time=1618356308.915545 sender=:1.545 -> destination=:1.548
serial=148 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties;
member=Set
string "org.bluez.Adapter1"
string "Discoverable"
variant boolean true
method call time=1618356308.916566 sender=:1.545 -> destination=:1.548
serial=149 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties;
member=Set
string "org.bluez.Adapter1"
string "DiscoverableTimeout"
variant uint32 0
method call time=1618356308.916586 sender=:1.545 -> destination=:1.548
serial=150 path=/org/bluez/hci0; interface=org.bluez.Adapter1;
member=StartDiscovery
method call time=1618356308.916591 sender=:1.155 -> destination=:1.548
serial=881 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties;
member=Set
string "org.bluez.Adapter1"
string "Powered"
variant boolean true
method call time=1618356308.916599 sender=:1.40 -> destination=:1.548
serial=509 path=/org/bluez/hci0; interface=org.freedesktop.DBus.Properties;
member=Set
string "org.bluez.Adapter1"
string "Powered"
variant boolean true
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1923323
Title:
Bluetooth will not stay OFF upon resume
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/1923323/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs