Added tracking of peak energy to bots.