Properly transition the state of a device if disconnected

Fix issue where device shows "available" while not
connected.

Bug: 22950992
Change-Id: Ib2f98102be4ccd3dbc9a8281d0e6723a355ad7bc
2 files changed