Active Topics

 



Notices


Reply
Thread Tools
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#11
Originally Posted by dkwatts View Post
CPU Freq Definitions:
conservative =
ondemand = same as liqbase?
null =
powersave = same as liqbase?
performance = same as liqbase?
What do you mean by "same as liqbase"?
Governors and cpufreq are system-wide...
 

The Following User Says Thank You to 412b For This Useful Post:
Posts: 250 | Thanked: 300 times | Joined on Sep 2007
#12
Originally Posted by 412b View Post
What do you mean by "same as liqbase"?
Governors and cpufreq are system-wide...
Found my answer at http://www.mjmwired.net/kernel/Docum.../governors.txt

Up until now I have been using liqbase scripts to regulate cpufreq:

"sudo /usr/bin/liqbase-cpu-powersave"
"sudo /usr/bin/liqbase-cpu-ondemand"
"sudo /usr/bin/liqbase-cpu-performance"
__________________
 
lcuk's Avatar
Posts: 1,635 | Thanked: 1,816 times | Joined on Apr 2008 @ Manchester, England
#13
dkwatts, yes they are the same.
__________________
liqbase sketching the future.
like what i say? hit the Thanks, thanks!
twitter.com/lcuk
 

The Following User Says Thank You to lcuk For This Useful Post:
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#14
I read "with candles". Made me wonder.

...

Thanks for the statusbar applet, I'm trying it out.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following User Says Thank You to allnameswereout For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#15
Hrm, noticed original battery applet gets activated when you use my sed conmand line to comment mandatory

Anyway, delete that postinst with just that sed line and make a preinst with:

#!/bin/sh

qDesktop=/usr/share/applications/hildon-status-bar/hildon-status-bar-battery.desktop

12MandCheck=`cat $qDesktop | grep Mandatory`

if [ x$12MandCheck = xMandatory=true ]; then
sed -i 's/^Mandatory/#Mandatory/' $qDesktop
fi
Running it as preinst should stop maemo from realising desktop file changed and reenabling original applet.

Last edited by qwerty12; 2008-11-11 at 23:44.
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#16
Thank you 412b, this is a great addition to my tablet.

I've actually been learning Python for the single purpose of creating an applet just like this! What license are you releasing this under? GPL? I would love to modify it per my needs...

Thank you again.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#17
heh, watching that percentage drop makes me want to do something about my wifi setup.

i just wonder how this will interact with the n800 led indication for a fully charged battery.
 
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#18
Very nice! I modified it once I downloaded it to use farenheit instead of celsius for the temperature (hooray America!) Do you think you could include an option for this?

Also, I think something like acmonitor would be cool incorporated into this. acmonitor lets you have different backlight levels (and baclight settings) for plugged in and running on batteries. I'd like to see cpu governor added to that list, so I could have performance when plugged in, and ondemand for battery usage. Maybe go another step and change it to powersave when the battery gets low.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 

The Following User Says Thank You to TrueJournals For This Useful Post:
GeneralAntilles's Avatar
Posts: 5,478 | Thanked: 5,222 times | Joined on Jan 2006 @ St. Petersburg, FL
#19
Originally Posted by TrueJournals View Post
Maybe go another step and change it to powersave when the battery gets low.
Unless you're constantly using the CPU, this is likely to use more power, as it'll take longer for the CPU to complete tasks and go to idle, and idle is where you want to be as quickly as possible (Race to Idle).
__________________
Ryan Abel
 

The Following User Says Thank You to GeneralAntilles For This Useful Post:
TrueJournals's Avatar
Posts: 480 | Thanked: 378 times | Joined on Apr 2008 @ Chicago-ish
#20
Ah, ok. Thanks for the explination. Kind of ironic, isn't it?

Also, I've stumbled upoon a bug: this applet doesn't update when other applications change the cpu governor. I went into liqbase and changed it to performance, but the applet still shows it as ondemand.
__________________
Disclaimer: If a program I wrote doesn't work/breaks your tablet... It's not my fault
mcedit | Utility Calculators (WIP) | PyRDesktop
My Blog | Twitter
 
Reply

Tags
applet, battery, python, statusbar


 
Forum Jump


All times are GMT. The time now is 16:18.