TV and computers are bad when trying to go to sleep.
The reason may surprise you though.
Apparently its because of the blue light from the screen. Screens usually have 3 light frequencies. Blue, Green and Red. The blue light makes the brain think of the blue sky and therefor its day mode.
Cool huh