cvs commit: src/sys/dev/acpica acpi_cmbat.c

Mark Santcroos marks at FreeBSD.org
Wed Jul 14 12:31:31 PDT 2004


marks       2004-07-14 19:31:31 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_cmbat.c 
  Log:
  Some laptops report the "design-capacity" instead of the "real-capacity"
  when the battery is fully charged. That breaks some of the arithmetic in
  calculating the remaining capacity (ends up with more than 100%).
  This commit makes sure the max is 100.
  
  Approved by:    njl
  
  Revision  Changes    Path
  1.33      +9 -0      src/sys/dev/acpica/acpi_cmbat.c


More information about the cvs-src mailing list