View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1585
Hey karam.

Thanks for Your efforts.
Here I have another 'correction':
the dbus-scripts and dbus-scripts-session, You provided, are a little bit mixed (not messed, but ...), The dbus-scripts does not need to be provided, as it is already there. Only dbus-scripts-session with correct content necessary.
The file dbus-script-settings, containing Your triggers, should be renamed to e.g. vfs-cache-pressure(_by_karam) before upload.

I also added this line to the vfs-cache-pressure file:
#:vfs_10
/opt/scripts/cpu_sleep.sh * * org.freedesktop.Hal.Device Condition ButtonPressed cover
which make this patch also active after device has gone inactive with kb open and the kb being closed later (without activating again). But, this may NOT be the thing one wants; maybe one wants the device to stay 'active'. But for me this is perfect.

Subjective my battery life is better now, although I have also eliminated a problem with some python server, not letting my device go into C4 (deeper sleep) state at all; always at C3 only.
Thanks to vi_ for giving me the pointing about right interpretation of powertop...
 

The Following 3 Users Say Thank You to peterleinchen For This Useful Post: