If your sleep pattern is out of sync, so is everything else.