summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/smsc/mec1308/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/smsc/mec1308/acpi/battery.asl b/src/ec/smsc/mec1308/acpi/battery.asl
index 732f392308..dbc08ddc7c 100644
--- a/src/ec/smsc/mec1308/acpi/battery.asl
+++ b/src/ec/smsc/mec1308/acpi/battery.asl
@@ -157,7 +157,7 @@ Device (BAT0)
// See if within ~3% of full
ShiftRight (Local2, 5, Local3)
- If (LGreater (Local1, Local2 - Local3) && Local1 < Local2 + Local3)
+ If (Local1 > Local2 - Local3 && Local1 < Local2 + Local3)
{
Store (Local2, Local1)
}