Detecting Hybernation

tv

It was just a thought, actually, for instance thinking about tkchat, when a notebook or 'normal' machine is put into hibernation mode (low power (ram is maintained), or sleep mode (all ram swapped to disc)), there is a 'gap' in activeness of the program, which is important for everything with timing in it or connected to the outside world or other programs.

When tkchat is hibernated, the whole history needs to be reread, which could be a part and done automatically when the machine comes out of hibernation.

Detection could be done by a (slow) after chain, which checks for clock ticks continuity.

CLN It might be nice to have this generate a <<Hibernate>> event that you could react to.


Category Device Control