Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.
Please identify the device that you are having the problem with, by maker and model number (or at least, by device type) and also let me know how old the device is.
What you have said so far makes it sound like a device with a rechargeable battery that has failed to hold charge or failed to deliver charge, as all electronic device's rechargeable batteries of whatever type do fail, eventually. But I need to know what device, and how old it is, before delivering such a judgment on the case.