I had gotten exhausted yesterday.

I was not motivated to do anything.
Therefore, I was sleeping all day long.