diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 98f6775278..072819a963 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -261,7 +261,7 @@ Device (BATX) // 1: BATTERY PRESENT RATE/CURRENT // Store (ECAC, Local1) - If (LGreaterEqual (Local1, 0x8000)) + If (Local1 >= 0x8000) { If (And (Local0, 1)) {