[PATCH 6.17 141/371] ACPI: battery: Add synchronization between interface updates