dev.acpi_lid.0.state remains 1 when lid is closed after suspending/resuming once

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Wed, 21 May 2025 14:24:38 UTC
I've found an interesting bug after I installed FreeBSD 15.0-CURRENT on 
my Lenovo ThinkPad E14.

lid state sysctl is updated as expected when I close/open lid after a 
fresh boot, but after suspending and resuming it once using acpiconf -s 
3 the sysctl remains with value 1 until next boot.

I've created a Bugzilla ticket [1] with details case anyone with ACPI 
knowledge is interested.  I can help collecting any needed data and 
testing possible patches.

Thanks!

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286974
-- 
Renato Botelho