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

Nate Lawson njl at
Fri Aug 5 17:00:59 GMT 2005

njl         2005-08-05 17:00:58 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_battery.c 
  When summing capacities, skip info from batteries that weren't present.
  Previously, we used all info (including -1 or "not present") which would
  keep the system from reaching 100% when charging.
  Reported by:    Eric Anderson
  MFC after:      2 days
  Revision  Changes    Path
  1.17      +4 -0      src/sys/dev/acpica/acpi_battery.c

More information about the cvs-src mailing list