If the EC doesn't know a value, it will report it as 0xffff. In these cases, calculate a value to used based on others. For example, if the EC doesn't know the last full charge capacity, report the design capacity to the OS. Change-Id: I310555ff913c2e492bbaec4d77281ac32c0de7a3 Signed-off-by: Sean Rhodes <sean@starlabs.systems> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81408 Reviewed-by: Matt DeVillier <matt.devillier@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> |
||
|---|---|---|
| .. | ||
| 51nb/npce985la0dx | ||
| acpi | ||
| apple/acpi | ||
| clevo/it5570e | ||
| compal/ene932 | ||
| dasharo/ec | ||
| dell/mec5035 | ||
| hp/kbc1126 | ||
| intel | ||
| kontron | ||
| lenovo | ||
| purism | ||
| quanta | ||
| roda/it8518 | ||
| smsc/mec1308 | ||
| starlabs/merlin | ||
| system76/ec | ||
| ec.h | ||