When your MacBook Pro switches from integrated Intel graphics to the dedicated GPU, power consumption goes up considerably. Which API calls or program attributes trigger this switch is not totally clear, and programs that you least expect might be draining your battery.
Cody Krieger’s free gfxCardStatus will tell you when a switch occurs and lists which programs are causing this.
Unfortunately, there doesn’t seem to be a list of which APIs trigger the discrete GPU. The system thinks that EagleFiler and BBEdit need it, even if they are just displaying text files.