We used to have this, but I don't think it made it to 1.0:

http://www.androidjavadoc.com/m5-rc15/android/os/RuntimeInit.html#isComputerOn()

On Wed, Jun 17, 2009 at 9:15 AM, dan raaka <[email protected]> wrote:

> Is there a way to measure/notice the state of the CPU at any given instant
> ?
>
> -Dan
>
> On Wed, Jun 17, 2009 at 7:51 AM, Jerome Duval <[email protected]>wrote:
>
>> I'm not sure I understand the question. If you are executing code, the CPU
>> is on. If the CPU is off, you can't do anything.
>>
>>
>> -----Original Message-----
>> *From*: dan raaka <[email protected]<dan%20raaka%20%[email protected]%3e>
>> >
>> *Reply-to*: [email protected]
>> *To*: [email protected]
>> *Subject*: [android-porting] CPU state
>> *Date*: Tue, 16 Jun 2009 21:57:16 -0700
>>
>> is there a way to know the state of the CPU, whether ON or OFF ?
>>
>> -Dan
>>
>>
>>
>>
>>
>> >>
>>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to