Do you have the digital display on the bars, these give error codes that can help. I've had a wide variety of electrical gremlins on my 906 and I'd not guessed any of them, some I never got to the root of.
An example was the fuse holder, it had gone brittle and broken in the battery casing, the connection relied on the spring action of the internal cable to keep it in place, bumps would make it lose power. Then there was when the fuse holder (I think it was that anyway) came loose. I've had a series of strange cutouts that went away and for a while I'd lose all power when the battery got to about half charge but that seems to have stopped now.