Energetics of long period resonant hydromagnetic waves