Added immobility detector based on accelerometer

Need to add tunable threshold