Aprilia replaced the battery for me too, was fine or seemed fine for a few weeks but the problem came back...
I also fitted the thicker Halfords earth cable with no effect:thumbdown
Bike went in for a valve service (which the majority were very tight and needed shimming) and hey presto :thumbup
Never had a problem after that......
Just my findings chaps :cheers