Must I think continuously about my tefillin while wearing them?
Rabeinu Yonah explains that prohibited distraction from tefillin means frivolous conduct, rather than every absence of conscious attention to them. As long as a person behaves with awe of the Creator, this is not considered distraction; this explains the permission for a short nap while wearing tefillin. The article also cites the Ramban's stricter view that mourning prevents concentration on tefillin and thus constitutes distraction. This excerpt does not provide a final practical ruling.
A practical halachic question: the final ruling is for your rabbi.
The source brings differing opinions.
Quote from the source«Rather, it means that one may not act light-headedly and frivolously while wearing them.»
- Author
- Kollel Iyun Hadaf of Yerushalayim
- Source
- Parsha.net — Vaeira59, p. 5
- Parsha
- Vaera