I was writing a paper one night for school.
To avoid the sleepiness, I made some coffee and went back to work.
I was really tired and did not want to stay awake.
I was really alert and did not want to sleep.