Alright air filter good, and the battery is also seemingly good. Normal voltage and everything. Plus it's already a lithium, a real tiny shorai one. It's definitely not the usual lithium used for this bike since it's a smaller format, so I wonder if this could be the problem.

A friend said it could possibly be the tps. But short of replacing this, I don't know how to determine if this is the problem, since the problem is so intermittent.