minus-squareM.int@lemmy.ziptoTechnology@lemmy.world•AI coders are carrying half-open laptopslinkfedilinkEnglisharrow-up1·23 hours agoIf you close the lid on a MacBook, it ignores caffeinate and goes to sleep anyway. The only cases in which it doesn’t go to sleep with a closed lid are when you connect an external display or disable sleep entirely: sudo pmset disablesleep 1 linkfedilink
minus-squareM.int@lemmy.ziptoTechnology@lemmy.world•AI coders are carrying half-open laptopslinkfedilinkEnglisharrow-up3arrow-down1·2 days agoNo need to install a separate app: sudo pmset disablesleep 1 linkfedilink
If you close the lid on a MacBook, it ignores caffeinate and goes to sleep anyway. The only cases in which it doesn’t go to sleep with a closed lid are when you connect an external display or disable sleep entirely:
sudo pmset disablesleep 1