hi
How old is this battery ?
You have a power issue,
Either the battery is dead, (but the restart is unusual.(try a new one, if same issue, it is something else))
or the motherboard has an issue on the power circuit.
Do you have a multimeter ?
On the motherboard, the internal main voltage...