VirtualBox

Opened 12 years ago

Last modified 10 years ago

#9925 closed defect

Session auto-save on low battery => Fixed in SVN — at Version 6

Reported by: wsourdeau Owned by:
Component: other Version: VirtualBox 4.1.6
Keywords: Cc:
Guest type: other Host type: other

Description (last modified by Frank Mehnert)

On OSX, after the OS notifies applications that the battery power is low (around 10mins left), the VM sessions are automatically saved and shutdown. There does not seem to be a configuration option regarding that feature. Although I can see how this feature can be useful, I find its automatic behaviour intrusive, since there is no way for the active user to prevent that operation from happening, thereby losing control of its sessions, no matter what work (s)he is currently doing.

I think this should be configurable, by vm or for virtualbox in its entirety, in order to either not perform those shutdowns or either ask the user whether it should occur or not.

Change History (6)

comment:1 by Maxim Dounin, 12 years ago

Same here. Very annoying, VirtualBox just silently disappears even before the host OS itself shows "low battery" alert. I really want it to go to sleep with the host OS, not to close my VMs.

comment:2 by dneri, 12 years ago

Same. I hope is fixed ASAP

comment:3 by dvkch, 11 years ago

Same problem here, this behavior can be useful but can also lead to big data corruption which just happened to me: hard drive plugged on USB to the VM, moved a big file from one partition to another, VM stopped right before I plugged the charger in, 400GB lost. It's not important data, but a switch to activate or not the feature would be very appreciated !

comment:4 by dneri, 11 years ago

This problem is also in the version 4.2.14. When the battery is at 4% the state of the host will save immediately.

comment:5 by sirkkalap2, 10 years ago

This issue affects me too. The operation is unexpected, undocumented and works against my use cases. I would like this feature to be removed or made optional.

To add to the pain I loose port-forwards on suspend, because Cisco Any Connect VPN interferes with resuming from suspend-state and kills the connections. So I will always have to reboot all virtual-machines after they have been suspended.

comment:6 by Frank Mehnert, 10 years ago

Description: modified (diff)
Summary: session auto-save on low batterySession auto-save on low battery => Fixed in SVN

Thanks for this suggestion, it will be implemented in the next 4.2.x and 4.3.x maintenance releases. Here is a 4.3.7 test build which contains the code for configuring the behavior on battery-low as well as the corresponding documentation, see chapter 9.25 in the included user manual.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use