Recharges after a Short or Long rest. If the creature takes X damage or less that would reduce it to 0 hit points, it is reduced to 1 hit point instead. (Boar, pp. 319, MM)