Feeling very tired
I was taking a test in class.
I had been taking the test for about two hours.
I started to drift into sleep.
I did everything I could to prevent sleeping.
I eventually fell asleep on accident until class was over.