Stamina potion isn't the same as Energy potion. If you would add some kind of different logic which makes it only drink below a certain energy instead of every run, you'll in the end reach 0 energy. This will drastically decrease your profit per hour as you have no proper way of regaining it as Stamina only gives you 20.