aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/powerd/powerd.c
Commit message (Expand)AuthorAgeFilesLines
* Directly set the NONBLOCK flags when creating the socketBaptiste Daroussin2016-05-101-8/+1
* Add comment explaining existing powerd behavior on SMP systems.Alexander Motin2015-03-201-0/+6
* In acline_init(), initialize ac_line to SRC_UNKNOWN. PreviouslyChristian Brueffer2014-02-111-0/+1
* Whitespace fixes: remove tabs on blank links, spaces following content,Warren Block2013-07-041-8/+8
* Improve error reporting when no cpufreq(4) support is available.Robert Millan2012-04-091-1/+2
* Add missing static keyword.Ed Schouten2011-12-111-1/+1
* Add -m and -M options to control the minimum and maximum frequency.Rebecca Cran2010-08-171-8/+82
* Freq sysctls are quite heavy due to set of malloc()/free() calls. AvoidAlexander Motin2010-06-161-9/+21
* Since APM is a legacy technology, that won't be adapted to otherWarner Losh2010-02-041-0/+4
* ANSIfy almost all applications that use WARNS=6.Ed Schouten2009-12-291-1/+1
* Teach powerd how to query the PMU AC line state on PowerPC.Nathan Whitehorn2009-05-311-10/+18
* Restore original frequency on exit.Alexander Motin2008-11-181-2/+4
* Set of powerd enchancements:Alexander Motin2008-11-181-79/+143
* Add an abbreviation for adaptive mode, and document all the abreviations.David E. O'Brien2008-06-221-1/+1
* getopt(3) returns -1, not EOF.Kevin Lo2008-02-181-1/+1
* Failing to set new frequency should not lead to powerd exiting.Dmitry Morozovsky2007-06-131-1/+1
* Back out revs 1.18 and 1.19; they were based on incorrect assumptions.Dag-Erling Smørgrav2006-02-191-4/+0
* Look for cpu/ichss instead of cpu/p4tcc, which is i386/amd64-only.Dag-Erling Smørgrav2006-02-181-1/+1
* Load cpufreq at startup if it isn't there already.Dag-Erling Smørgrav2006-02-181-0/+4
* Don't use threads when there's no real reason to.Dag-Erling Smørgrav2006-01-031-157/+138
* Create the devd thread after we have called daemon(). Otherwise, it wouldNate Lawson2005-10-241-3/+3
* Whitespace fix.Nate Lawson2005-10-231-1/+1
* Set the signal handlers before creating the thread. This is so it inheritsNate Lawson2005-10-201-4/+15
* Use a pipe for reading devd events as another method of getting the AC lineNate Lawson2005-10-191-28/+178
* Accept "maximum" and "minimum" modes as well as their abbreviations.Dag-Erling Smørgrav2005-09-261-2/+2
* Test last minute changes, as gcc isn't too smart.Pawel Jakub Dawidek2005-08-241-1/+1
* Add '-P' option which allows to specify pidfile.Pawel Jakub Dawidek2005-08-241-7/+28
* Change the default adaptive algorithm for phk's one. Thanks to phkBruno Ducrot2005-08-241-11/+13
* powerd(8) requires root permissions to run so notify the user if theyNate Lawson2005-07-251-0/+4
* Ignore EPERM from sysctl(3). It is returned when passive coolingHajimu UMEMOTO2005-07-181-2/+5
* Drop the default running value to 60% from 80%. Testing shows that weNate Lawson2005-04-101-2/+2
* Add support for recording the total energy used (in joules) when inNate Lawson2005-04-101-6/+47
* Move the AC line checking code into its own function, reducing theNate Lawson2005-02-271-40/+55
* Unbreak !i386 platforms. Only i386 has APM, so don't try to fallbackMarcel Moolenaar2005-02-271-1/+11
* Change the default levels for adaptive mode to 80% and 90%. On a systemNate Lawson2005-02-261-2/+2
* Import powerd(8), a utility for managing power consumption. Currently, itNate Lawson2005-02-261-0/+390