try setting the system to hibernate when battery is low. Hibernate uses the same power as system-off, i.e. none. Suspend is save to ram which will croak when the power does fail.<br><br>To hibernate, you need swap = ram + used swap at the point of hibernate.<br>
<br><div class="gmail_quote">On Sat, Nov 5, 2011 at 6:48 PM, Ron Frazier <span dir="ltr"><<a href="mailto:atllinuxenthinfo@c3energy.com">atllinuxenthinfo@c3energy.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi all,<br>
<br>
I've verified experimentally that Ubuntu 10.04 will not let the machine<br>
hibernate if there is no swap space. This seems to confirm what I read<br>
elsewhere that the swap space is used for the hibernation data.<br>
(Windows uses a separate file.) I believe that you must have a swap<br>
space equal to and perhaps a bit larger than RAM in order to hibernate.<br>
I prefer not to use standby or suspend since, at least in terms of<br>
Windows in the past, that has been known to cause data corruption since<br>
the standby data is in RAM and could be lost if the battery is weak,<br>
etc. As I write this, I'm noticing that my laptop offers a suspend<br>
option in Linux and the desktop does not. In any case, if I don't want<br>
to do a full shutdown, I prefer to have all the system state data saved<br>
to the disk and all the power shut down.<br>
<br>
I'd be interested to know whether setting the power settings to shutdown<br>
or hibernate is better in case the UPS battery gets critically low after<br>
a power failure. In my case, the UPS only runs 3-4 minutes on the<br>
desktop, so I currently have that setting on shutdown. I figured the<br>
system can shut down faster than it can hibernate. If anyone knows, I'd<br>
also like to know how to set the shutdown time on the Gnome power<br>
manager. If, for example, the system shuts down when the UPS is at 10%<br>
after a power failure, this is bad for me since that amounts to about 18<br>
seconds of warning before the battery dies. I don't think even Linux<br>
can shut down that fast.<br>
<br>
Sincerely,<br>
<br>
Ron<br>
<br>
--<br>
<br>
(PS - If you email me and don't get a quick response, you might want to<br>
call on the phone. I get about 300 emails per day from alternate energy<br>
mailing lists and such. I don't always see new messages very quickly.)<br>
<br>
Ron Frazier<br>
<br>
<a href="tel:770-205-9422" value="+17702059422">770-205-9422</a> (O) Leave a message.<br>
linuxdude AT <a href="http://c3energy.com" target="_blank">c3energy.com</a><br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><br>As long as the general population is passive, apathetic, diverted to
consumerism or hatred of the vulnerable, then the powerful can do as
they please, and those who survive will be left to contemplate the
outcome.<br>- <i><i><i><i>2011 Noam Chomsky<br><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br></i></i></i></i><br>