You’ve probably got rid of the powabyke now, I’m in a similar situation, although I got mine for a tenner, - and it has half decent rim brakes.
For your information, my SLA batteries where all dead, the controller was hanging off too.
I rigged an 18volt 3ah Bosch drill battery to a switch and...