Comment by c0rn3l1us
It's just a matter of knowing your battery's power management firmware. You can overload the power control circuits that pagers or smartphones by creating a massive surge (sending signals to the IGBT drivers) that will cause the battery to explode. If the battery is moderately charged, the explosion is devastating. Hacker teams from the notorious Israeli ShinBet know of many bugs of this type.
Other comments here are suggesting it was more likely a real explosive put in as part of a physical supply chain attack. Anyone able to say which is more plausible?