There are legal issues there too--some software outfits have gotten into trouble that way, by doing things that caused harm disproportionate to the wrong done. Having a battery die is probably much more defensible legally, but of course free legal advice is worth what you paid for it.
Cheers
Phil Hobbs