A new characterization of weak solutions to the damped wave equations