ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    OSX Power Saving Settings

    IT Discussion
    osx apple unix cli power management high sierra majove
    2
    4
    776
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by DustinB3403

      If you are like us, you don't want your user systems going to sleep every 10 minutes. Especially on UPDATE night.

      Via ARD (if you want to make this change to multiple systems at once) or SSH individually you can make a few changes to the power settings on an Apple laptop with 3 short commands. These changes are specifically for when the device is connected to the charger only but could be adjusted for battery as well.

      sudo pmset -c sleep 0
      sudo pmset -c powernap 0
      sudo pmset -c disksleep 0
      

      The settings make these changes, in this order, and the order is required.

      Disable sleep when connected to a charger
      Disable powernap when connected to a charger
      Disable disksleep when connected to a charger

      There you have it, now your devices will remain awake, and accessible for update night. This doesn't affect locking of the screen or user account. And the user doesn't even have to be logged in. The system will be right there waiting for the user to login.

      1 Reply Last reply Reply Quote 1
      • black3dynamiteB
        black3dynamite
        last edited by

        Does that also prevent it from sleeping when the lid is closed?

        DustinB3403D 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403 @black3dynamite
          last edited by

          @black3dynamite said in OSX Power Saving Settings:

          Does that also prevent it from sleeping when the lid is closed?

          The lid closed is powernap 🙂

          black3dynamiteB 1 Reply Last reply Reply Quote 1
          • black3dynamiteB
            black3dynamite @DustinB3403
            last edited by

            @DustinB3403 said in OSX Power Saving Settings:

            @black3dynamite said in OSX Power Saving Settings:

            Does that also prevent it from sleeping when the lid is closed?

            The lid closed is powernap 🙂

            https://media1.giphy.com/media/5hc2bkC60heU/giphy.gif?cid=3640f6095c8163fa692f764563b0e745

            1 Reply Last reply Reply Quote 2
            • 1 / 1
            • First post
              Last post