apm -t suggestion
Liam J. Foy
liamfoy at sepulcrum.org
Sat Jun 26 08:22:05 PDT 2004
Hey guys,
I was looking at the following code in acpi_cmbat.c (/usr/src/sys/dev/acpica/):
[snip]
} else {
/* Couldn't find valid rate and full battery time */
bat[i]->min = 0;
}
0 is what is eventually returned from apm -t when it couldn't
find valid rate or full battery time. I think this should be
set to -1 (unknown) instead of 0 as we don't have 0 seconds
remaining. Either that or it is mentioned in the man page.
What do you guys think ?
--
-Liam J. Foy
http://liamfoy.kerneled.org
More information about the freebsd-acpi
mailing list