Activity Recognition API | Google for Developers
Learn about the API that accurately detects users' activity using low-power signals from multiple sensors in a device.