summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index ce4462debf..2bc6e1cfd9 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -14,7 +14,7 @@ Method (BTSW, 1)
If (LEqual (BTIX, Arg0)) {
Return (Zero)
}
- If (LGreaterEqual (Arg0, BTCN)) {
+ If (Arg0 >= BTCN) {
Return (One)
}
Store (Arg0, \_SB.PCI0.LPCB.EC0.BTID)