A startup on Indiegogo has created and is searching crowdfunding for their device, called the D Free that can detect when you have to take a crap and how much time you have left before you poop in your pants...
...I guess there is a wearable for everything nowadays.
Check out the video below:
The D Free is a medical device for individuals with disabilities or other medical conditions. It's the project of Triple W.
According to a promotional video, the wearable will be able to detect "activity in your intestines" – at which point an accompanying app will send you a push notification providing an approsximate window of time that lets you know how much time you have to find a restroom.