You can't! The current iPhone, though, uses a lithium battery. Lithium batteries can theoretically be charged while playing. However, playing while charging will change the temperature of the battery, which will seriously affect the life of the battery, and also affect the response speed of the mobile phone. Be sure not to play while charging, the battery is a consumable, if the loss is serious, it is irreversible. For reference only