Created attachment 299751 [details] ACPI dump On a Fujitsu Lifebook A3510, the battery always reports as absent: "ACPI: battery: Slot [BAT1] (battery absent)" The problem remains even when running on battery power. Also, the AC adapter status doesn't get updated. /sys/class/power_supply/ACAD/online always says 1, even if unplugging the AC adapter. There are no other entries in /sys/class/power_supply. I will attach an ACPI dump and a dmesg log.
Created attachment 299753 [details] dmesg
Ubuntu bug for the same issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956177
Created attachment 301265 [details] Custom dsdt to enable battery and dump AC status Please try to override the dsdt with the one I attached, and boot with acpi.aml_debug_output=1, and 1. check if the problems are gone 2. attach the dmesg output with AC online and offline
You can refer to this page to override the dsdt https://wiki.archlinux.org/title/DSDT#Using_modified_code
Can you give me the compiled .aml file? What I already tried myself is the workaround from post 31 on the Ubuntu bugtracker ( https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1956177/comments/31 ), the one with "OperationRegion (ERAM, EmbeddedControl, Zero, 0x0100)". That fixes the issue for me.
Then this is a firmware bug. The AML code declares the EC operation region as memory operation region. There is nothing we can do with this issue. You can just follow the BKMs there.