hd_scania Again, it SUDDENLY shuts off, every time where the A/C plug was NOT properly tightened, and it’s randomized per length
hd_scania Not neccessarily in fact low-battery, but instead just for NOT properly tightening the plug from A/C
So, if the laptop is on A/C (and the plug is not loose), then the system doesn't shut off?
This looks very much like a battery issue.
Does the battery LED go on and off when power is applied/removed? (Check on both Linux & FreeBSD)
Does the battery LED change colour and blink if on low battery power? (Check on both Linux & FreeBSD)
hd_scania Already the final BIOS, but unfortunately it was from 2011
No matter. Flash that BIOS anyway
hd_scania Like booting USB thumbs thru the board itself, instead of rEFInd?
Yes. Uninstall, Clover & rEFInd, etc if you have overridden any ACPI-stuff. We want nothing which can modify the ACPI data.
hd_scania You mean, restore to the plist file that was delivered with the CloverEFI installation?
I haven't used CloverEFI, but, if you have made any ACPI-related changes or overrides, then revert/change them to the system defaults/original values. If the changes you made to CloverEFI were only UI or booting related, like themes, boot-order and such, then no changes are necessary.
Copy this shell script somewhere:
echo "Logging to $LOG... Use Ctrl-C to stop."
do echo "DATE: $(date)"
echo "APM:"; apm
echo "ACPICONF:"; acpiconf -i 0
echo "HWSTAT:"; hwstat
done >> $LOG
Add this line to
pkg install hwstat
Reboot the laptop, then at the console (no X), run the
batt.sh program for 5 minutes. While it is running, switch the AC power on and off a few times. (If the AC jack or socket is loose, don't touch it. Use the wall power switch, instead.) Check if the kernel reports the AC power state on the console.
After 5 mins, stop the script, then collect the kernel logs:
dmesg > /tmp/dmesg.txt
/tmp/dmesg.txt. Also note if the battery LEDs work.