I think we have all done this.
I changed loads on the electric's on mine after the battery kept running flat, changed the battery, cleaned all the earth, replaced the leads... on and on.. what was it?
Two week earlier I had changed the clutch and hadn't attached a lead to the alternator properly so it wasn't charging the battery
Not as much work as you put in thou
But we have all done it.