I encountered this issue a few days ago...this solution worked.
My Lumia phone switched off because the battery was completely drained and now nothing seems to happen when I connect it to charger. What should I do? - Nokia FAQ Average RatingIf the battery is completely discharged, it may take several minutes before the charging indicator is displayed or before any calls can be made. In some cases where the battery is extremely low, one of the following tricks may resolve your issue.
•Connect the phone to your computer with a USB cable that came in the sales package with your Lumia phone. If the battery has not been used for a long time, to begin charging, you may need to connect the cable, then disconnect and reconnect it.
•Press and hold the Power button for 10 seconds, and then press to turn on your phone again.
•Your PC should detect your phone when it is connected using a USB cable, if this is not happening you can manually switch the phone into specific mode following these steps:
1. Disconnect your phone from the USB cable.
2. Hold down the camera button.
3. Continue holding down the camera button and connect the USB cable between your phone and PC.
4. Continue holding down the camera button until you see the connect-to-computer screen on your Lumia phone display.
5. Release the camera button.
6. The Zune software on the PC should automatically detect your phone now and charging indicator appears on the display.
If the tricks above does not help, you will need to contact your local Nokia Care. You can find details by clicking the Contact us link in the support pages of the Nokia website for your country.
Note: Your battery has been partially charged at the factory but when taking your new device into use, please keep the charger connected for 30 minutes. It is recommended to use original charger (AC-16).
Nokia Support Discussions - Lumia 900 Charging Issue - Nokia Support Discussions