Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.39 KB

timing-diagram.md

File metadata and controls

34 lines (22 loc) · 1.39 KB
                       ________________________________
App awake?                                             |___ <-- iOS has suspended the app when stop-detection expires
					   __________                      .
GPS ON?                          |_____________________.___
                                 .                     .
                              	 .<-- GPS OFF when stop-detection engages (to conserve battery)
                       ___       .                     .
motion-state moving?      |____________________________.___
                          .      .                     .
                          .      .                     .
                          ........                     .
stopDetectionDelay:    ___|      |_____________________.___
                                 .                     .
                                 .                     .
      	 begin stop-detection -->.                     .<-- end stop-detection
                                 ._____________________.
stop-detection engage: __________|                     |___
                              	 .                     .
                                 .start                .expire
                            	 .                     .
                                 .......................      
stopTimeout:           __________|                     |___