Interact with idle detection in lib