Opera's download manager lacks interaction with the operating
systems (here: Windows) power management:
- Opera should receive (and react to) notification messages
(WM_POWERBROADCAST [0], WM_POWER [1], WM_QUERYENDSESSION [2],
WM_ENDSESSION [3], ...) sent to applications
- when/before Windows wants to switch into
- standby/sleep (ACPI S3),
- suspend/hibernation (ACPI S4) or
- poweroff/shutdown (ACPI S5)
- after return from
- standy/sleep,
- suspend/hibernation or
- poweroff/shutdown.
- if downloads are running Opera should
EITHER decline switching into
- standby/sleep,
- suspend/hibernation or
- poweroff/shutdown,
OR properly suspend running downloads before switching into
- standby/sleep,
- suspend/hibernation or
- poweroff/shutdown
AND properly resume them after return from
- standby/sleep,
- suspend/hibernation or
- poweroff/shutdown.
The actual behaviour should be controllable through a user setting.
<http://msdn.microsoft.com/en-us/library/aa373167.aspx>
[0] <http://msdn.microsoft.com/en-us/library/aa373247.aspx> (OBSOLETE)
[1] <http://msdn.microsoft.com/en-us/library/aa373245.aspx>
[2] <http://msdn.microsoft.com/en-us/library/aa376890.aspx>
[3] <http://msdn.microsoft.com/en-us/library/aa376889.aspx>
<http://msdn.microsoft.com/en-us/library/aa373651.aspx>
<http://msdn.microsoft.com/en-us/library/aa376881.aspx>
Stefan