Created a sleep mode activity for the data collection stuff.
Not exactly sure if this is how it should be but it will work for now.