Monitor accelerometer or gyroscope in the background?

Is it possible to monitor the accelerometer or gyroscope when running in the background?

My goal is to develop an app that detects sudden accelerations, like if the user fell down stairs, or was in a car accident.

Thanks, Frank

Monitor accelerometer or gyroscope in the background?
 
 
Q