Radiative efficiency of hot accretion flows