maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   Serious power saving with dbus-scripts and pkill -STOP (https://talk.maemo.org/showthread.php?t=73038)

hawaii 2011-05-14 01:58

Re: Serious power saving with dbus-scripts and pkill -STOP
 
As far as I know, the best option would be to setting R&D mode and disabling the watchdog lifeguards. There's no apparent side-effect for me, for the past few months.

Keep in mind, browserd renders rtcom-messaging windows among other things.

Xagoln 2011-05-17 03:59

Re: Serious power saving with dbus-scripts and pkill -STOP
 
I've been running for several days with dbus-scripts suspending SCIM, browserd and image-viewer.

Just thought of something for users of mscimswitcherstatus - if you have mscimswitcherstatus suspending SCIM when not needed, my dbus-scripts config above will wake it up each time the phone is unlocked. I think an updated script to check if MSCIM is enabled (by mscimswitcherstatus) before waking its process would be the best solution.

erendorn 2011-06-05 12:22

Re: Serious power saving with dbus-scripts and pkill -STOP
 
somehow related:
I tried to pause nokia maps, because "battery drain", but "forever to load".
Yet the GPS is still on. Is there a way to stop/start GPS tracking, so I can really stop consumption while having maps ready at hand?

kayamagan 2011-06-09 02:11

Re: Serious power saving with dbus-scripts and pkill -STOP
 
i thought why not made an app which gathering this script (power saving) and the script "Tweaks To Speed UP N900": http://talk.maemo.org/showthread.php?t=73315&page=27

one .deb will be better for many people.

thank

F2thaK 2011-06-09 03:16

Re: Serious power saving with dbus-scripts and pkill -STOP
 
how do you tell if this works?

I had to create the folder "/usr/local/share/dbus-scripts/"

and when doing step "killall dbus-scripts" I got error saying

Code:

$ killall dbus-scripts
killall: cannot kill pid 793: Operation not permitted
killall: cannot kill pid 1668: Operation not permitted
killall: cannot kill pid 1752: Operation not permitted
killall: cannot kill pid 1766: Operation not permitted
killall: cannot kill pid 1782: Operation not permitted
killall: cannot kill pid 1809: Operation not permitted
~ $


dtparikh 2011-06-09 04:29

Re: Serious power saving with dbus-scripts and pkill -STOP
 
Did anyone try out the dbus-script? please let us know the power saving improvements and if its worth installing.

I already have about 8-10 scripts/apps that save power, increase battery life and speed up N900 ! probably each and every thread that talks about these , have been implemented and now wonder if they are conflicting internally due to which i dont see a significant change !

F2thaK 2011-06-09 04:59

Re: Serious power saving with dbus-scripts and pkill -STOP
 
smart reflex is best method to save battery power, but I have all mods installed.

installed this one today, not sure it worked.. but will test

JorgeFX 2011-06-18 10:55

Re: Serious power saving with dbus-scripts and pkill -STOP
 
how many hours did you consider you gain with this script?

F2thaK 2011-06-18 11:02

Re: Serious power saving with dbus-scripts and pkill -STOP
 
since the 9th noticed no improvement. smart reflex is by far the best way to prolong battery

vi_ 2011-06-18 12:01

Re: Serious power saving with dbus-scripts and pkill -STOP
 
Quote:

Originally Posted by F2thaK (Post 1031357)
since the 9th noticed no improvement. smart reflex is by far the best way to prolong battery

Agreed, furthermore I suspect that using dbus-scripts to kill process to save power is a case of 2 steps forward, 3 steps back.

Most processes on the n900 are well behaved and 'sleep' while not doing anything. This means they have very little impact on system load. dbus-scripts however has to wake up every time there is a dbus event to check to see if it matches one of it's scripts. If you have ever looked at dbus-monitor you will see there are a quite a lot of them! especially when changing cell reception power.

tl;dr I suspect dbus-scripts cause more system load checking to see if it needs to run a script in response to an event than the processes you are trying to kill.


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8