auto-hibernate on power cord disconnect, can't reboot (ThinkPad T480s, FreeBSD 14.3)

Hello,

I'm having an issue with FreeBSD 14.3 on my ThinkPad T480s.

Basically, whenever the power cable is disconnected, even for less than a second if I accidently move the wire a bit, the computer goes into hibernation and the only way to restart it is drain the battery, recharge it, and reboot.

I'd like to fix this.

My first solution would be have the computer never enter hibernation, either stay fully on or shutdown automatically if battery < 10%.

Is this a good idea?

If so, how do I implement it?

If not, what should I do?
 
I'm sorry but there's no hibernation support in FreeBSD, therefore it's really unlikely that you system goes into that state. I suggest that you try to understand what's really happening to your system before trying to implement anything.
 
Thanks for your reply.

I looked up the different states a bit. Hibernate is S4, suspend-to-ram is S3. It's possible that I meant S3/suspend when I said Hibernate/S4.

How can I understand what's really happening in my system from the observation "tweak power cable, screen shuts down and system becomes unresponsive until battery drains + is recharged and then it boots normally?"

I must also confess that I somewhat ignored your advice and took the risk of appending `hw.acpi.suspend_state=NONE` to my `/etc/sysctl.conf`, and it *seems* to have fixed the problem.
 
Back
Top