If the conditions for H = T + V are satisfied, then conservation of the Hamiltonian implies conservation of energy. This requires the additional condition that V does not contain time as an explicit variable.