Detect if Notebook lid closed

This topic contains 3 replies, has 2 voices, and was last updated by Profile photo of David Zemdegs David Zemdegs 3 years, 7 months ago.

  • Author
    Posts
  • #11579
    Profile photo of David Zemdegs
    David Zemdegs
    Participant

    Greetings,

    I am working on an OSD Task sequence which does BIOS updates. On these machines the BIOS updates fail if the notebook lid is closed. I wanted to find a programmatic way of determining if the lid is closed. I have found reference to a WMI event that one can monitor to detect lid changes (opening closing) but its not the change of state I want, I need to just check if it is currently closed. Anyone have a possible solution?
    Thanks
    David Z

  • #11581
    Profile photo of Don Jones
    Don Jones
    Keymaster

    That's going to be entirely vendor-specific. The hardware itself, via a driver, would have to raise that information – and exactly how it does so may or may not use that WMI element. Your best bet would be to contact your hardware vendor.

  • #11587
    Profile photo of David Zemdegs
    David Zemdegs
    Participant

    Thanks – I thought it might be a standard WMI thing. I'll see if I can find out more from Dell.

  • #11588
    Profile photo of David Zemdegs
    David Zemdegs
    Participant

    Dont know if this will have what I need but Im gald I looked for it as we have all Dells....
    http://en.community.dell.com/techcenter/systems-management/w/wiki/1773.openmanage-client-instrumentation-omci.aspx

You must be logged in to reply to this topic.