On the energy equation for fluid-film lubrication