Though in most cases overheating is a hardware issue, there are also some tips that you can follow to ensure that your smartphone does not overheat.
Remove case
Keeping the smartphone in a cover case traps the heat emitted out of the handset and so removing it can help reduce overheating to some extent.
Keep it on a hard surface while charging
While charging your smartphone, keep it on a hard surface instead of on a bed or a sofa which absorb heat. As during charging, the heat emitted gets trapped inside and warms up the smartphone even more.
Charging smartphones overnight
Many of us leave our smartphones for charging overnight. Keeping the smartphone on charge overnight not only affects the efficiency of your battery in the long run, but also heats up the device. There have been cases where smartphone batteries have exploded due to overcharging.
Kill those apps
There are some apps which are a drain on both processing power as well as graphics, such apps too heat up the device. These apps play in the background and add to the processing power's drainout. This excess of processing power results in overheating of the device.
Avoid direct sunlight
Users can also prevent handsets, especially ones featuring plastic back panel, from heating up by not keeping them under direct sunlight. The heat coming from the sunlight along with all the processing power running in the background are bound to heat-up your smartphone.
Third-party chargers and batteries
Some third-party chargers and batteries too are responsible for heating up of smartphones. Not only batteries, but chargers with different wattage too heat up the smartphones to some extent.