I found the solution myself which appears to work so far: I ended up modifying `GRUB_CMDLINE_LINUX_DEFAULT` with `acpi=force`, which ensures the ACPI (Advanced Configuration and Power Interface) is always on.
I recently installed ubuntu 22.04 on my dell xps 13 2-in-1 but the battery drains overnight after it has been powered off and I can't find any solutions online. I don't have issues with suspending (it probably drains battery, but I am more concerned about losing battery after powering off). I have updated the bios using `sudo fwupdmgr update`, and have updated everything possible leaving no available updates. Modifying `GRUB_CMDLINE_LINUX_DEFAULT` with  `mem_sleep_default=deep` doesn't help (I think that's for a different issue about suspension). Is it possible that hitting the `Power Off` button, then closing the lid too fast, might make it suspend and interrupt the power off (something I'll test next)? Anyone else has this problem? Any solutions?
XPS 13 7390 2-in-1 power drain after power-off ubuntu 22.04