Comment 12 for bug 289322

This is fixed, and has been for some time. For dimming the screen, it uses purely IDLETIME (which comes from the X server and resets on mouse/keyboard events). For blanking the screen, it uses an internal timer which starts when the screen dims, and will blank the screen after a period elapses without any keyboard or mouse movements.

For suspend, an internal timer is registered only when there is no keyboard or mouse movements AND the session is idle AND there are no suspend inhibits. When this timer expires, the machine will suspend if the CPU is not busy