Constraints on radiatively inefficient accretion history from Eddington ratio distribution of active galactic nuclei