i dualboot Arch and Win11 on this laptop. when it dies booted into Arch, it will refuse to charge and i hear a small crackling noise coming from the charging port. when it dies while booted into Windows, it charges and there's no crackling noise. my guess is that systemd or whatever is managing the ACPI sleep states isn't setting the sleep state properly when the battery dies, and i'm not sure how to reconfigure that. i read the Arch wiki pages on power management but i could only find sleep state stuff about sleeping and hibernation, nothing about shutting down or battery dying
EDIT: solution was to write a bash script called by a timed systemd service that shuts down my laptop at 5% battery, before it ever gets the chance to completely drain