28.03.2017, 09:50
Sleep interval must be set to 0. It will only monitor current bus status events, previous state is not reported in any way. Bus status change is not instant, some small amount of time must pass before disconnect event is reported.