battery polling is a headache for OLPC
dsd at laptop.org
Wed Aug 6 11:10:28 PDT 2008
On Tue, 2008-08-05 at 07:57 +0100, Richard Hughes wrote:
> On Mon, 2008-08-04 at 13:58 -0400, Daniel Drake wrote:
> > I've attempted to fix this by adding a fdi entry for OLPC's battery that
> > indicates this, and then modifying hald not to poll batteries that
> > provide notifications. Any thoughts/comments?
> Can't we just cancel the polling source if we get a change in time? I
> would be wary about putting something in a fdi file that we could infer
> from the hardware.
The problem is that we won't get any interrupts if the battery is full
and system is running on AC power. Then HAL will poll the battery
indefinitely and cause us sound crackles.
Any other ideas?
More information about the hal