![]() |
2010-10-24
, 19:58
|
Posts: 701 |
Thanked: 585 times |
Joined on Sep 2010
@ London, England
|
#22
|
The Following User Says Thank You to retsaw For This Useful Post: | ||
![]() |
2010-10-24
, 20:19
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#23
|
The Following User Says Thank You to Mentalist Traceur For This Useful Post: | ||
![]() |
2010-10-25
, 00:36
|
|
Posts: 511 |
Thanked: 128 times |
Joined on Aug 2010
@ Trinidad and Tobago
|
#24
|
![]() |
2010-10-25
, 01:46
|
Posts: 2,225 |
Thanked: 3,822 times |
Joined on Jun 2010
@ Florida
|
#25
|
![]() |
2010-10-25
, 03:38
|
|
Posts: 511 |
Thanked: 128 times |
Joined on Aug 2010
@ Trinidad and Tobago
|
#26
|
![]() |
2010-10-25
, 04:09
|
Posts: 429 |
Thanked: 217 times |
Joined on Apr 2010
@ Dubai
|
#27
|
What is the benefit to dynamically changing the OC profile?
Surely if one profile gives improved battery life over another why not just keep it on that one. I do see what you are doing with the switching to the starving profile when the battery gets low, but that won't work for me since my n900 reboots after about a minute on the starving profile. I normally run the ideal profile with limits 500 and 850, I don't really see where your script would save my battery since I can't safely switch to the starving profile. Since this script certainly won't provide stable operation on all phones (there is a reason the default profile is what it is), I wouldn't go recommending this to those who would normally be afraid to OC their n900.
![]() |
2010-10-25
, 04:12
|
Posts: 429 |
Thanked: 217 times |
Joined on Apr 2010
@ Dubai
|
#28
|
Well right now I'm not sure if the script is working. First time I made the widget and checked my freq it was set to 125 600 I removed the widget and set my freq back to normal using the "easy overclock" script and replaced the SmartClocker Widget and now my freq is set at 250 600. It's running now and updating every hour so lets see what happens, battery doesn't seem to have improved for me though.
Ok I went into "Advanced" and paste the script, saved and ran it, limits now set to 500 900 ideal profile
![]() |
2010-10-25
, 04:15
|
Posts: 429 |
Thanked: 217 times |
Joined on Apr 2010
@ Dubai
|
#29
|
I'd still like people to report the differences, if any, that you notice between
hal-device bme | grep "percentage" | awk '{print $3}'
and
cat /sys/class/power_supply/bq27200-0/capacity
Meanwhile [sarcasm]thanks so much to everyone who read my request for dbus help and actually knew dbus enough to knows how to do what I asked.[/sarcasm]. I get that most people don't know dbus that well, and some might not have had time or had something impostant to do instead - but if you knew how to help and didn't bother, middle finger to you.
For anyone who cares, I figured it out, I would like to say that the script on the first page actually helped, so an indirect sincere thanks for that. So to all those who'd like to know how to use the command line to get accelerometer values and device orientation (as well as two other things) through DBus (which as far as I know is the only way to get device orientation directly):
dbus-send --system --print-reply --desk=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_device_orientation
From there, I've figured out how to combine grep and awk to get just the device orientation returned (though it's not exactly right for what I want, but I can figure that out a lot easier).
- Edit -
To the OP (who's name eludes me and I can't see because the edit mode doesn't show you previous posts), I'll try this script, or some tweek of it, in the near future. I will definitely be implementing the "lower-clock if temperature is critical" thing eventually - at least if I have what appears to be overheating problems.
![]() |
2010-10-25
, 05:22
|
Posts: 41 |
Thanked: 7 times |
Joined on Dec 2009
@ Oslo, Norway
|
#30
|
Just like swappolube vs manually making a script yourself.
Anyway, I wouldn't make it "simpler", unless there's something in the code that could truly use simplifying. It looks pretty simple enough. I just don't have the knowledge to figure out if the simple looking stuff is actually good.
One thing I HAVE figured out from looking at the script, is you understand DBus. And I just so happen to have a particular shell command that I would like to know, that I know uses DBus.
So, if you don't mind telling me: How do I fetch device orientation (portrait vs landscape) using dbus? Not with python/C/C++/Qt - just from the command-like (so I can stick it into my Conky.conf file for something I've been trying to do). I have this tidbit of python code from the wiki: