Re: [android-kernel] Is there a system call in android kernel to get the power status? like sysinfo can get memory info.

2010-08-14 Thread Gao Jing
I am sorry for inappropriately expression, i mean battery status, like how much battery left ? On Sat, Aug 14, 2010 at 9:38 AM, Dianne Hackborn wrote: > Exactly what information are you looking for when you say "power status"? > > On Thu, Aug 12, 2010 at 8:34 PM, Gao Jing

[android-kernel] Is there a system call in android kernel to get the power status? like sysinfo can get memory info.

2010-08-13 Thread Gao Jing
Hi ALL I am new to android, i want to get power status in c or c++, is there a system call in android kernel to get the power status? Like sysinfo can get memory information. There is another question, if a java implementation call a function in the library section of android or a system