diff options
-rw-r--r-- | src/ec/smsc/mec1308/acpi/battery.asl | 2 |
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 bbbcfe225f..603b1d41a1 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, Subtract (Local2, Local3)) && + If (LGreater (Local1, Local2 - Local3) && LLess (Local1, Add (Local2, Local3))) { Store (Local2, Local1) |