It means that based on your other observations, you conclude that you didn't sleep well. You're really tired or not thinking clearly - yet you know you went to bed on time. So because you feel this way, it must be because you didn't sleep well.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.