Why hibernate critical? (1 Viewer)

dero

Retired Team Member
  • Premium Supporter
  • January 16, 2007
    75
    1
    Home Country
    Germany Germany
    Hi guys,

    I'm not getting PBT_APMQUERYSUSPEND when hibernate is issued using MediaPortal.

    I looked up the latest SVN source code and saw that MediaProtal sets the force-flag to true thus immediately bringing Windows to hibernation (without asking applications using PBT_APMQUERYSUSPEND) when the command was issued using the RC.

    See InputHandler.cs below case "POWER": // power down commands
    At other places, MP does not use force, i.e. GUI button click.


    Why do you use "force"?

    Regards

    dero
     

    dero

    Retired Team Member
  • Premium Supporter
  • January 16, 2007
    75
    1
    Home Country
    Germany Germany
    Still no answer?

    Is it really necessary to hibernate with force?

    Regards

    dero
     

    gxtracker

    Retired Team Member
  • Premium Supporter
  • July 25, 2005
    316
    2
    Home Country
    Canada Canada
    I believe hibernation is forced so that MP can standy the system even if there are other applications running that might prevent hibernation from occuring. utorrent is an example of this. if you have torrents running in the background, there is an option in the options menu to prevent standy/hibernation until the downloads are completed.
     

    dero

    Retired Team Member
  • Premium Supporter
  • January 16, 2007
    75
    1
    Home Country
    Germany Germany
    Hm, I don't know. We have 4 choices:

    1. Leave as it is. Not good.
    2. Disable force. Changing things is always a risk.
    3. Provide an option to enable/disable force.
    4. Try without force. If after 1 minute no luck, try again with force. I'd prefer this.

    Regards,

    dero
     

    Users who are viewing this thread

    Top Bottom