summaryrefslogtreecommitdiff
path: root/src/pm-powersave.in
AgeCommit message (Collapse)AuthorFilesLines
2010-06-05Add help functionality to pm-powersaveVictor Lowther1-20/+37
2010-03-20Load hook blacklist for power.d hooksChase Douglas1-0/+2
Signed-off-by: Chase Douglas <chase.douglas@canonical.com> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2008-07-05Make some changes to core functionality to support pm-powersaveVictor Lowther1-4/+23
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.
2008-03-05Split functions.in into functions.in and pm-functions.inVictor Lowther1-2/+1
pm-functions.in contains the functionality that should only be used by the pm-utils frontends (pm-action, pm-is-supported, and pm-powersave). functions.in contains code that is shared between the hooks and the pm-utils frontends. The reason behind splitting this out is to reduce namespace pollution in the hooks.
2008-02-16Consistently use tabs for indentation.Michael Biebl1-4/+4
2008-02-09No need for extra x's in comparisons in pm-powersave.inVictor Lowther1-1/+1
2008-02-04Removed executable bits on the *.in files to emphasize theirVictor Lowther1-0/+0
non-executability. Added an executable bit on src/pm-is-supported becaues it is.
2008-02-02Add cleanfiles in Makefile.am, and actually export PM_FUNCTIONS in pm-powersaveVictor Lowther1-1/+1
2008-02-02Use autotools to make pm-action and pm-powersave location independent.Victor Lowther1-1/+1
2008-02-02Renamed pm-powersave in preperation for making it location-independent.Victor Lowther1-0/+37