Battery and electronic control power matching