For all of you who are having the loose battery issue I am having the same as are plenty of other CCS owners with the extended range battery.
My battery is back with Juiced for its second warranty service. Furthermore, the arc faults or voltage fluctuations have fried the controller. Juiced has, with some protestations, agreed to replace the controller and repair the battery. But regardless I'm now without my bike for over two months out of the 14 months I've owned it, which is frustrating.
Juiced has not mentioned any "battery top cap" replacement in its solutions for me. I have used shims in the mounting hardware along with tie wraps to secure the battery but it was not sufficient to prevent this failure. For winter, I am going to switch to velcro straps to allow me to remove and charge the battery in a warm house instead of a cold garage.
Juiced mentioned to me that the 19.1ah battery is too big for the CCS frame, but would not admit that this is a design flaw when pressed.
There's an extensive (now locked) thread on the topic available here:
This is a new CCX bike with just 100 miles. The battery locks in place with the usual click and operates normally. Biking on a bumpy road the display goes off. A gentle hit with the palm of the hand on the left side re-establishes the power, after the power-on sequence (pressing the display...
electricbikereview.com
If (when) I see any instances of arc faulting following this current repair I may try to retrofit the battery and frame with a free-floating connector that won't be subject to the battery's movement relative to the frame.
@niltohams I also originally fixed this issue by tightening that retainer nut but it was only temporary. You should add straps to your battery as well to prevent additional issues.