How to detect the auto reconnect of a bluetooth device programmatically.