I would not put the battery on the swing arm.
It negates the whole purpose of a light swing arm (less unsprung weight).
Also having a battery constantly being vibrated is not good.