Revision 624606

Go back to digest for 21st January 2007

Features in KDE Base

Sebastian Kügler committed changes in /trunk/playground/base/guidance:

Add resetIdleSeconds() to the xf86misc module and implement it for powermanager.

This function is needed to simulate activity events.
When the machine suspends after being a number of seconds idle, it would not reset this idle time post resume. The next time, the idle time is checked, it's higher than the configured value again, and the machine goes to sleep immediately again.

The following events now reset the idle time:
- unplugging the AC adapter
- plugging in the AC adapter
- waking up from suspend
- waking up from hibernate

File Changes

Modified 3 files
  • /trunk/playground/base/guidance
  •   /modules/xf86misc.py
  •   /powermanager/guidance-power-manager.py
  •   /powermanager/powermanage.py
3 files changed in total