If you are on a device within 30 minutes before you go to sleep than you won’t go to sleep. This is why: a device will put an effect on eyes.