I have a very cheap but nice looking mini-chopper moped. It shuts off after it has been running for about 25 mins. It has done this since the day I got it.
If I am at a light then it will shut off there. If I am moving then it loses power then shuts off.
It also is very difficult to start but it has a pull string so maybe that is a seperate issue.