diff options
Diffstat (limited to 'src/ec/quanta')
-rw-r--r-- | src/ec/quanta/it8518/acpi/battery.asl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/quanta/it8518/acpi/battery.asl b/src/ec/quanta/it8518/acpi/battery.asl index 5b51c892fc..4fcc30c82d 100644 --- a/src/ec/quanta/it8518/acpi/battery.asl +++ b/src/ec/quanta/it8518/acpi/battery.asl @@ -275,7 +275,7 @@ Device (BATX) } Else { - If (LNot (AND (Local0, 2))) + If (!(AND (Local0, 2))) { // Battery is not charging Store (Zero, Local1) @@ -306,7 +306,7 @@ Device (BATX) Store (ECRC, Local1) } - If (BFWK && ACPW && LNot (Local0)) + If (BFWK && ACPW && !Local0) { // On AC power and battery is neither charging // nor discharging. Linux expects a full battery |