Depends on the battery, the charger, and anything else attached to it.
In most cases, for low-energy devices, the answer is yes. You'd be drawing the current from the charger rather than the battery, and the battery ends up being charged slower.
There is some risk that you end up messing with the charge cycle. For example charge termination in lithium-ion batteries are often determined when the charge current drops to some pre-defined threshold (e.g. 1/10C) in CV mode. However if you are drawing current, charge termination may not be correctly detected as current consumption is high. This may lead to a small amount of overcharge and extra heat generated and a small loss of battery life on the long term. The actual consequences may be minor and will depend on how the charger behaves and how it handles charge termination.
If you are drawing a high current, this may also trigger safety circuits in the charger - for example it may detect the extra current draw as an over-current/short condition and turn off charging.
The exception to all this is if the battery were inside some consumer electronic device that charges via a DC (or USB) input. In that case, whether you can use the device or not while charging comes down to the circuit design. For example, the Bluetooth mouse I have is quite happy being charged while in use. The bluetooth headset I have will not work while being charged - a limitation of the design (usually for cost reasons) rather than any fundamental electrical or electrochemical limits.
Many people use the wrong charging method, which will not only cause the battery life of the mobile phone to be damaged, but also may have potential safety hazards in serious cases. Playing a mobile phone while charging is a wrong charging method that many people will make. How does this affect the battery of the mobile phone?
First of all, the battery has a certain life. In general mobile phone batteries, the number of times of charging and discharging is about 500 times, and one charging cycle is calculated according to charging to 100%. Therefore, while charging while playing the phone, the charging cycle of the phone will be reduced. The biggest problem when playing mobile phones while charging is that the battery of the mobile phone is prematurely aged, and the cost and frequency of replacing the mobile phone battery are increased.
The impact on the life of the mobile phone battery during charging is not too serious, but it is not a small damage to the mobile phone itself. Replacing the original battery has less impact on the battery life, and third-party batteries may have security problems. In addition, it has a great influence on the dustproof and waterproof performance of the mobile phone, and the probability of the mobile phone entering the water is increased.
In addition, today's mobile phones have fast charging functions, but generally use high power to achieve fast charging. There are also some low-voltage fast-charging mobile phone products, which have high charging efficiency, fast charging speed and low heat generation. However, because the low-voltage fast charge has higher requirements on the charger and the charging line of the mobile phone, the high-voltage fast charging scheme is used more, which also inevitably causes the heating phenomenon of charging.
In order to ensure the safety of the mobile phone, there is an overheat protection chip inside the mobile phone. During the charging process, the internal heat of the fuselage is severe, and the mobile phone automatically switches to a low power charging mode. This sounds very smart, but the impact on the phone battery is great. Especially when charging while playing games, we will find that the heat of mobile phones is more serious. Heat is the natural enemy of lithium batteries, which seriously affects the battery life of mobile phones.
Develop a good charging habit and protect the phone battery. Although the mobile phone will inevitably have to change the battery, the loss of the mobile phone battery, the battery life will also be affected, and the impact on our lives is still very large.