Energy-efficient quantum frequency estimation