/qtopia/ alarm clock drains battery

2008-08-07 Thread Yaroslav Halchenko
if you decide to use alarm clock in the qtopia -- it would drain the battery much more rapidly. Usually charge is sufficient for me to hold for a day (24h) but with alarm it doesn't survive through the night -- I wake up and phone is dead :-/ -- .-.

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Lorn Potter
Yaroslav Halchenko wrote: if you decide to use alarm clock in the qtopia -- it would drain the battery much more rapidly. Usually charge is sufficient for me to hold for a day (24h) but with alarm it doesn't survive through the night -- I wake up and phone is dead :-/ the clock only uses

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Brian Wilson
Is there an easy way to suspend for a time period (say 8 hours) or set a realtime clock to it wake up? I set BIOS this way on my desktop - cron shuts it down at midnight and BIOS wakes up every morning at 7. Works quite well to save power. On Thu, Aug 7, 2008 at 10:54 AM, Lorn Potter [EMAIL

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Tilman Baumann
Brian Wilson wrote: Is there an easy way to suspend for a time period (say 8 hours) or set a realtime clock to it wake up? I set BIOS this way on my desktop - cron shuts it down at midnight and BIOS wakes up every morning at 7. Works quite well to save power. smart arse answer. There is no

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Brian Wilson
smart arse answer. There is no BIOS. ;) Not intentionally -- just drawing an analogy as a means of exposition Some time ago in any of the openmoko lists someone proposed a solution for RTC wakeup. I will try searching for it later. A block diagram of what's in the phone would be nice for

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Sven Klomp
On Thursday 07 August 2008 20:35:20 Brian Wilson wrote: Some time ago in any of the openmoko lists someone proposed a solution for RTC wakeup. I will try searching for it later. A block diagram of what's in the phone would be nice for this beginner. I wonder if one of those is around. I

Re: /qtopia/ alarm clock drains battery

2008-08-07 Thread Yaroslav Halchenko
looking at atd.c of shipped with debian's at: /* Main loop. Let's sleep for a specified interval, * or until the next job is scheduled, or until we get signaled. * After any of these events, we rescan the queue. * A signal handler setting term_signal will make sure there's