Sensor can log when app is shuted down