Daemon detecting laptop docking based on input event