Your battery may not be holding a charge because it could have been by fall or water damage. Any damage to your battery may cause a phone to no longer hold a charge. Also, it could be the charger input or the charger itself is damaged. Check out our troubleshooting page at [[HTC One M7 Troubleshooting]] for a detailed description. However, the main things would be check your charger, check your wall outlet, reset the charging logic, or replace the battery.