[maemo-developers] [maemo-developers] How to determine if the screen has turned off?

From: Johan Bilien jobi at via.ecp.fr
Date: Thu Dec 14 08:55:29 EET 2006
Aaron Levinson wrote:

>Well, I had already examining the libosso APIs before sending the e-mail,
>and I did notice the system_inactivity_ind flag in the osso_hw_state_t
>struct.  However, according to the libosso documentation, if the callback
>is called for system inactivity, this means that "the application should
>reduce its activity".  I didn't directly associate this text with the
>screen being blanked, which I think is understandable, since screen
>blanking is not the same thing.
>What are the conditions that result in the callback for the system 
>inactivity indicator being called?  The statement "the application should 
>reduce its activity" is somewhat open-ended, and perhaps this callback is 
>used for more than just to indicate that the screen has been blanked.

Right, screen blanking is the only occasion where I have seen this 
callback triggered, but maybe it's used in other cases, Kimmo?


More information about the maemo-developers mailing list