commit | 7e300f51aca3833f3a5f2fffe6e36b72b718bc67 | [log] [tgz] |
---|---|---|
author | Sean Rhodes <sean@starlabs.systems> | Tue Apr 04 22:12:32 2023 +0100 |
committer | Martin L Roth <gaumless@gmail.com> | Fri Apr 28 15:29:51 2023 +0000 |
tree | ebbe1a8c0a32b12886544cc9ee8fcb3b24a93e4f | |
parent | 820a2e175c9a86a4213333e12196542951d8c625 [diff] |
ec/starlabs/merlin/acpi: Don't attempt to change EC values The EC will constantly update the battery variables approximately every 60 seconds; they should be used unmodified, rather than trying to change them. Signed-off-by: Sean Rhodes <sean@starlabs.systems> Change-Id: I3cff0ac6a322018cbca33b5f90dd62b3475da25c Reviewed-on: https://review.coreboot.org/c/coreboot/+/74186 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
diff --git a/src/ec/starlabs/merlin/acpi/battery.asl b/src/ec/starlabs/merlin/acpi/battery.asl index 12aaa74..abdcc5b 100644 --- a/src/ec/starlabs/merlin/acpi/battery.asl +++ b/src/ec/starlabs/merlin/acpi/battery.asl
@@ -34,9 +34,6 @@ Method (_BIF, 0, Serialized) { BPKG[1] = B1DC - If (B1FC >= B1DC) { - B1FC = B1DC - } BPKG[2] = B1FC BPKG[4] = B1DV If (B1FC)