How to change AutoPowerOff Enabled in OSX?

225

I haven't tried this because my 2010 MacbookPro doesn't list "AutoPowerOff" in the system report, but you should be able to turn off that feature by opening a terminal and running the following command.

sudo pmset -a autopoweroff 0

https://discussions.apple.com/thread/4622383?start=0&tstart=0

Share:
225

Related videos on Youtube

Daniel Aviv
Author by

Daniel Aviv

Updated on September 18, 2022

Comments

  • Daniel Aviv
    Daniel Aviv over 1 year

    I'm trying to make payload a required field only if T is defined:

    export interface Action<T = any> {
      readonly type: string;
      readonly payload?: T;
    }
    
    
    // payload is a required field
    const actionWithPayload: Action<string> = { action: 'action_name', payload: 'action payload'};
    
    // payload is an optional field
    const actionWithoutPayload: Action = { action: 'action_name' }
    
    
  • Luciano
    Luciano over 6 years
    I don't know why but my iMac started to auto power off too after installing High Sierra, nice finding here!