Results 1 to 10 of 10
  1. #1
    How to make Mac sleep at low battery?
    I'd like to know if there's a way to make my computer automatically sleep at low battery, maybe 5%. I know about the option to make a mac sleep after a certain period of inactivity. This is not what I'm looking for. My power connection sometimes becomes unplugged pretty much randomly, so I'd like my computer to turn off rather than run down the battery completely. Thanks.

    I'm running macOS Sierra 10.12.6 on a MacBook Pro (Retina, 13-inch, Early 2015).

  2. #2
    How to make Mac sleep at low battery?
    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    13,106
    Rep Power
    20
    You need this person's problem if you could duplicate it:
    MacBook turns off when charger is disconnected
    SOLVED: MacBook turns off when charger is disconnected - MacBook Pro 13" Unibody Mid 2012 - iFixit

    But the first thing that comes to my mind is wondering if Automator and/or if an AppleScript would work???



    - Patrick
    ======

  3. #3
    How to make Mac sleep at low battery?
    chscag's Avatar
    Member Since
    Jan 23, 2008
    Location
    Keller, Texas
    Posts
    60,266
    Your Mac's Specs
    2017 27" iMac, 10.5" iPad Pro, iPhone 7+, iPhone 8, Numerous iPods, Catalina
    Rep Power
    56
    My power connection sometimes becomes unplugged pretty much randomly, so I'd like my computer to turn off rather than run down the battery completely.
    Have you thought about buying an UPS? Not normally needed for a notebook computer that already has a battery, but in your situation it might actually be a better solution than relying on software.

  4. #4
    How to make Mac sleep at low battery?
    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, U.S.A.
    Posts
    7,691
    Your Mac's Specs
    L2014 Mac mini macOS 15, iPhone 11 iOS 13, 1st Gen 12.9" iPad Pro iPadOS 13
    Rep Power
    15
    Quote Originally Posted by chscag View Post
    Have you thought about buying an UPS? Not normally needed for a notebook computer that already has a battery, but in your situation it might actually be a better solution than relying on software.
    How would the UPS know the device has been disconnected, and be able to put the disconnected device to sleep?

    @CharType, what settings do you have enabled in System Preferences > Power Settings?
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

  5. #5
    How to make Mac sleep at low battery?
    chscag's Avatar
    Member Since
    Jan 23, 2008
    Location
    Keller, Texas
    Posts
    60,266
    Your Mac's Specs
    2017 27" iMac, 10.5" iPad Pro, iPhone 7+, iPhone 8, Numerous iPods, Catalina
    Rep Power
    56
    An UPS would keep his power steady which would result in not having to put his MacBook Pro to sleep at all. Besides all that, he stated that when the battery goes down to 5% he would like the machine to sleep. That's a very low discharge percentage and not good for the battery which will cause unnecessary wear.

  6. #6
    How to make Mac sleep at low battery?
    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, U.S.A.
    Posts
    7,691
    Your Mac's Specs
    L2014 Mac mini macOS 15, iPhone 11 iOS 13, 1st Gen 12.9" iPad Pro iPadOS 13
    Rep Power
    15
    I understand that, but once the device is disconnected, is when it has no control over the battery or charging. The OP needs to pay closer attention to the power adapter.
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

  7. #7
    How to make Mac sleep at low battery?
    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    13,106
    Rep Power
    20
    The OP needs to pay closer attention to the power adapter.

    Or maybe tape the power connector to the MacBook so it doesn't become unplugged in the first place!!!




    - Patrick
    ======

  8. #8
    Quote Originally Posted by ferrarr View Post
    @CharType, what settings do you have enabled in System Preferences > Power Settings?
    There's no "Power Settings", but if you mean "Energy Saver" then here's what I have.

    Turn display off after: Never
    Battery:
    [] Put hard disks to sleep when possible
    [v/] Slightly dim the display on battery power
    [v/] Enable Power Nap while on battery power
    Power Adapter:
    [v/] Prevent computer from sleeping automatically when the display is off
    [v/] Put hard disks to sleep when possible
    [v/] Wake for network access
    [v/] Enable Power Nap while plugged into a power adapter

    Quote Originally Posted by pm-r View Post
    You need this person's problem if you could duplicate it:
    MacBook turns off when charger is disconnected
    SOLVED: MacBook turns off when charger is disconnected - MacBook Pro 13" Unibody Mid 2012 - iFixit

    But the first thing that comes to my mind is wondering if Automator and/or if an AppleScript would work???



    - Patrick
    ======
    I can't find a way to make either Automator or an AppleScript run automatically when the power gets low.



    Also I don't think I can tape down the connection effectively. Otherwise that might work.

  9. #9
    How to make Mac sleep at low battery?
    ferrarr's Avatar
    Member Since
    May 21, 2012
    Location
    Pawtucket, RI, U.S.A.
    Posts
    7,691
    Your Mac's Specs
    L2014 Mac mini macOS 15, iPhone 11 iOS 13, 1st Gen 12.9" iPad Pro iPadOS 13
    Rep Power
    15
    Yes, I meant Energy Saver. You will have to pay attention for when the display dims, as this will tell you when the power adapter becomes disconnected from the laptop.

    Edit: The screen will also dim if the power adapter becomes disconnected from the wall outlet.
    Last edited by ferrarr; 03-28-2020 at 09:05 AM. Reason: added info
    -- Bob --
    Please backup. Everything has a life cycle, unexpected and warning free. Nothing will last as long as you want it to.

  10. #10
    How to make Mac sleep at low battery?
    pm-r's Avatar
    Member Since
    Oct 16, 2010
    Location
    Brentwood Bay, BC, Canada
    Posts
    13,106
    Rep Power
    20
    It looks like there are several third-party apps that would be able to do what you want from what I read and understood

    Have a look here:
    Low Battery Alert for Mac OS X El Capitan
    Low Battery Alert for Mac OS X El Capitan - Ask Different

    And maybe even this:
    How to get low/full battery alerts on macOS


    Good luck and I hope at least one of them works for you to do what you want to do.




    - Patrick
    ======

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 12-02-2012, 02:55 PM
  2. is there a way to make it sleep and never go hibernating
    By romerun in forum Apple Notebooks
    Replies: 0
    Last Post: 11-27-2012, 05:05 AM
  3. Make iMac Automatically go into sleep at startup ?
    By MancmacUK in forum macOS - Apps and Games
    Replies: 2
    Last Post: 06-13-2011, 08:17 AM
  4. How to make the mac sleep during DVD play?
    By travisw in forum macOS - Apps and Games
    Replies: 1
    Last Post: 12-10-2007, 03:08 PM
  5. Make the laptop not sleep when closed
    By SunnyDelight227 in forum Switcher Hangout
    Replies: 6
    Last Post: 06-20-2007, 03:33 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •