Your character consumes Stamina to gain double experience. If you don't have any Stamina, you only gain the normal experience rate. Stamina potions recover a portion of your Stamina. There is also a (very slow) Stamina regeneration. Stamina Savers allow you to gain double experience without losing Stamina for one hour.