Cyberduck Mountain Duck CLI

#7005 closed enhancement (duplicate)

Prevent Mac going to sleep

Reported by: Trailsuender Owned by:
Priority: high Milestone:
Component: core Version: 4.2.1
Severity: major Keywords: sleep, prevention
Cc: Architecture: Intel
Platform: Mac OS X 10.8

Description

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

Change History (1)

comment:1 Changed on Dec 17, 2012 at 4:11:45 PM by dkocher

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate for #6479.

Note: See TracTickets for help on using tickets.