In this case, small explosives were added to the devices. It is possible that a device could be made to explode just by overheating the battery inside, but the time it takes to catch fire would vary depending on how much battery power was left. So for instant explosions, explosives are needed beyond just the normal internal battery.