Place a pot on the stove and turn the heat on to medium.
Add the butter to the pot, stir until almost melted. Turn the heat to medium low.
Add flour and whisk well for about 5 minutes until it starts smelling nutty and changing colors.
Add in onion powder, garlic powder, thyme and salt. Stir well.
Add 1/4 cup of broth slowly to the mixture, stir well until it forms a paste. Then add the rest of the broth very slowly and stir constantly to avoid lumps.
Once all the broth is mixed, turn the heat to medium and stir until the gravy starts simmering and has thickened to your liking, about 10 minutes.
Serve warm with mashed potatoes.