If you're just trying to drain a battery via usage then you don't exactly need a special application. Open a task heavy program. A game, a benchmark tool, or something else that would normally get the machine humming & leave it be for a bit.
However, if you're wanting to extend a batteries life I wouldn't suggest doing this. Use it like normal until you drain the battery with actual usage and just charge it when needed. Charging a battery frequently doesn't help its life cycle.
This is 100 percent accurate. So many old myths about how to take care of a battery continue to be propagated but this is it right here. Just charge it whenever you can, and do a good full drain every once in a while to kind of recalibrate it.Newer laptops mostly use lithium-ion batteries. You're doing more harm than good each time the battery is fully discharged; lithium-ion batteries don't have issues with memory like previous batteries did.
If I remember correctly, the last few smart phones I purchased (Apple, LG, Samsung) stated in the manual that the lithium-ion batteries should be charged as frequently as possible, because the more the batteries are discharged, the shorter the lifespan.
Fully discharging the battery every few months can help with reporting accuracy by the OS, that's about it.
The technology has improved substantially, and I doubt whatever you do it'll make much of a difference either way.