Acustic 'empty battery warning' ?

Lothar Behrens lothar.behrens at lollisoft.de
Wed Dec 17 13:35:15 CET 2008


Am 17.12.2008 um 13:16 schrieb Timo Juhani Lindfors:

> Lothar Behrens <lothar.behrens at lollisoft.de> writes:
>> Is there a way to do this ?
>
> while true; do
>  if [ `capacity` -lt 10 ]; then
>      alert
>  fi
>  sleep 120
> done
>

this is a starting point :-)

>> Is there also a way when the device is in suspend mode, to wakeup and
>> do this warning ?
>
> I'm guessing yes but I do not know the PMU stuff well.

Is there any documentation for PMU ?

>
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>

-- | Rapid Prototyping | XSLT Codegeneration | http://www.lollisoft.de
Lothar Behrens
Heinrich-Scheufelen-Platz 2
73252 Lenningen








-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20081217/0747dd6d/attachment.htm 


More information about the community mailing list