Now it only works if being charged with a wall charger. When i unplug it it shuts down.
The thing is if i go to recovery mode the phone works without being plugged it. So this keeps me thinking its not a hardware error but a software one? I did a factory reset but it doesn`t help.
The battery was replaced last year.
Any ideas? I already bought a new phone...but i wanna fix this one to have it as a backup phone or maybe give it to a family member.