Date wrong after long suspend

I left my Framework 13 Pro in suspend mode while on a work trip. When I came back and booted up the laptop, that battery seems to have been completely drained and I saw several unusual behaviors at startup:

  • The memory training screen appeared briefly (I haven’t seen that screen since the first time I turned it on out of the box) and then the computer shut down again. After charging for a few minutes, it booted normally. Not really an issue but I mention it as unusual.
  • The date and time were wrong (as far as I can tell, an arbitrary time in September). I had to manually update it to get online. This was surprising and annoying.

Is this normal and expected behavior? I would have expected that it should at least be able to recover to the correct time after being in suspend for a week or two. Any suggestions for avoiding this in the future? I’m looking into setting hibernate as the default but am hoping to get some input before going down the path of setting that up (currently I get “Call to Hibernate failed: Sleep verb ‘hibernate’ is not configured or configuration is not supported by kernel.”). I’m running Debian Forky. Thanks for any help!

The board does not have a separate CMOS clock battery like the early generation boards. So this is expected if the battery is totally drained.

Using shutdown or hibernate will turn the system completely off and it should have enough battery to be off for a few weeks at a time. Leaving it plugged in and charging while being off will also help keep the time current as the battery will not go completely flat.

Otherwise, yes the date/time being current is important for anything cryptographic as current time is necessary for modern authentication checks today.

Thank you, that is helpful to understand. I will look into how to enable hibernate. Currently my swap partition is a bit smaller than my ram, so that may be related.