There are several reasons why your camera's battery may not charge, and none of these will be affected by such a thing as a ''factory reset'' (if such a thing even exists on this camera).
* The battery might be dead (worn or damaged)
* The camera's USB socket (which is also used for charging) might be worn or dodgy
* The USB cord might be bad
* The charger might be bad.
You can do the following:
* Check if the camera will charge with any other USB charger (for a phone or tablet, they are interchangeable)
* Check if the camera will charge from a computer's USB port
* Check if the camera will charge using a different USB cord
If none of this works:
* Take out the battery, clean its contacts with a pencil eraser and reinsert. Try if it will charge.
* Delicately wiggle the USB connector in the camera's USB port. If the camera charges (intermittently) the USB port may be dodgy or damaged. This is a common problem with micro-USB ports on many devices.
* Replace the battery with a new one or a spare if you have one.