This seems to be a gas gauge problem. There is a battery gas gauge component (SWI) near the battery, if it has been knocked off or nudged it will cause the problems you are facing. It used to be a common problem after a battery replacement on these phones. Usually we would rule out a faulty battery first but this component is easy to examine so we would check it and move on to replacing the battery with a known good one.
[image|2700714]