спать на ходу
I could barely keep my eyes open
to feel drowsy
can barely keep awake
He could barely keep awake (when walking)
Он спал на ходу
Thank you so much.