I once read a theory on an electricians forum about how the USA electrical code's mandated maximum distance between adjacent outlets on a wall, coupled with the typical bedroom layout, as well as home builders trying to be as cheap as possible, led to only a single outlet being placed directly in the middle of the longest wall. This is also the most logical position for a bed, so the theory is that the bed pressing against the outlet over time was a contributing factor to electrical-related house fires.
I cannot find where I read that originally, and certainly the granularity of nationally-reported fire data is not sufficient to prove that theory. And while the electrical code's distance requirements haven't changed, more homes will now put enough outlets so the only one isn't behind the bed.
I'm personally very cautious about damage to/around batteries, due to !spicypillows@lemmy.world . At the very least, a photo might help depict the scale of the dent.
And while it might not be a spicy pillow right now, a damaged battery is more likely to turn spicy spontaneously. Replacement of the battery is, of course, the most risk-reducing move.