The reason we don’t see exploding battery attacks more often is not because it’s technically hard, it’s because the erosion of public trust in everyday things isn’t worth it.
edit: after 20 comments, i'm adding a post description here, since most of the commenters so far appear not to be reading the article:
This is about how surprisingly cheap it is (eg $15,000) to buy a complete production line to be able to manufacture batteries with a layer of nearly-undetectable explosives inside of them, which can be triggered by off-the-shelf devices with only their firmware modified.
It's also a big ass war crime. And if you did it habitually as anyone other than the West you could expect a visit from the US military. Inside the West you'd likely end up in prison. Except Israel. Israel is just immune to everything because uhhh... Because... Well nobody actually has a good reason.