PowerManagement - wakelocks

by GPU » Mon, 22 Feb 2010 15:07:20 GMT


Sponsored Links
 Hi ,

PARTIAL_WAKE_LOCK
SCREEN_DIM_WAKE_LOCK
SCREEN_BRIGHT_WAKE_LOCK
FULL_WAKE_LOCK

In the above 4 wakelocks , only the PARTIAL_WAKE_LOCK  is calling
wakelock.c kernel API. How the other 3 wakelocks are handled
internally?

The other 3 wakelocks calling android_os_power.app -->
setScreenState(boolean).But its only make the sceen on/off
how the DIM/BRIGHT is handled?How its related to wakelock?

--



PowerManagement - wakelocks

by GPU » Mon, 22 Feb 2010 15:07:25 GMT


 Hi ,

PARTIAL_WAKE_LOCK
SCREEN_DIM_WAKE_LOCK
SCREEN_BRIGHT_WAKE_LOCK
FULL_WAKE_LOCK

In the above 4 wakelocks , only the PARTIAL_WAKE_LOCK  is calling
wakelock.c kernel API. How the other 3 wakelocks are handled
internally?

The other 3 wakelocks calling android_os_power.app -->
setScreenState(boolean).But its only make the sceen on/off
how the DIM/BRIGHT is handled?How its related to wakelock?

--


Sponsored Links


Other Threads

1. Multiplayer game

Hi All,
I have developed a sports game which is single player.
Now I want to have one more game mode which is multiplayer.
My question is how can i do device to device connection in android
using sets of api which can be :

1.Bluetooth - whose APIs are not currently available.
2.gtalkservice - removed from sdk1.0
3.wifi - I dont knw how to connect 2 devices using wifi apis . I have
asked about wifi because we have developed a game on iphone which used
wifi connection for multiplayer stuff.

Or  is there any other apis which can be used for implementation of
multiplayer in game ?

--~--~---------~--~----~------------~-------~--~----~

2. Anyone interested in joining an Android Developers Group on Linkedin?

You may join this group by going to the following link:

http://www.linkedin.com/e/gis/86481/4DA362688A87

This group is a place for Android Developers to share, learn, and
network. The resource for connecting professionals with experience in
developing, selling, marketing, managing, supporting and/or creating
new businesses around the Android platform. We look forward to your
participation and contribution!

Regards,
Austin
--~--~---------~--~----~------------~-------~--~----~

3. MediaPlayer fails with LocalSocket

4. How do I pass data in an intent from an activity started from the launcher?

5. How can I get the near by information such as the hotels,shopes.etc by using latidute and longitude?

6. Persistent Data using the Emulator

7. Apple鈥檚 90 day App Store refund