[maemo-developers] Optimal battery life considerations in apps

From: Andrew Flegg andrew at bleb.org
Date: Fri Jul 24 15:57:22 EEST 2009
On Fri, Jul 24, 2009 at 13:17, Anderson
Lizardo<anderson.lizardo at openbossa.org> wrote:
> On Fri, Jul 24, 2009 at 7:12 AM, Andrew Flegg<andrew at bleb.org> wrote:
>
> It is at this same page, but on the top ("Python Hildon Manual"). I'll
> fix the link to the python-hildon documentation to point the the newer
> one:
>
> http://pymaemo.garage.maemo.org/documentation/python_hildon_manual/html/

Ah, very cool. Thanks.

> Note that they may contain some errors, as they were partially
> converted from C docs. Feel free to report any errors you find in our
> bugzilla.

Is there any sharing of code between the OpenSismus folks who are
converting the C docs into OO C++ docs for maemomm, and the PyMaemo
guys?

    http://amigadave.blogspot.com/2009/07/hew-hildonmm-and-gtkmm-releases.html

>> It's my first real PyMaemo app, certainly my first green-field one
>> which really needs to make sure it doesn't waste battery life.
>
> I am interested to know how actually you measure battery usage. Are
> you using any tool for that?

No, just guessing that reading a file 10 times a second and redrawing
a Cairo display as a result of it may not be the most efficient way of
saving power; especially when it takes ~10% of CPU (it can't keep up
with the timers; hopefully an OMAP3430 device would) :-)

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew at bleb.org  |  http://www.bleb.org/
Maemo Community Council chair
More information about the maemo-developers mailing list