Active Topics

 


Poll: Delet the values from the speedpatch?
Poll Options
Delet the values from the speedpatch?

Reply
Thread Tools
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#1791
Originally Posted by peterleinchen View Post
Hey karam.

Sorry for delay, almost 50 posts behind

We do not need that trigger (on display_status_ind on), as the device gets unlocked when a call arrives, which already will set the pressure value (on tklock_mode_ind unlocked).

So just doing this thing twice. But it does not harm...
i'm afraid you are wrong (tklock_mode_ind unlocked) gets activated
only when the user unlock the screen using the unlock button

so display_status_ind on is needed to change vfs to 100
when you press the power button and swipe to unlock
or when you receive a call


BTW I HAVE UPLOADED THE FIRST 2 VERSIONS OF BATTTERYPATCH AND SPEEDPATCH
Attached Files
File Type: deb batterypatch_armel.deb (1.5 KB, 137 views)
File Type: deb speedpatch_armel.deb (2.0 KB, 158 views)

Last edited by karam; 2011-08-10 at 22:29.
 

The Following 9 Users Say Thank You to karam For This Useful Post:
Posts: 235 | Thanked: 163 times | Joined on Dec 2008 @ Costa Rica
#1792
I've got a question:

Battery patch works modifying the value of the VFS Cache Pressure while the phone is locked or not.

That implies that, it is assumed that the phone is not in use when locked.

However, it is common to me for example, to update repositories and while it last, I lock my phone, so, the phone is working on something but locked (so, it is using the VSF cache value as if it was in stand by mode).

Another example is when I use eCoach when I take a walk. The phone is working using the GPS, etc, but the phone is locked as it will be in my pocket and I do not want the screen to be active.

So, could the assumption of "locked == stand by" be affecting the battery life instead of helping it?
 

The Following User Says Thank You to lsolano For This Useful Post:
Posts: 856 | Thanked: 1,681 times | Joined on Apr 2010 @ Aleppo ,Syria
#1793
lsolano if you don't wanna use vfs as standby just open the keyboard and lock the screen
then you can close the keyboard
in that case the vfs will not change to 10 (standby)

unless the system finished update or goes inactive

EDIT: OR INSTEAD OF CLOSING THE KEYBOARD
YOU CAN JUST PUT YOUR FINGER ON THE PROXIMITY SENSOR
then lock and leave the sensor


PS: I REPEAT

i need some one to test something :

-----------------
sudo gainroot
-----------------
cp /root/.profile /home/user/
------------------

and see if any better performance or less performance occur

if you wanna reverse just :
--------------------------------
rm /home/user/.profile
--------------------------------


PS2 : i repeat again

first debs are available above
i didn't include transitions.ini or the custom profile
only the patches

PS : you need to remove the patches installed manually before using the .debs

Last edited by karam; 2011-08-10 at 22:44.
 

The Following 6 Users Say Thank You to karam For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1794
Originally Posted by karam View Post
i'm afraid you are wrong (tklock_mode_ind unlocked) gets activated
only when the user unlock the screen using the unlock button

so display_status_ind on is needed to change vfs to 100
when you press the power button and swipe to unlock
or when you receive a call
I might be wrong, no question!
But I just tested it again and it worked flawlessly.

Here I post my vfs_cache_pressure file from /etc/dbus-scripts.d/
Code:
# This file was generated by dbus-scripts-settings
# If you edit it by hand you might confuse the program,
# and you might lose your changes next time the program runs.

#:vfs_100
/opt/scripts/cpu_normal.sh * * com.nokia.mce.signal tklock_mode_ind unlocked

#:vfs100
#/opt/scripts/cpu_normal.sh * * com.nokia.mce.signal display_status_ind on

#:vfs_10
/opt/scripts/cpu_sleep.sh * * com.nokia.mce.signal tklock_mode_ind locked

#:vfs_10
/opt/scripts/cpu_sleep.sh * * com.nokia.mce.signal system_inactivity_ind

#:vfs_10
/opt/scripts/cpu_sleep.sh * * org.freedesktop.Hal.Device Condition ButtonPressed cover

#:vfs10
#/opt/scripts/cpu_sleep.sh * * com.nokia.mce.signal display_status_ind off
With these settings, the pressure is always set to 10 after device got locked (even after keyboard closed, when it was open during locking). So only chance to keep pressure at 100 is the proximity sensor.
I like it that way...
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Changegames's Avatar
Posts: 277 | Thanked: 69 times | Joined on Jul 2010
#1795
is the new batterypatch the one with working proximity sensor? i just wanna know if this is gonna conflict with the people using Shortcutd.
__________________
Just when i thought N900 is losing its appeal here's the community to make it sexy again...
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#1796
Yes, this version has already the proximity sensor in use.
But there should be no hassle with shortcutd (jmho, as I do not use shortcutd).
Of course, You will trigger shortcutd action, when You try to keep VFS high on lcoking the device with prox sensor covered!
 
Posts: 536 | Thanked: 81 times | Joined on May 2011 @ Russia
#1797
hey karam i can confirm that the battery patch is superb. but i removed the speedpatch as my phone works better without it. well different settings for different n900s. im gonna remove the battery patch now and gonna install the 2 debs .are the 2 debs same as the manual patch? and u dont need to configure anything manually just install the deb?>
thanks
 
Posts: 16 | Thanked: 0 times | Joined on Jan 2011
#1798
hi, when installing pach batery .deb dependency fails me, dbus-scripts 2.0 is not installed ..............
you can help me?
 
Posts: 515 | Thanked: 266 times | Joined on Nov 2009 @ Oelsted, Denmark
#1799
Originally Posted by demiurgo0 View Post
hi, when installing pach batery .deb dependency fails me, dbus-scripts 2.0 is not installed ..............
you can help me?
Run this (will fix whatever errors were encountered during last install):
apt-get -f install
__________________
Christian Wilken - tux-POWER.dk!
... May the Source be with You ...
 
Posts: 915 | Thanked: 57 times | Joined on Jun 2011
#1800
home/user # apt-get install dbus-scripts
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package dbus-scripts is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package dbus-scripts has no installation candidate
/home/user #


after removing it.what to do.cannot install it again
 
Reply

Tags
autobrick, awesome-script, do no install, f***epitaph, install it now, perfect_ n900, script-a-brick, very safe


 
Forum Jump


All times are GMT. The time now is 15:32.