Comment 56 for bug 1956177

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Here's a great guide:
https://www.kernel.org/doc/html/latest/admin-guide/acpi/initrd_table_override.html

Here's the ASL in DSDT:
            Device (BAT1)
            {
                Name (BATP, 0x0F)
                Method (_STA, 0, NotSerialized) // _STA: Status
                {
                    Return (BATP) /* \_SB_.BAT1.BATP */
                }

Change 'Return (BATP)' to 'Return (0x1F)', and follow the guide to patch DSDT.