Shall we hide the GUI for Hibernate in Natty?
Kees Cook
kees at ubuntu.com
Mon Jan 31 21:58:15 UTC 2011
Hi,
On Mon, Jan 31, 2011 at 04:41:03PM -0500, Mackenzie Morgan wrote:
> On Mon, Jan 31, 2011 at 4:34 PM, Kees Cook <kees at ubuntu.com> wrote:
> > On Mon, Jan 31, 2011 at 04:24:11PM -0500, Mackenzie Morgan wrote:
> >> On Mon, Jan 31, 2011 at 3:00 PM, Marc Deslauriers
> >> <marc.deslauriers at canonical.com> wrote:
> >> > I haven't actually tried this in a long time, but what happens with
> >> > current Ubuntu when the battery drains out while suspended?
> >>
> >> It turns off.
> >>
> >> > Does the
> >> > laptop wake up and enter hibernation to prevent data loss?
> >>
> >> No, but the disk does sync before suspend, so corruption isn't a
> >> worry, just... "oops I didn't save before suspending."
> >
> > My newer laptop supports "hybrid" mode, and it will come out of suspend and
> > then hibernate when the battery is critically low after being suspended for
> > a long time. Extremely handy.
>
> I know some hardware has BIOS support for that, but I thought the OS
> needed to understand it too and that Ubuntu was in "not yet" state on
> that. Is this new?
I'm not sure; I just know that I suspended my laptop and when I came
back a week later the battery was dead. I plugged it in, booted, and it
prompted for the disk password, and then unhibernated. Magic! I haven't
actually investigated its mechanisms. I assumed that it would just
unsuspend, and then g-p-m would freak out over the state of the battery and
do a hibernate.
-Kees
--
Kees Cook
Ubuntu Security Team
More information about the ubuntu-devel
mailing list