On 17/08/07, Eero Tamminen <eero.tamminen at nokia.com> wrote: > > Hi, > > ext Michael Thompson wrote: > > On 17/08/07, Eero Tamminen <eero.tamminen at nokia.com> wrote: > >> ext Frantisek Dufka wrote: > >>> True. But still seeing power consumption could help and having actual > >>> current drawn from battery somewhere in /proc would be very useful in > >>> many situations. > >>> > >>> <snip> > >>> These were just examples and some of them may not be good but you > should > >>> still see the point. > >> Yes, they are good points. Better tools are always needed. > >> > >> I'm just frustrated that people don't use the tools that > >> are already available, both on desktop[1] and for the device. > >> Even with the currency consumption meter you would still need top & > >> strace to find out which process actually consumes the power. > > > > So it turns out claws is doing a gettimeofday poll every 10 seconds, so > > you're right the strace was useful, but it's hard to quantify the affect > of > > this polling and whether it's significant enough to warrant the > developers > > fixing. > > 10 sec interval is not that bad. (LinuxThreads thread manager polls > at 8 sec interval in the devices i.e. all apps using threads poll in > the device, NPTL will fix that, but requires a new toolchain) > > If Claws would be using network at that interval or e.g. writing to > Flash, then it would definitely be bad. Also if it does that polling > when it's not visible (and updates screen?) when it's not visible, that > would also be bad. It happens when claws is minimised and set to off-line mode. I imagine it could be related to code to poll servers at some interval, but I haven't had time to look into it any further. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-users/attachments/20070817/db5b5fe1/attachment.htm