Unit of the DeviceLpmQueriableMethodCallback return value

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

I'm wondering what the unit of the DeviceLpmQueriableMethodCallback function is supposed to be if it is not zero. This call back is set by using devlpm_registerForLowPowerQueries().

Regards,

Kilian

0 Likes
1 Reply
asridharan
Employee
Employee
10 comments on KBA 5 comments on KBA First comment on KBA

The unit depends on the poll type parameter. When sleep, 0 to indicate 'don't sleep'; all other values are treated as max number of microseconds to allow sleep (could sleep for less, but never more). Return 0xFFFFFFFF f you don't care. When hid-off/deep-sleep, 0 to indicate 'don't enter deep-sleep'; all other values are treated as OK to enter deep-sleep (not guaranteed to enter deep-sleep because some other module could block deep-sleep).