gnome-settings-daemon listens for drm udev events to trigger automatic
layout updates. As it turns out, upower's current definition for "is
this machine docked" is "does this machine have more than one output
connected", and it...also listens for udev events - specifically from
drm, not dock devices - to trigger updating its internal value.
(upower doesn't use any of the actual ACPI dock detection mechanisms
because most modern docks don't actually register as ACPI docking
stations, so they don't show up at all in ACPI)
So in this particular case, upower doesn't know anything that g-s-d doesn't.
gnome-settings- daemon listens for drm udev events to trigger automatic
layout updates. As it turns out, upower's current definition for "is
this machine docked" is "does this machine have more than one output
connected", and it...also listens for udev events - specifically from
drm, not dock devices - to trigger updating its internal value.
(upower doesn't use any of the actual ACPI dock detection mechanisms
because most modern docks don't actually register as ACPI docking
stations, so they don't show up at all in ACPI)
So in this particular case, upower doesn't know anything that g-s-d doesn't.