Tuesday, September 30, 2025

Re: A quick power management question ...

On Tue, Sep 30, 2025 at 11:00:52PM -0400, Mike wrote:
>
> I have an older laptop that I want to repurpose for another task that does
> not require a screen to be seen.
>
> OK, I have all the programs loaded up, but when I close the lid on the
> laptop, the screen goes dark (as wanted), but then the notebook goes to
> sleep (which I do not want). I want the notebook to remain an achieve
> processing unit, though with the screen turned off.
>
> I see nothing in the BIOS settings that might encourage such behavior.
>
> Looking at the man page for atm yields little more than question marks in my
> brain.
>
> So, my simple question is:
>
>
> How do I disable the ~going to sleep~ on a laptop when I close the lid?

machdep.lidaction=0 in /etc/sysctl.conf

values are described in acpibtn(4)

No comments:

Post a Comment