[maemo-users] Battery Life

From: Eero Tamminen eero.tamminen at nokia.com
Date: Thu Aug 16 18:25:41 EEST 2007

ext Michael Thompson wrote:
>> IIRC, one of the Nokia engineers stated that apps are basically stopped
>> (like hitting Ctrl+Z in bash) when they are minimized, and resumed when
>> they're foregrounded. I might have made this up, but based on the CPU
>> monitor it certainly would appear that something like that is going on.
>> <snip>
> This might be true in some cases, but for instance Cannola will continue to
> play music when minimised, so I'm sure there are plenty of cases where this
> isn't true

Applications should stop all visual activity and updates when they are
not visible.  This is voluntarily, as it naturally depends on the actual
use-case e.g. all Nokia apps do this except for media player and iradio
applet which play music also backgrounded.  If you notice that some 3rd
party app has activity although you're not using it and/or it's not
visible nor there's no other good reason for it to be active, file a bug
against it.

Note that all SDL games are busy always, it's an issue in the SDL
library and there's a bug about it in the SDL bugzilla (Nokia games
quit when they are backgrounded, you can then continue them from their
startup screen).  Gtk applications usually behave better in this
respect, they only react to events, not busyloop themselves.

	- Eero

More information about the maemo-users mailing list