The eBrake System were designed to handle two scenarios. The first scenario is when both the throttle and brake are both active. In this scenario we want to signal the motor to be cut off. The second scenario is when the rider is braking and is pressing the brakes off and on, we don't want the motor to keep shutting on and off abruptly.