Here are a couple fault finding diagrams for when you have issues with the battery not charging or the bike dying. Often one component may take another component with it.
Batteries, regulator/rectifier, r/r, stator
http://racetechelectric.com/files/pdf/rte_troubleshooting_flow_chart.pdf
https://www.electrosport.com/media/pdf/fault-finding-diagram.pdf
Batteries, regulator/rectifier, r/r, stator
http://racetechelectric.com/files/pdf/rte_troubleshooting_flow_chart.pdf
https://www.electrosport.com/media/pdf/fault-finding-diagram.pdf