When I was a student I slept with everything I owned in a single room. I had to block light from the Ethernet port status lights on my computer and printer, the smoke alarm, and my phone charger.
These days I own a home with far more space. The things which have LEDs are not in my bedroom.