• randomString@lemmy.one
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    I use a hammerspoon script. But really all these types of tools are modifying the power management using system apis… you can do this yourself using the pmset command

    • Jimmycrackcrack
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      just don’t forget the restoredefaults command. By the way, can I hijack this thread? I tried to use pmset to stop an external LaCie drive I had from going to sleep when there wasn’t any activity for a few minutes. There’s a checkbox for this in System Settings but it didn’t work so I used pmset to set the time before it sleeps to 0 which is supposed to make it never sleep but there was no change in behaviour at all. Nothing will stop the damn drive from going to sleep which is infuriating in After Effects when I spend a long time working on one layer that’s loaded in to RAM and then I move the playhead and have to wait for the disks in the external drive to spin up before I can do anything. Any idea how to make it stop doing this.