A bank angle sensor is an accelerometer or pendulum. A controller knows what the tilt angle of the weight is at any given time. As the bike leans in a turn the controller will see that tilt angle. If the bike is lifted off the jiffy stand, it will see that as threat of theft.