Also, do not sit on the connectors and cables.
Despite numerous warnings, users leave their charging smartphones next to them during sleep. Now Apple has recognized the danger.
The company is urging iPhone users to rethink the way they charge while they sleep, explaining that mobile phone failure can be fatal or cause injury.
Sleeping with iPhone is deadly: Apple issued a warning to users
The support section notes:
Use your device wisely and avoid situations in which your skin is in contact with the device, its power adapter, or wireless charger for extended periods of time while they are in operation or connected to a power source. For example, when a device, power adapter, or wireless charger is connected to a power source, you do not need to sleep on it, put it under a blanket, pillow, or cover it with your body. When using or charging iPhone, keep the power adapter and wireless chargers in a well-ventilated area. You should be especially careful if your physical condition does not allow you to feel the heating temperature of the devices.
Apple also advises:
Avoid situations where you can sit on or fall asleep on a charging port or cable.