Power consumption and optimization with ArduPlane

So far I have studied all the plane parameters relevant to power consumption. Major ones that I assume affect power consumption are throttle, roll, and pitch limits and their corresponding rates. Also, it seems like all the TECS parameters can be applied to optimizing power consumption (using the least amount of a battery as necessary). Are there any built in functions that can either set a power optimization flight mode or analyze flight data in order to learn how to save power? My goal is to use the least amount of power and need guidance on how to do so.