HI Michael, Thanks for your reply,
Which version of Bluez-utils are you using? This timer is not the System to go to sleep, basically in the system Idle thread start when there is no activity on the system and it should stay in the idle state for some time (in our case it is more than 500 msec) to achieve the full system sleep (Core Off). On Fri, May 8, 2009 at 5:18 PM, Michael Trimarchi < [email protected]> wrote: > > Hi, > > BHEEMSEN KULKARNI wrote: > > Hi, > > > > There is piece code in the hciattach "poll(&p, 1, 500)", which is poll > for > > every 500 msec. > > > > main() > > { > > while (!__io_canceled) { > > p.revents = 0; > > err = poll(&p, 1, 500); > In my code the poll is every 5000 seconds, but maybe is a different version > > if (err < 0 && errno == EINTR) > > continue; > > if (err) > > break; > > } > > what is this piece of this does exactly,because of polling off every 500 > > msec causes the System not going to Sleep state. > Why the poll on a file descriptor cause the no sleep state? > > > > Can I increase timer value? > > > > Regards > > Bheemsen K > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
