The wires are correct. Green is ground. You could get a voltmeter to check the voltage while running to see if its charging. The stock battery was junk anyway and walmarts probably not far behind. Get an AGM battery from Advance Auto for about 30 bucks. Should do fine. A battery tender is needed to maintain a charge while storing. These are not designed to be fully drained and recharged. For example, boats have 2 options for batteries a starting battery or a deep cycle. The deep cycle is designed to be drained running accessories like electronics then recharged. These scooter batteries are the same as a starting battery-not designed for that.
__________________
|