Re: Acustic 'empty battery warning' ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <billk@...>, List for Openmoko community discussion <community@...>
Date: Wednesday, December 17, 2008 - 9:12 am

--Apple-Mail-4--43210596
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit

Hmm,

using the clock to wake me up in the morning would be an option to
check the
battery.

It even wakes up, or boots, if I have shut down the phone :-)

If the clock is not at a really alarm time (to wake me up :-),
it could configure the next wakeup to check the battery.

Is that a solution if PMU doesn't support us with another solution ?

Lothar

Am 17.12.2008 um 13:35 schrieb William Kenworthy:

> Doesnt it already do that - I know that in the middle of the night I

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

--Apple-Mail-4--43210596
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hmm,
using the clock to wake me =
up in the morning would be an option to check =
thebattery.
It even wakes up, or =
boots, if I have shut down the phone :-)
If the clock is not at a =
really alarm time (to wake me up :-), it could configure =
the next wakeup to check the battery.
Is that a solution if PMU =
doesn't support us with another solution ?
Lothar
<=
div>Am 17.12.2008 um 13:35 schrieb William Kenworthy:

Doesnt it =
already do that - I know that in the middle of the night I
used to =
get regularly awakened by a "shfffft" sound from the Fr as =
the
battery ran out - oh wait, you mean before =
...

:)

Its actually a good idea - I use a couple of perl =
scripts to flash the
leds in various colours/rates to indicate =
charge.  Doesnt help when shut
down though.  Perhaps a cron =
job to wake every hour and check the
charge, then go back to sleep? =
 Does cron work on the FR these days?

BillK


On =
Wed, 2008-12-17 at 14:16 +0200, Timo Juhani Lindfors =
wrote:

Lothar Behrens <lothar.behrens@lollisoft.de> writes:

Is there a way to do this =
?


while true; =
do

 if [ `capacity` -lt =
10 ]; then

=
     alert

 fi

=
 sleep 120

done


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.



_______________________________________________

Openmoko community mailing =
list

community@lists.openmoko.org<=
/a>

http://lists=
.openmoko.org/mailman/listinfo/community

-- =

William Kenworthy <billk@iinet.net.au>
Home in =
Perth!


_______________________________________________
Openm=
oko community mailing list
community@lists.openmoko.org<=
/a>
http://lists.openmoko.org/mailman/listinfo/community


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








=

--Apple-Mail-4--43210596--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Acustic 'empty battery warning' ?, Lothar Behrens, (Wed Dec 17, 7:57 am)
Re: Acustic 'empty battery warning' ?, Michael 'Mickey' Lauer, (Thu Dec 18, 7:50 pm)
Re: Acustic 'empty battery warning' ?, Fox Mulder, (Wed Dec 17, 6:45 pm)
Re: Acustic 'empty battery warning' ?, Timo Juhani Lindfors, (Wed Dec 17, 8:16 am)
Re: Acustic 'empty battery warning' ?, William Kenworthy, (Wed Dec 17, 8:35 am)
Re: Acustic 'empty battery warning' ?, Lothar Behrens, (Wed Dec 17, 9:12 am)
Re: Acustic 'empty battery warning' ?, W.Kenworthy, (Wed Dec 17, 8:10 pm)
Re: Acustic 'empty battery warning' ?, Lothar Behrens, (Thu Dec 18, 3:54 am)
Re: Acustic 'empty battery warning' ?, Timo Juhani Lindfors, (Wed Dec 17, 9:30 am)
Re: Acustic 'empty battery warning' ?, Lothar Behrens, (Wed Dec 17, 8:35 am)
Re: Acustic 'empty battery warning' ?, François, (Sat Dec 20, 12:20 pm)
Re: Acustic 'empty battery warning' ?, john dowd, (Mon Dec 22, 10:44 am)
Re: Acustic 'empty battery warning' ?, leonardo, (Wed Dec 17, 8:34 am)
Re: Acustic 'empty battery warning' ?, Neil Jerram, (Wed Dec 17, 8:01 am)