You should listen for the dbus event, which only tells you the state has changed. Than you read the value from /sys/devices/platform/gpio-switch/slide/state to see, if the slide is open or closed. regards Nicolai