IT will stop when mining is no longer marginally profitable (ie, it costs more in electricity than it generates in mining). With current technology, current BTC price (and block reward). This chart gives you an idea:
![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi.imm.io%2F1ndNA.png&t=663&c=SWaa93ymrsDezQ)
Those numbers are derived from Bitmine's power efficiency specs in "nominal mode", 0.6J/GH, which are basically the same as HF, CT and BFL. I doubt that will be the pinnacle of power efficiency though; more efficient chips and/or these chips running in lower power mode, the ceiling may be 2-3x higher. Then multiply or divide by whatever you think BTC will be worth in the future.