What puzzles me is that original symptoms were total loss of electrics and flat battery, therefore, not charging or sudden battery failure.
With new battery, it now starts easily and runs fine (only tested without engine load).
I suspected failed stator but it's charging at 14.3v.
I'll try disconnecting the add on gear indicator, but it only seems to piggy back the feed from the gear selector.
So is the electrical failure and gear thing linked, or a coincidence?
I'll get the old battery tested under load, but after charging it off the bike it was holding 13.2v.