absent-mindedly

adverb
1
in a way that shows you are not thinking about what is around you, but about something else, and that may cause you to forget things
با حواس‌پرتی, بی‌توجهانه, به صورت بی‌تمرکز, مانند کسی که حواسش پرت است