I discovered a bug while messing with my battery. I tilted my battery without losing connection to the phone and when I replaced the battery it started charging even though it wasn't plugged in.
Guys my remark was a joke.
I do not think it is a bug because what he did is not really a normal thing what should be done with phones. But still remarkable .