summaryrefslogtreecommitdiff
path: root/src/ec/quanta/it8518/acpi/battery.asl
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/it8518/acpi/battery.asl')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
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))
{