Service runnning while PowerManager decides to sleep ?

by Dianne Hackborn » Sat, 21 Nov 2009 05:40:59 GMT

Sponsored Links
 You should hold a wake lock only when you need to make sure the CPU will
continue running.  If it is during the entire time your service runs until
it schedules an alarm, then that is it, but please keep this as short as
possible since this is one of the things that can have a significant impact
on battery life.

You need to do this on a device.  You need to do this on a device, anyway,
so you have some idea of how you are actually impacting the battery.

> > >

Other Threads

1. Paging users htc evo 4G

Baru make evo seminggu dan {*filter*}tara ini pake rom myn's twopointtwo rls 5
kernel netarchy 4.2.1
Para mas, om, tante yg pada make ne evo boleh tahu dong stay di rom apa
hingga sekarang

Fresh, ava dan cm saya baca d trit xdanya banyak yg komen rom paling irit

htc wildfire white rooted
rom dk custom froyo v 4.2.1
kernel hcdr jacob

htc evo 4G white (rooted)
rom myn's warm twopointtwo rls 5
Kernel netarchy 4.2.1


2. how to access ?

Hi, I am trying to access CallManager class object from
"" package. here is my code: {

classCallManager =

Method method_getInstance; method_getInstance =
method_getInstance.setAccessible(true); Object callManagerInstance =


but this throwing ClassNotFoundException.

can any one help me on this? same way it is allowing me to access
"PhoneFactory", but not allowing to access CallManager

Thanks in Advance, Harsha C


3. Could I exec some codes after my app is installed

4. Anyone with GL experience willing to take a contract/bounty?

5. Pre DEX optimization Info

6. Kamu pembohong

7. internal Mem di android