summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl
index 63f46013a3..e6b0964207 100644
--- a/src/ec/starlabs/merlin/acpi/battery.asl
+++ b/src/ec/starlabs/merlin/acpi/battery.asl
@@ -122,7 +122,7 @@ Device (BAT0)
If (B1RC != 0xffff) {
PKG1[2] = B1RC
} Else {
- PKG1[2] = B1RP * (B1DC / 100)
+ PKG1[2] = (B1RP * B1DC) / 100
}
PKG1[3] = B1PV
Return (PKG1)