I'm currently running Android 5.1.1 (Chroma custom ROM) on my Nexus 5 and recently have been experiencing some weird issues with my battery, which have appeared more frequently in the last few days.
From time to time, when I use my phone (the screen is on), with a battery level of about 50-70% it just crashes (the screen turns black, no shut down notice etc) and when I power it back on, there is only about 0-2% battery left and the phone basically turns itself off again immediately.
After connecting my nexus to a charger and letting it power up again, I look at the battery statistics to find out that something pretty weird is going on:
Click for larger version
This gets really annoying if it happens all the time, as the phone really isn't reliable at all any more.
I don't have any unusual apps installed and this has happened to me on a few Roms so far, so I have gone through some factory resets as well without any success. Can software discharge a battery in such a small amount of time or is this issue likely to be hardware-related (e.g. battery)?
Thanks in advance for your help!