Hajimu UMEMOTO wrote:
Hi,


On Mon, 14 Nov 2005 12:40:36 -0500
Pierre-Luc Drouin <[EMAIL PROTECTED]> said:


pldrouin> Yep, smart battery is definately the problem. The performance of my pldrouin> laptop is back to normal when I remove the xfce4-battery-plugin. pldrouin> acpiconf -i loop reproduces the problem for me too. So it looks like pldrouin> there is something wrong in smart battery.

The cmbat has similar issue on some laptops.  So, acpi_cmbat.c uses
cache for retrieval to reduce its influence, and its expiration
time is set by hw.acpi.battery.info_expire.
However, acpi_smbat.c doesn't use cache.  So, I made a patch.  Since I
don't have a laptop which has smbat, I cannot test it by myself.
Please test it and let me know the result.

The patch looks good to me, you should commit please.


--
Nate
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to