Could be the clutch or brake lever. They both have a micro switch that gets dirty etc,
Try riding while lightly pushing forward on the levers with a finger and see if it helps.
Try each side to locate the problem. Had the same problem on my 1st gen clutch lever, cleaned out the crud and adjusted the cable and it fixed it
Good luck
just my 2.4 cents worth
Darrin:fingers-crossed-emo