The cable does not remain in the product, it was purchased for charging. I thought my speaker was charging for our upcoming hike, but when we went to use it I found it wasn't charging at all. My fault is that I didn't check if it was charging more than once, but it was definitely connected and working at first. The female end of the connector is so loose that it doesn't stay connected. I have to plug into the speaker to get away and it keeps charging without falling out.