Using an electronic device that emits artificial light – including laptops, smartphones, and tablets – an hour before bed can prevent you from falling asleep. This is a cause for concern. Chronic lack of sleep has been linked to such detrimental health conditions as diabetes, obesity, and heart disease.
f.lux fixes this: it makes the color of your computer’s display adapt to the time of day, warm at night and like sunlight during the day.
It’s even possible that you’re staying up too late because of your computer. You could use f.lux because it makes you sleep better, or you could just use it just because it makes your computer look better.
Download f.lux from https://justgetflux.com/