screensaver and power saving settings

The problem with the screensaver has something to do with the wireless keyboard and mouse. It is a microsoft comfort keyboard 1.0A moodel 1027. Can anyone suggest a fix for this?