It has happened to me several times ... The publication is a bit old, but in case someone else happens, I tell you ...
You think that the most appropriate thing would be if the battery were used up, when connecting it it should show that it is charging ...
This does not happen, and it's partly because of the battery and Android ...
What to do??...
1) Leave the Nexus 4 connected to the power 1 hour approximately (only to make sure you have caught some current) ...
2) Press the power button, and DO NOT release it until the LED (notifications, at the bottom of the screen) turns "Red" a couple of times ...
3) Release the button, and the battery will appear on the screen, and it will appear that it is just loading ...
4) Let the Nexus 4 load ...
With this I think you can solve your problem ... It has happened to me many times ... The first time scares me to the point, but today is normal (should not be normal) ...