Won't this only use the accels for the first 4000ms == 4s rather than the stated 7s?  Also need to consider that 1s has already been consumed in the RESET state.