Support energy_* parameters in addition to charge_* ones.