path: root/pm/sleep.d/00powersave
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05Add support for ext4 filesystems in journal_commit.Victor Lowther1-1/+1
Also force pm-utils to disable powersaving features across a suspend/resume.
2010-06-05Add help and configurability to most of the powersave hooks.Victor Lowther1-1/+1
2008-07-05Make some changes to core functionality to support pm-powersaveVictor Lowther1-0/+13
This consists of core features extracted from the powersave-hooks branch, and does the following: * Refactor some settings in pm-functions to make it easier to support seperate settings for pm-action and pm-powersave. Other than sharing a mechanism for running hooks and being able to use certian utility functions, they do not have much in common w.r.t settings and lifecycle rules for those settings. * Move take_suspend_lock from pm-functions to pm-action. pm-powersave uses a simpler scheme, and there is not enough code sharing to justify having it in pm-functions. * Add a bit of code to pm-functions to figure out what chassis type we are running on. * Add a 00powersave hook that turns powersaving off across a suspend/resume. Things like laptop-mode in particular have been known to cause issues in some situations. * Make pm-powersave log to a real logfile and try to guess at the appropriate powersave mode if called with no arguments.