Ps4 slim CE-30391-6

Whenever i try to connect to the internet or play games even offline on a disc, i get signed out and this appears.
The console is also not holding the date and time when it power cycles.

I have tried rebuilding database, formating and reinstalling update, manually setting the time, manually setting dns all to no avail.
Will not even boot games from a disc when offline

have you tried replacing the battery?