The Following 2 Users Say Thank You to karam For This Useful Post: | ||
|
2011-08-03
, 17:42
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#1632
|
Yes, pretty sure. I installed manually and checked all existing or non-exisitng items.
dbus-scripts existed
dbus-scripts-session needs to be created on ones own
I think karam mixed here a little bit in the rush.
So, do not provide dbus-scripts, but only dbus-scripts-session with following content:
About that thing with telephony and vfs_cache:Code:description "dbus-scripts-session" author "Graham Cobb <g+770@cobb.uk.net>" start on started hildon-desktop stop on stopping hildon-desktop console none exec run-standalone.sh /usr/sbin/dbus-scripts --session respawn
Yes, karam, You are right. There is no need to add anything. I tested it and vfs came to 100 on call arriving and was set back to 10 after call with inactivity events. So please forget my former sayings.
BUT:
the vfs was also set to 10 during a call, because of proximity sensor and locking state.
I added/modified following to the cpu_sleep.sh:
This will add the check for the proximity sensor.Code:#!/bin/sh brightness=$(cat /sys/class/backlight/acx565akm/brightness) keyboard=$(cat /sys/devices/platform/gpio-switch/slide/state) proximity=$(cat /sys/devices/platform/gpio-switch/proximity/state) if [ "$brightness" == "0" -a "$keyboard" == "closed" -a "$proximity" == "open" ]; then echo 10 > /proc/sys/vm/vfs_cache_pressure fi
If we keep a finger on it, the pressure will not be reduced, but kept at 100 (as feature someone may claim it as bug for accidentally keeping the sensor closed while locking, but I see it as feature )
This will also keep track and solves everything related to phone calls. Keeping pressure on 100 during a call...
The Following 2 Users Say Thank You to vi_ For This Useful Post: | ||
|
2011-08-03
, 20:12
|
Posts: 856 |
Thanked: 1,681 times |
Joined on Apr 2010
@ Aleppo ,Syria
|
#1633
|
The Following 2 Users Say Thank You to karam For This Useful Post: | ||
|
2011-08-04
, 05:53
|
Posts: 915 |
Thanked: 57 times |
Joined on Jun 2011
|
#1634
|
|
2011-08-04
, 08:56
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#1635
|
|
2011-08-04
, 09:28
|
Posts: 169 |
Thanked: 71 times |
Joined on Aug 2010
@ Spain
|
#1636
|
since i have done the battery fix and loaded ur ideal....my battery level stays at zero...and doesnt keep track of how much enery is left.
the only way i know how much batt is left is my qbattery meter widget.
any ideas how i can get my battery level to show like it did before?
|
2011-08-04
, 09:34
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#1637
|
|
2011-08-04
, 09:35
|
Posts: 1,067 |
Thanked: 313 times |
Joined on Sep 2009
@ USA
|
#1638
|
|
2011-08-04
, 09:47
|
Posts: 169 |
Thanked: 71 times |
Joined on Aug 2010
@ Spain
|
#1639
|
i do have apmd installed and it is not showing any data. now the drop menu just says "tarting APMD" and it never goes. and the battery megter icon in the shildon-status-menu is not changing. just shows emoty all the time.
qtbattery widget is the only way i can tell right now.
|
2011-08-04
, 12:39
|
|
Posts: 4,118 |
Thanked: 8,901 times |
Joined on Aug 2010
@ Ruhrgebiet, Germany
|
#1640
|
So what if I unlock my phone (vfs@100), do some sh|t, lock my phone, put it in my pocket. In 15seconds or so, inactivity signal. But oh wait, it's in my pocket, proximity is closed. vfs stays@100.
Think on.
vi_ but i think before you put in your pocket you would lock your phone
right?
which will make vfs goes to 10
Tags |
autobrick, awesome-script, do no install, f***epitaph, install it now, perfect_ n900, script-a-brick, very safe |
|
i have forgotten about the proximity sensor
thank you for reminding me of it
and it seems that i did some mistakes on the rush
will fix everything on the next update
My Projects:
Speed Patch & Battery patch
Task-Swapper
Wifi-Pwner (MDK3 GUI)
Hacking Tools
Tutorials
How To Increase Camera Image Quality
How To Unblock Repositories In Forbidden Countries [Like Mine]