Advanced

Automatically Resume from Suspend to Ram and Suspend to Disk to Save Battery in Linux

Posted by D on · 13 comments
Linux-Tipps Blog; By D
Mail this story
Print this story

Suspending to RAM is allows the system to quickly wake up. But Suspend to Disk allows the system to completely power off, saving more power. That's why I've written a small script for modern Linux systems, which wakes up the system from S3 (memory sleep) and puts it into S5 (hibernation) mode. Also, it prevents you from losing data, because eventually your system's battery will run out. This script helps.

Full Story

  Nav
» Read more about: Story Type: Tutorial; Groups: Debian, Ubuntu

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments (13)

Nothing to see yeti

It's a missing link.
Quoting:Nothing to see yeti


What??!!! You have sighted a Yeti and you have not phoned the National Inquirer?

Think of the cash we can get.

Send me the photo and we will split the take, Ok? I am good on the phone telling wild tales.

No photo?

Not Your Best Buddy Txt.
Think Reddit'll pick that up as a pixmeme -- Nothing To See Yeti?
TxtEdMacs is the missing link.
The link to the article is good. I miss something?
Quoting:The link to the article is good. I miss something?


It is now. When I posted, it wasn't, hence the post.
Quoting:It is now. When I posted, it wasn't, hence the post.


Same here. I would not have gone to the trouble of searching for and supplying the story link if it was alread there.

I hate it when a discussion thread is needlessly diverted to a nonessential, unrelated topics!

Keep focus people. it's the Yeti, Bigfoot, Sasquatch that could be our lottery ticket to the Good Life. Why, why are you so easily diverted?

YBT
Quoting:Why, why are you so easily diverted?


"Rumour has it that a yeti can take possession of your mind." --Hercules Grytpype-Thynne
I was disappointed when The Great Intelligence was brought back for three episodes of Doctor Who this season but they Yeti were not. What good is The Great Intelligence without his robotic yeti?

Hybrid Suspend

Why not just use the "pm-suspend-hybrid" command?

Suspend and hibernation can be combined: the contents of RAM are first copied to disk as with regular hibernation, but then, instead of powering down, the computer suspends. This approach combines the benefits of suspend and hibernation. The machine can resume instantaneously, but it can also be powered down completely (e.g. due to loss of power) without loss of data, because it is already effectively in a state of hibernation. This mode is called "hybrid suspend."

And here's a tutorial on how to set hybrid suspend as default suspend mode: http://daniel.hahler.de/use-hybrid-suspend-method-by-default
@AwesomeTux

Cool link! And a very useful one!

Thanks!

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post