I'm sorry, but your assumptions are fundamentally flawed.

On Sat, Aug 25, 2012 at 7:09 PM, Wido <wido...@gmail.com> wrote:
> ondemand works based on priorities, not idliness. For example, in my debian

It does not.
However, it somewhat does take priority into account, which you can
disable by passing ignore_nice_load=1 as parameter to the ondemand
cpufreq kernel module.

> testing, my regular desktop apps have a priority of 23, so ondemand not
> always rises the speed as I would like. Other example is when you go to
> lunch, you usually just lock your screen, but how many really lower power

cpufreq handles the cpu, what the screen does is absolutely irrelevant.
The CPU will still run when you turn off or even unplug your screen,
it simply does not care.
Locking the screen does not magically reduce power consumption.

> consumption? yeah, it's a stupid scenario, but is the one I'm interested (or
> when I go to sleep without shuting down the computer and forget to chance
> power policy).

You should never change power policy manually, except for very rare
cases where automatic policies don't work.
In almost any case that is contra-productive and you generally will
waste energy (and your own time) needlessly.
What you want is suspend to ram.
e17 can even automatically suspend your computer when it is idle long
enough (via the screen saver).

>
>
> And, the idea is that cpufreq module changes the freq (something it already
> does), not to rewrite a new power policy.
>

It does not. It has no policy code, it will only display the status
quo via the kernels cpu-freq infrastructure.

>
>
> On Saturday August 25 2012 13:54:54 thomasg escribió:
>
>> On Sat, Aug 25, 2012 at 3:35 AM, Wido <wido...@gmail.com> wrote:
>
>> > Hi!
>
>> >
>
>> > Yesterday I was thinking (yeah, sometimes I do that...specially when
>> > trying to fall asleep), would it be possible to add an option to the 
>> > cpufreq
>> > module that, when E goes idle, the freq goes to th min value, and when you
>> > resume it goes back to the setting it had before.
>
>> >
>
>> > This way, if you want, you can use powersave when not doing anything.
>
>> >
>
>> >
>
>> > cheers
>
>> >
>
>> >
>
>> > Wido
>
>> >
>> > ------------------------------------------------------------------------------
>
>> > Live Security Virtual Conference
>
>> > Exclusive live event will cover all the ways today's security and
>
>> > threat landscape has changed and how IT managers can respond.
>> > Discussions
>
>> > will include endpoint security, mobile security and the latest in
>> > malware
>
>> > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>> > _______________________________________________
>
>> > enlightenment-users mailing list
>
>> > enlightenment-users@lists.sourceforge.net
>
>> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
>>
>
>> That's what the linux kernels ondemand cpufreq governor already does,
>
>> I don't see any reason why something that already is done should be
>
>> reimplemented in userspace (which could only be done poorly).
>
>>
>
>>
>> ------------------------------------------------------------------------------
>
>> Live Security Virtual Conference
>
>> Exclusive live event will cover all the ways today's security and
>
>> threat landscape has changed and how IT managers can respond. Discussions
>
>> will include endpoint security, mobile security and the latest in malware
>
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>
>> _______________________________________________
>
>> enlightenment-users mailing list
>
>> enlightenment-users@lists.sourceforge.net
>
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
>>
>
> ________________________________
>
> Wido

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to