Scientists have said that the use of laptop at night, especially the light that emits from it can fuel depression.

Shift workers working at night could be prone to risks of depression, as bright light in the early hours can increase levels of stress hormone which can also inhibit the ability to learn.
It might be a good idea to keep fewer lamps switched on at night while working.
Source-Medindia