[Cyberduck-trac] [Cyberduck] #7005: Prevent Mac going to sleep

Cyberduck trac at trac.cyberduck.ch
Mon Dec 17 07:25:54 CET 2012


#7005: Prevent Mac going to sleep
-----------------------------+-------------------------------
    Reporter:  Trailsuender  |      Owner:
        Type:  enhancement   |     Status:  new
    Priority:  high          |  Milestone:
   Component:  core          |    Version:  4.2.1
    Severity:  major         |   Keywords:  sleep, prevention
Architecture:  Intel         |   Platform:  Mac OS X 10.8
-----------------------------+-------------------------------
 For example iTunes prevents Mac going to sleep mode. Please add this
 important enhancement also to Cyberduck. Otherwise it's always necessary
 to put sleep mode from e.g. 15 minutes to never when doing large
 unattended uploads.

 There must be a default OSX function for this, this is what happens when
 iTunes does something, easily identified by PID delivered by pmset, after
 iTunes finished it's work, prevention will go off:


 {{{
 iMac27RR:~ roland$ pmset -g
 Active Profiles:
 AC Power                -1*
 Currently in use:
  hibernatemode        0
  halfdim              1
  womp                 1
  networkoversleep     0
  sleep                15 (sleep prevented by 562)
  powerbutton          1
  ttyskeepawake        1
  hibernatefile        /var/vm/sleepimage
  autorestart          0
  disksleep            10
  displaysleep         5
 iMac27RR:~ roland$ ps -p 562
   PID TTY           TIME CMD
   562 ??         1:24.57 /Applications/iTunes.app/Contents/MacOS/iTunes
 -psn_0_434282
 }}}

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/7005>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list