diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2017-09-14 23:27:59 -0500 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-19 14:11:07 +0000 |
commit | f11d0c341490bd484c0e8afd6a0730ae9e0ac0b7 (patch) | |
tree | 7a0a8e24eed6acd35f4e0311a8ace67887c670f7 /src/mainboard/technexion/tim5690/mainboard.c | |
parent | d7e0cb93ae8ead42aa20dd4dcafa137fc28653bc (diff) |
ec/purism/librem: fix battery present rate
EC ACPI code is calculating the drain rate, but does not store it
in the battery status package before returning it. Correct this
omission, and set the drain rate to a preset minimum if calculated
value is less. Taken from vendor firmware ACPI dump.
Change-Id: I52837d5879112ab3103976bda28906fac8f880ec
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/21545
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Youness Alaoui <snifikino@gmail.com>
Diffstat (limited to 'src/mainboard/technexion/tim5690/mainboard.c')
0 files changed, 0 insertions, 0 deletions