He was almost dead, and still fighting on.
He continued to fight even as the life drained out of him.