AFKLocker 0.2.2
Setup now tells you when automatic lock cannot work on your machine, instead of looking healthy and quietly doing nothing.
The problem this fixes
Automatic mode could report a running watcher, and then never lock anything — with no way to tell why. That is the worst kind of failure: silent, and indistinguishable from working.
It happened on the development machine. Windows reported no lid device, no lid event ever arrived, and the cause turned out to be the ACPI Lid device disabled in Device Manager (under System devices).
Disabling that device is an old trick for stopping a laptop sleeping when the lid closes. AFKLocker makes it unnecessary — it configures the lid action properly instead — and it silently breaks automatic lock, because Windows then has no idea the lid moved.
What changed
- Setup detects a machine that reports no lid state and says so, in red, naming the device to check.
- That warning outranks the battery note: a machine that cannot lock at all is a bigger problem than one that merely sleeps afterwards on battery.
If you turned automatic mode on and closing the lid did nothing, this release will tell you why. Enabling the ACPI Lid device is safe once the lid action is "Do nothing", which is what Setup configures.
Nothing else changed — manual mode remains the default, and the locking behaviour is unchanged.