Could your smartphone save your life?