What caused my MBA 2013 battery to degrade in performance by up to 80% !

Typically I got around 11 hours on this work issued mba, now I am lucky to see 3 hours.

All I did was install MAMP development stack. I of course stop all the servers etc. By using the start/stop control on the mamp management app. What else could it leave running that could cause such degradation in battery life ?