Hibernate not working

I do not know if I have posted this in the right location.

On my Dell laptop I have a swap partition (16 gig)

My laptop has 16 gig of ram.

When i first set up EndeavourOS on it the hibernate used to work.

I do not use the hibernate much, but last night I went to use it and it just seem to shut the laptop down (not a hard shut down, but when I pressed the power button about an hours time it was a normal start up and not a start up from hibernate).

I have no idea why this is happening as apart from keeping it regularly updated there is little else I think would cause a problem with it.

I have tried searching on the internet, but I could not find anything that would be any use to me in sorting the problem out.

Any help would be great.