[ltp] Re: Generic battery interface

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Fri, 28 Jul 2006 11:57:49 -0400


--==_Exmh_1154102269_3484P
Content-Type: text/plain; charset=us-ascii

On Fri, 28 Jul 2006 18:38:13 +0300, Shem Multinymous said:
>
> Another example: on my ThinkPad, the readouts provided by the EC
> change only every 2 seconds, regardless of how much you poll it.
> 
> Hence my proposal for a polling-based interface with kernel-side
> caching. This way, the hardware query rate is the minimum of two
> rates: what the application can use and what the kernel thinks is the
> hardware's change rate.

Is there a reliable (or hack-worthy) way for the kernel to determine how
often the values are re-posted by the hardware?

--==_Exmh_1154102269_3484P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Exmh version 2.5 07/13/2001

iD8DBQFEyjP9cC3lWbTT17ARAkq6AKD9/vK+FaPluHo2o0/tmEfrBIsXOQCfcKpR
+qD+P4b9eEyK2nPOqAlYtug=
=0V+b
-----END PGP SIGNATURE-----

--==_Exmh_1154102269_3484P--