Allah says that he remembers Allah even while he is asleep. He says my eyes go to sleep but my mind does not and I keep remembering Allah. So even if one remembers Allah in complete full sleep, if he is half awake, why shouldn’t he be considered as remembering Allah?