[maemo-developers] suspendprocess - poor man's power save

From: Attila Csipa maemo at csipa.in.rs
Date: Sun Sep 12 11:47:38 EEST 2010
It has been difficult for many developers to comply with many of the recommended 
power-saving practices for Maemo, especially those porting apps from desktop 
environments. I'm not sure how many of you noticed already, but in the best 
hack-tradition of the N900 mikkov made a suspendprocess package, not unlike 
what was talked about on this list - which could allow many of these power-
guzzling apps to become a little more suspend-power-friendly with little to no 
effort.

http://maemo.org/packages/package_instance/view/fremantle_extras-
devel_free_armel/suspendprocess/0.1/

Basically it is a launch-wrapper that SIGSTOPs and resumes the app it started 
based on the DBUS signals.

I would recommend all interested parties to take a look and if it 
improves/helps in their apps/packages, apply it to them (or report any 
problems/improvement suggestions, naturally). It's not the prettiest solution 
and native level DBUS solution is of course still preferred by far, but if you 
don't have that time or luxury (or are blessed with SDL code or similar), this 
might come handy.


Best regards,
Attila Csipa
More information about the maemo-developers mailing list