[om2009] - Power Button

Mirko Lindner mirko at openmoko.com
Thu Apr 16 11:02:18 CEST 2009


Hej,

blokkie wrote:
> Hi ,
> 
> When pressing the power button for 1 sec  it powers off very fast . . 
> This is _nice_ . I like it a lot.  But there is no way to lock it or put 
> it in sleep via this button
> 

What happens is indeed suspend, not a shut-down.

> In SHR there is a exelent way to trap all this. 
> 
> Is it very difficult to implement this in  paroli ?
> 

This is part of oeventsd which is part of the framework, on SHR as well 
as OM2009. The rules deployed in Om2009 should suspend the phone when 
pressing the power button and shut it down when holding it, there seems 
to be small issues with the latter however.

/mirko




More information about the community mailing list