A smart phone-based pocket fall accident detection, positioning, and rescue system