You may or may not have this unit on your CN250 engine. This one is found most on 250 scooters under the panel on right hand side along side the rectifier.
This unit charges battery. It is the most common problem when charging problems occur.
using a meter across the battery terminals while engine is running you should get 13.8 volts if charging is OK. If not this unit is broke.