Read this if you’re constantly plugging in your device overnight.