Re: [PATCH] ACPI: battery: Re-read battery information in the complete callback
From: Ali Ahmet Memiş
Date: Tue Oct 13 2026 - 01:35:13 EST
On Tue, Oct 13, 2026 at 01:40:17AM +0000, Charis Stratakis wrote:
> 18 of 20 on stock against 0 of 20 patched.
>
> Tested-by: Charalampos Stratakis <c.stratakis@xxxxxxxxx>
Thanks for testing.
[...]
> Would a plausibility check in acpi_battery_get_state() be welcome for that, re-
> evaluating _BST once and warning FW_BUG when capacity_now exceeds
> design_capacity by a wide margin?
I'd rather not. It only hides the absurd values and the plausible wrong
ones still get through. If the runtime race turns out to matter, taking
BATM around the INT3403 _TMP on these two models would fix it where it
happens.