If device acceleration = active/yes then turn on light for "x" number of minutes