Hi!
Is setting CPU Resource policy to enabled allowed?

mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage
org.freesmartphone.Usage.SetResourcePolicy CPU enabled

results in:

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/framework/helpers.py", line
74, in exceptionlogger
    return f( *args, **kw )
  File "/usr/lib/python2.6/site-packages/framework/resource.py", line
212, in onProcessElement
    self._enable( ok, err )
  File 
"/usr/lib/python2.6/site-packages/framework/subsystems/odeviced/idlenotifier.py",
line 222, in _enable
    IdleNotifier.instance().prohibitStateTransitionTo( "suspend" )
  File 
"/usr/lib/python2.6/site-packages/framework/subsystems/odeviced/idlenotifier.py",
line 104, in prohibitStateTransitionTo
    self.allowedStates.remove( state )
KeyError: 'suspend'
2009.12.02 13:51:41.812 mppl.asyncworker     ERROR    exception while
processing element ('enable', <function <lambda> at 0x7a06f0>,
<function <lambda> at 0x2dc4f0>):

Regards

     Niko

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to