I am using android 5.1, my phones power button was changed last week, and I think the battery drained to 0% at the service. Now my phone works fine, I think it charges the battery, but the battery indicator at the top shows 0%. I did full wipe, installed original rom, everything works fine. I am adding some screenshots.
xda-developers