Carrying a battery in a pannier

Posted by InformalMedium2810@reddit | ebikes | View on Reddit | 30 comments

Chatgpt is suggesting I carry my 48v 21 ah battery in a pannier (Ortlieb) that is clipped onto the side of a rear rack (Topeak). Does anyone else have experience doing something like this? Will my battery be safe? Will I be able to ensure that the battery doesn't wobble when the bikes goes over potholes?