That sounds like it would take an awful lot of battery though. And it would mean most of your friends would have to have the app for it to be "useful" don't it?
I've been running the prototype on my phone, and doesn't seem to use a noticeable amount of power at the moment. But you're right, all your friends have to be running the app for the detection to work.