Energy-aware multi-robot task allocation in persistent tasks