Harry's lap timer warns on the phone display when the sum of the longitudinal and lateral acceleration exceeds or falls below a preset value. That may work for motorists, but not on a motorcycle.
I suggest to alert using two vibrating Bluetooth bracelet. One vibrates when falling below the preset lower limit, the other when exceeding the upper one. I think this is easy to implement and even for motorists a sensible option.
Thanks, Stephan