Hi Richard, this reply comes a "bit" late. I was on vacation back then and given the environment could not experiment that much with computers (which, I'll admit, has it's benefits, too ;-). On Fri, 30 May 2014, Richard Brown wrote:
GNOME relies heavily on upower, and I suspect the problem lies either between upower, or in gnome-settings-daemons interpretation/logic/implementation of what information it's receiving from upower. : If you're willing to go for a 'shot in the dark', you might have luck adding the following repository and running zypper dup (of course, I'd recommend backups/snapshots, etc, just in case it doesn't work)
http://download.opensuse.org/repositories/GNOME:/STABLE:/3.12/openSUSE_13.1/
I am running this now and am pleased about the improvements I am seeing. Nothing revolutionary, but network management for wired connections seems improved, some visual improvements (somewhat approaching Android in terms of messages boxes, interestingly), a detail here, a detail there. However, I have not been able to run down batteries with two batteries installed to see whether upower/GNOME now cooperate more nicely, but may get a chance next week.
Is there a reason the system can't hibernate? the default behavior for critical battery power shortage is hibernate, which, while imperfect especially in your case, should at least result in work being maintained.
Firefox consumes so much (virtual) memory that my 2GB swap partition that I've had for a couple of years is not sufficient any more, now that my notebook features 8GB of RAM. With the right swap/suspend strategy that should be easily sufficient (I do not have > 2GB of dirty pages), but that's not a GNOME problem.
gsettings set org.gnome.settings-daemon.plugins.power critical-battery-action 'nothing'
This appears to set things the way you want in dconf-editor - unfortunately my laptop has too long a battery life for me to confirm it works for some hours yet :)
Lovely. That worked like a charm. I have been able to test that back then, and it saved my running system more than once. Thank you so much! Noooow, a curious question: If, after the change above, I run gsettings get org.gnome.settings-daemon.plugins.power critical-battery-action that shows 'nothing' as expected. In the graphical settings, the Power module shows "When battery power is critical" "Power off", however. Bug or "feature"? Gerald -- To unsubscribe, e-mail: opensuse-gnome+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-gnome+owner@opensuse.org