summaryrefslogtreecommitdiffstats
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/quanta/it8518/acpi/battery.asl4
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 5b51c892fc19..4fcc30c82de7 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