1 Reply Latest reply on Jun 12, 2014 8:53 AM by ArvindS_76

    Unit of the DeviceLpmQueriableMethodCallback return value

    kilian.timmler@exelonix.com

      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

        • 1. Re: Unit of the DeviceLpmQueriableMethodCallback return value
          ArvindS_76

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

          2 of 2 people found this helpful