ObsidianAndroidAppiumTransportOptions.deviceIdleTimeoutInMilliseconds?
ObsidianAndroidAppiumTransportOptions › deviceIdleTimeoutInMilliseconds?
Type: number
Timeout in milliseconds for waiting, aftersys.boot_completed, for the emulator to become idle before the Appium session is established.sys.boot_completed fires *before* the guest is actually idle: package optimization and system services keep churning, so establishing the session immediately makes every one of UiAutomator2's serialized adb round-trips contend with that work and inflates session establishment ~3x. The factory instead waits until the boot animation has stopped and the package manager is serving, proceeding early once idle or after this budget (best-effort — a timeout logs a warning and proceeds). Set 0 to skip the wait.Applies to a **reused** device as well as a harness-started one. A device that is merely present in
adb devices can still be mid-dex2oat, and skipping the gate there is what left a run polling a churning guest until layoutReadyTimeoutInMilliseconds ran out.