The Blessed One said to Venerable Mahā Moggallāna, Are you nodding, Moggallāna? Are you nodding? Yes, lord.

Well then, Moggallāna, whatever perception you have in mind when drowsiness descends on you, don't attend to that perception, don't pursue it. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then recall to your awareness the Dhamma as you have heard & memorized it, re-examine it, & ponder it over in your mind. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then repeat aloud in detail the Dhamma as you have heard & memorized it. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then pull both your earlobes and rub your limbs with your hands. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then get up from your seat and, after washing your eyes out with water, look around in all directions and upward to the major stars & constellations. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then attend to the perception of light, resolve on the perception of daytime, (dwelling) by night as by day, and by day as by night. By means of an awareness thus open & unhampered, develop a brightened mind. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then, percipient of what lies in front & behind, set a distance to meditate walking back & forth, your senses inwardly immersed, your mind not straying outwards. It's possible that by doing this you will shake off your drowsiness.

But if by doing this you don't shake off your drowsiness, then, reclining on your right side, take up the lion s posture, one foot placed on top of the other, mindful, alert, with your mind set on getting up. As soon as you wake up, get up quickly, with the thought, I won't stay indulging in the pleasure of lying down, the pleasure of reclining, the pleasure of drowsiness. That is how you should train yourself.