[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Suspend then hibernate when idle



On Fri, 5 Jul 2013 16:36:04 +0300
Vlad Badelita <vladbadelita@gmail.com> wrote:

> Well, I figured it would mean waking up from sleep, then start hibernation.
> This is what I found:
> http://superuser.com/questions/298672/linuxhow-to-hibernate-after-a-period-of-sleep

Ah, I hadn't known about rtcwake. I don't know of a tutorial to do what
you want, but it doesn't seem that complicated. Basically, you
configure the machine to suspend, and set up a hook that sets a wakeup
time using rtcwake, and then another hook that calls a script on wakeup
to hibernate the machine. It would be nice, I suppose, if there was a
standard, documented way of doing this.

> On Fri, Jul 5, 2013 at 4:29 PM, Celejar <celejar@gmail.com> wrote:
> 
> > On Fri, 5 Jul 2013 15:06:15 +0300
> > Vlad Badelita <vladbadelita@gmail.com> wrote:
> >
> > > I prefer to have my computer suspend after some specified time of no
> > > activity, say 20 minutes, and then after about 2 more hours or so
> > hibernate
> > > to save power. Also, when specific applications are running(like torrent
> >
> > Not sure this is possible - when the machine is suspended (by which I
> > assume you mean to ram), nothing is running, so I'm not sure that
> > hibernation (by which I assume you mean to disk) is possible.
> >
> > > clients) you should be able to prevent it. I found some solutions I could
> > > use to obtain this behaviour but implementing them was way over my head.
> > It
> > > would be nice to have this easily available, such as writing a wiki page
> > > for this or even a package. Thank you!
> > >
> > > Please cc  me as I'm not on the mailing list.
> >
> > Celejar
> >


Celejar


Reply to: