Started happening again. If I accelerate hard, once I get up to 5-6k rpms, it'll cut out and the rev bar disappears. The only fix is to reach and kick the kickstand up with my heel. Is there a guide on disassembly and cleaning the sensor? Or should I replace it?
Its not really a dirty "sensor" issue.
The side stand switch is a momentary plunger type switch.
The side stand presses the plunger in closing the switch when the stand is up.
You probably have one (or more) of the following things happening.
1) The springs on your side stand are worn out or have broken or come loose.
2) The bolt that holds the stand in place is worn and causing the stand to be loose.
3) The metal plate on the frame the stand attaches to is worn causing the stand to be loose.
4) Your side stand is bent.
5) The switch is loose.
6) The switch contact could be failing internally (possible but this is the least likely option IMHO)
I had this same issue long ago with my bike as well.
I just bypassed the side stand switch all together.
But if you do that you have to be aware if the bike is in gear or not when you start it.
If you bypass the side stand switch and start the bike in gear then release the clutch the bike is going to travel forward even with the stand down and not shut off like would if the switch was in the circuit and working properly. (This is obvious I know but once you become accustom to the switch being there, its easy to forget its not)
Take a close look at your side stand, its mount, the bolt and the springs and I am sure it will become obvious what the issue is.
The spring is actually 2 springs (one inside the other) be sure one has not broken or come loose.
BCS