[suspend/resume] Re: userspace notification from module
Pavel Machek
pavel at ucw.cz
Sat Jan 16 17:14:54 EST 2010
Hi!
> > Agreed, but so what? On PC, machine would power off at that
> > point. That would surprise the apps, too.
> >
> > Basically new enough userland should not make battery run low enough
> > for either emergency power off or emergency suspend.
>
> I wonder how it is supposed to achieve that without knowing the current battery
> status. Do you mean it should poll the battery driver?
That's besides point, is it?
Usual kernel<->user interfaces should apply here. Zaurus provides
/proc/apm emulation, and I'm writing drivers/power/ driver. Not sure
it has event interface...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
More information about the linux-arm-kernel
mailing list