That’s not something that software will fix. You might have better luck with the tip linked from the troubleshooting guide (spoiler: a small bit of bit of paper/cardboard added to the battery compartment to help keep the battery firmly in place):
4 Likes