A method, computer program product, and a data processing system for
activating a screensaver in a data processing system is provided. A
timeout value that defines an idle interval after which a screensaver is
to be activated is set. An analysis of contents of a video memory is
performed. The timeout value is adjusted responsive to the analysis.