Keeps restarting, stuck in Ultra Power Save Mode
You can always backup all of your photos and everything else to a Google account (here tells you how), and then factory reset the phone. 

If this does not solve the problem, it may be worth taking it into a shop to see if they could do anything, or contacting Samsung directly. 

Hope this helps