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 <[email protected]> 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 > >> <[email protected]> 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 -- ubuntu-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel
