done with AlarmManager to trigger the sensor service every 3 seconds