Sample Header Ad - 728x90

How to get the postion of the lid

3 votes
1 answer
183 views
I am trying to figure out what the position of the lid is. Whether it is open or closed. Is there a terminal command or a cocoa code snippet for this? I've already tried pmset -g but i can only get the sleep modes and the lidwake status.
Asked by wasserpanther (33 rep)
May 28, 2015, 06:13 AM
Last activity: May 28, 2015, 08:19 AM