On 8/16/07, Igor Stoppa <igor.stoppa at nokia.com> wrote: > On Thu, 2007-08-16 at 16:51 +0100, ext Andrew Flegg wrote: > > > Given the importance of this to battery life, it would be cool if apps > > were sent SIGSUSP when they were minimized or some the user stopped > > interacting with them. If an application (e.g. media player) wanted to > > override this behaviour, they could do so in their .desktop file, > > .service file or osso_initialize() call. > > No. > > Apps that do useless stuff are buggy and the bugs must be fixed. Battery life eating is a particularly tricky bug to nail down to a single application (or home applet). > You are proposing a shortcut that is encouraging crappy code to be > written, since the system will always take care of saying: "psst, > pretend to be a properly written piece of code". Yes, I am. On the basis that this is a) easier and b) more likely than getting end-user tools to properly diagnose which applications aren't well behaved. > Would you be happy if your foregrounded app would run and drain the > battery while it's doing nothing and waiting for you to press a button? No, which is why I uninstalled Maemochron PDQ. > Have you ever wondered how come your typical GHz PC can have performance > sometimes comparable with an internet tablet? No, I haven't wondered. I'm a software engineer: I understand the issues, I just live in the real world of half-arsed Maemo ports and believe it should be as easy as possible to do these properly. Cheers, Andrew -- Andrew Flegg -- mailto:andrew at bleb.org | http://www.bleb.org/