Energy storage battery input and output power