summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/google/chromeec')
-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 a98117126b..5e881e54c8 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -44,7 +44,7 @@ Method (BSTA, 1, Serialized)
Return (Zero)
}
- If (And(Not(BTSW (Arg0)), BTEX)) {
+ If (Not(BTSW (Arg0)) & BTEX) {
Local0 = 0x1F
} Else {
Local0 = 0x0F