/** * Wait indefinitely for the device state to go active. * @return False if timed out waiting for the specified value, otherwise true. * @throws InterruptedException If interrupted while waiting.- */ public boolean waitForActive() throws InterruptedException { return waitForActive(0); }