Free energy, widely used as a measure of turbulence intensity in weakly collisional plasmas, has been recently found to be a suitable basis to describe both linear and nonlinear growth in a wide class gyrokinetic systems. The simplicity afforded by this approach is accompanied by some drawbacks, notably the lack of any explicit treatment of wave-particle effects, which makes the theory unable to describe things like stability thresholds or dependence on the geometry of the background magnetic field. As a step toward overcoming these limitations, we propose an extension of the theory based on a generalization of free energy. With this it is demonstrated that resonance effects are recovered, and the bounds on growth are significantly reduced. The simplicity and efficient computation of the associated "optimal" growth rates makes the theory potentially applicable to stellarator optimization.