Aloha Irethedo,
Having the electronics right by your head isn't such a great thing. When they're off a ways to the side on a night stand, that is better.
Aloha better_life: In Marie's order of importance, being out of the flow of the door is after the bed facing a good direction. I usually have the door closed when I sleep in that situation, and open during the day.
If the bed is in the flow of the door so your feet point out the door, is a different situation and not favorable at all.
Much Love, Shawn