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().
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).