Timeline for Determine status of laptop lid
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 6, 2022 at 12:39 | comment | added | tukusejssirs | This work on Linux too, however, with a slight modification: LID instead of LID0 → /proc/acpi/button/lid/LID/state. | |
| Apr 25, 2017 at 12:37 | comment | added | JrBenito | Answering to my own comment, I put hands on 2 in 1 (Dell) and it only reports "open/close". However, when computer goes tablet or tent mode there is a keystroke reported to disable keyboard, hence, a combination of accel, keystroke and lid "open/close" can tell if the computer is in tablet/tent mode. | |
| Apr 24, 2017 at 21:00 | comment | added | JrBenito | How about 2 in 1 notebooks that can have lid 360° opened? is there an indication or should we use some combination of lid open and accelerometer readings? | |
| Aug 6, 2014 at 21:50 | comment | added | Naftuli Kay | To note: this works on my MacBook Pro, a Dell laptop, and a Gateway laptop also, so I'm assuming this is fairly ubiquitous. | |
| Aug 6, 2014 at 21:47 | vote | accept | Naftuli Kay | ||
| Aug 4, 2014 at 16:55 | history | answered | Naftuli Kay | CC BY-SA 3.0 |