summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/starlabs/merlin/acpi/battery.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl
index abdcc5b076..12aaa74945 100644
--- a/src/ec/starlabs/merlin/acpi/battery.asl
+++ b/src/ec/starlabs/merlin/acpi/battery.asl
@@ -34,6 +34,9 @@ Device (BAT0)
Method (_BIF, 0, Serialized)
{
BPKG[1] = B1DC
+ If (B1FC >= B1DC) {
+ B1FC = B1DC
+ }
BPKG[2] = B1FC
BPKG[4] = B1DV
If (B1FC)