Sorry, I missed Dianne's post above. So according to Dianne's post, CPU is indeed completely switched off. And in Android, there is no CPU under clock mode. And it can be woken up only by external interrupts. Got that. But then how does Alarm-manager timers work? Is it some kind of delayed interrupt or something like that? i.e an interrupt that will be raised after some time??? I thought at least the alarm-manager will need the CPU running.
On Tuesday, April 3, 2012 9:19:12 AM UTC+5:30, Put_tiMe wrote: > Ok, to clear some confusion, does CPU off means that CPU is completely > switched off, or is it run at a low clock rate? > > If CPU is completely off, then how does the AlarmManager even work, and > how does the phone receive an incoming call or an SMS? > > I'm sure CPU will be required to run some basic OS services, right? Like > the phone and SMS, and the alarm-manager itself. > > > > On Monday, April 2, 2012 7:05:28 PM UTC+5:30, Dan wrote: > >> >> >> On Mar 30, 10:06 pm, Dianne Hackborn <[email protected]> wrote: >> > On Android "sleep mode" is the screen being off. What do you mean by >> > "sleep mode"? >> >> Given the nice chart of CPU/Screen/Keyboard states at: >> >> http://developer.android.com/reference/android/os/PowerManager.html >> >> If having PARTIAL_WAKE_LOCK held allows the screen to go off (and you >> want to say 'On Android "sleep mode" is the screen being off'), what >> do you call the state that device will go into if PARTIAL_WAKE_LOCK >> is not held? >> >> Once we have the name agreed upon (for conversation, since it can only >> be reached if some form of WAKE_LOCK is not held, let's say "not >> awake") >> the question is what do you do to get the device to try to go to a >> state >> of CPU/SCREEN/KEYBOARD all Off. >> >> Dan Schmitt > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

