summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/lenovo/h8/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/acpi/battery.asl b/src/ec/lenovo/h8/acpi/battery.asl
index d5e8c1296c..ae07540fbc 100644
--- a/src/ec/lenovo/h8/acpi/battery.asl
+++ b/src/ec/lenovo/h8/acpi/battery.asl
@@ -115,7 +115,7 @@ Method(BSTA, 4, NotSerialized)
{
Local0 |= 1
// Negate present rate
- Local2 -= 0x10000
+ Local2 = 0x10000 - Local2
}
Else // Full battery, force to 0
{