Here is the solution for it:
- Please backup your all necessary files.(Images, Videos, Contacts, Apps & etc.)
- Do a factory reset.
- Re-setup your phone.
- Switch off the phone.
- Charge your Nexus 5 via computer(Desktop/Laptop). (Do not charge the phone via wall socket charger).
- After 2 hours switch on the phone.
To make sure again charge the phone via computer 1 more time.
Problem Solved.!!