If you wake up one morning to find that your Moto X hasn’t charged at all, try the following.
1. Connect Moto X to the original factory charger, or at least a high output charger.
2. Press Vol Down key for about 30 sec.
3. Then simultaneously press Vol Down and Power Button for 3 Minutes.
It should start charging.