Track scanning state changes of Bluetooth devices