diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 072819a963..1e0fed6436 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -317,7 +317,7 @@ Device (BATX) // See if within ~3% of full ShiftRight (Local2, 5, Local3) - If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Local2 + Local3)) + If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3) { Store (Local2, Local1) }