I was using my Moto G and it was with 74% battery. I connected it to my macbook using the usb cable and when I disconnected it the battery instantly dropped to 0% and the phone turned off!
After that I charged it again and so far so good. But I wonder what could have caused this behaviour?
I have never saw something like that before.