GY6 50 and 150 Voltage Regulator for Four Stroke Engines.
The regulator charges your battery at 13.8volts. Keep getting dead batterys this is the fix.
When your scooter is above idle the voltage regulator charges the battery.
To test place multimeter across battery while scooter is running turn throttle up and look for 13.8 volts not there you need a new regulator. Make sure scooter is on center stand so it does not take off and it the trash cans.