summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/google/chromeec/acpi/battery.asl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ec/google/chromeec/acpi/battery.asl b/src/ec/google/chromeec/acpi/battery.asl
index 18b612db2a..d8056b03b2 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -42,6 +42,10 @@ Method (BTSW, 1)
Return (One)
}
}
+#else
+ If (LNotEqual (0, Arg0)) {
+ Return (One)
+ }
#endif
Return (Zero)
}