In this paper a variational approach is taken to study a doubly nonlinear parabolic equation. We consider energy estimates for parabolic minimizers related to this equation. These energy estimates play a fundamental role in obtaining Harnack estimates. Our treatment is done in general metric measure spaces with a doubling measure and a Poincare inequality.