The light will function while it is plugged in, however, we do not recommend operating any of our lights in this manner.  Depending on the operating mode the light may use more power than the charger is able to supply and could cause overheating of the light and/or the charging cord.