7 Replies Latest reply: Oct 1, 2013 5:53 PM by markntosh
markntosh Level 1 Level 1 (0 points)

A search here has shown this topic come up before -- such as at https://discussions.apple.com/message/1886738#1886738 and https://discussions.apple.com/message/8162836#8162836 -- but I can't find a resolution, so I'm bringing it up again.

 

I have multiple FW drives connected to my MacBook Pro. The MBP is connected to an APC Back-UPS RS 1200. OSX does not make the UPS Energy Saver autoshutdown preferences available on the MBP, the reasoning being that a laptop shouldn't need UPS autoshutdown because it has its own battery which is likely to run for far longer than the UPS would.

 

That's all well and good for the MBP itself, but it doesn't account for the multiple FW drives which are attached to it for backups and other purposes. In the event of a power outage, without UPS autoshutdown, the UPS will run down, and the drives will abruptly power off, exposing them to potential data loss and damage.

 

It's also not a solution to suggest that I manually power things down once there's a power outage, because the power can go out while I'm away for more than the few minutes of UPS battery back up time. The only real solution is to have UPS autoshutdown available on all portable machines. Unless and until Apple offers a (surely very simple) OS update to make that happen, I'm still interested in a solution.

 

APC's own software for autoshutdown stopped being updated long ago, so there is no version compatible with Snow Leopard.

 

The only potential solution I've found so far is http://www.apcupsd.org/ -- but its documentation is overwhelming and it appears that it may need other supporting software, a fair amount of Terminal usage, etc., all making it not very user-friendly for the very simple usage I'd want to make of it.

 

Does anyone know of any other solutions, software that can run on a MBP to add UPS autoshutdown functionality?

 

Re: Apcups, is anyone using it successfully on a MBP? If so, does anyone know if the version listed here -- http://mac.softpedia.com/get/System-Utilities/Apcupsd.shtml -- is a simple application that I can easily install and configure like regular Mac apps? If yes, then I'll likely be very happy with no need for the following question. If no, can anyone provide simple instructions to set up Apcupsd to do what I want?


MacBook Pro (17-inch), Mac OS X (10.6.8)
  • 1. Re: UPS Energy Saver on MacBook Pro for External Drives
    Kappy Level 10 Level 10 (226,765 points)

    If I remember correctly if the computer is running on battery power then all the external ports are turned off - USB and Firewire. So that would seem to preclude a need for an external UPS.

     

    As for the autoshutdown concern you could write an AppleScript to handle that or use a third-party utility that will perform a shutdown when an event occurs.

  • 2. Re: UPS Energy Saver on MacBook Pro for External Drives
    Shootist007 Level 6 Level 6 (16,640 points)

    If for some reason the normal power goes out and you are not anywhere near the computer it really doesn't matter if the external drives use up the UPS power and shut down. You are not doing anything on the computer so no files should be writing to the drives.

    If you are using the computer when the power goes out just eject the drives and turn them off before the UPS power runs down.

  • 3. Re: UPS Energy Saver on MacBook Pro for External Drives
    eww Level 9 Level 9 (52,975 points)

    "You are not doing anything on the computer so no files should be writing to the drives."

     

    Big assumption there. With today's notebooks so capable of acting as desktop substitutes, they are often left running unattended to complete demanding tasks overnight or while the user does other things.

     

    To be able to suspend such activities and gracefully power down an external drive or drives in the event of a power outage, the Mac would have to have instructions from each third-party application or process that is running about how to interrupt its activity safely and without jeopardizing the integrity of whatever hard disk directories are in use. Then it would need to unmount the drive(s) and, if they were bus-powered drives, turn off the power to each of them at the port to which it was connected. I bet it would be possible for all app developers to write such instructions into their apps' code, but where's the incentive for them to do so? This isn't a feature that most users would gladly pay extra for, I suspect, and the cost of adding it to apps that don't have it now and testing it for reliability and proper function under all conceivable circumstances would not be trivial.

     

    If the drive(s) were AC-powered, the computer wouldn't be able to power them down itself -- the UPS would have to do that, or simply leave them on and power them until its battery was depleted or the AC was restored. It wouldn't matter which happened as far as the drives and their contents were concerned, because once the computer stopped using them, powering them off would be safe at any time.

  • 4. Re: UPS Energy Saver on MacBook Pro for External Drives
    markntosh Level 1 Level 1 (0 points)

    Eww's comment affirms the need for autoshutdown.

     

    I don't know how to write AppleScripts and can't invest the learning curve for this one situation.

     

    My original post says that I'm looking for a third-party utility and that the only one I could find I already mentioned as having overwhelmingly complicated documentation.

  • 5. Re: UPS Energy Saver on MacBook Pro for External Drives
    markntosh Level 1 Level 1 (0 points)

    Bump?

  • 6. Re: UPS Energy Saver on MacBook Pro for External Drives
    Arpamac Level 1 Level 1 (0 points)

    Jettison is a utility that unmounts drives before the laptop sleeps. As of this writing, it's $1.99 from the Mac App Store. I have no connection whatsoever with the developer/seller.

  • 7. Re: UPS Energy Saver on MacBook Pro for External Drives
    markntosh Level 1 Level 1 (0 points)

    Thanks for attending to this thread, but I don't think that will work here. I was looking for a third-party utility that would mimic the UPS auto-shutdown capabilities that Apple only enables on non-portable Macs that don't have their own batteries. Jettison would not provide that functionality. Without it, in a power outage, my UPS will run out of juice and shut down the mounted drives long before the notebook's battery runs down and causes the notebook to fall asleep.

     

    Unless the idea is, in the absence of a "real" solution to accomplish what I'm looking for, that I would use Jettison and set my energy settings so that, when on UPS power, the Mac will go to sleep after a very short amount of time, so that Jettiso would kick in and unmount the drives before the UPS runs out of power? That would protect the drives, but it might require a too-short sleep window that could prevent the Mac from doing other things necessary in the face of the UPS usage, and it would leave the computer on for hours draining its own battery. Maybe it's the best that can be done for now, though?

     

    The real solution would be for Apple to just enable that functionality on portable computers. It seems to me really absurd that they won't do it. The code is already in the OS. They simply should not make the assumption that it would useless to let people use it simply because their computers already have batteries.

     

    In the absence of that, the other real solution would be third-party software that would mimic the Apple built-in UPS energy settings and be easy to install and run.