summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 34166335a9..8cbe7105f6 100644
--- a/src/ec/google/chromeec/acpi/battery.asl
+++ b/src/ec/google/chromeec/acpi/battery.asl
@@ -22,7 +22,7 @@ Method (BTSW, 1)
While (LNotEqual (BTIX, Arg0))
{
Sleep (1)
- Decrement (Local0)
+ Local0--
If (LEqual (Local0, Zero))
{
Return (One)