summaryrefslogtreecommitdiffstats
path: root/usr.sbin/apmd (follow)
Commit message (Expand)AuthorAgeFilesLines
* Block autoaction after it kicks in, until 60 seconds after resumejca2020-03-132-11/+29
* Further unify apm events and timeout polling codejca2020-02-181-59/+46
* Reorder to handle apm events and timeouts with the same codejca2020-02-121-43/+47
* On APM_POWER_CHANGE events check battery life against autoaction leveljca2020-02-121-3/+16
* Zap apmtimeout, the way it's used isn't meaningful any morejca2020-02-121-9/+3
* With -d, messages are now printed on stderrjca2020-01-251-3/+3
* Write debug messages to stderr instead of stdoutjca2019-11-021-3/+3
* Zap remnants from "cpu throttling on mp systems" introduced in rev 1.46jca2019-11-021-11/+1
* When battery state switches to critical, apmd(8) generates anbluhm2019-09-251-4/+7
* Fix another %m occurencekn2019-07-251-2/+2
* Fix format specifier in execl(3) error messagekn2019-07-241-2/+2
* Zap useless globalskn2019-07-221-6/+3
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-8/+9
* enable the apm(4) programs on arm64phessler2019-01-231-5/+5
* redo the debug logging to be more like everything else.tedu2018-12-042-35/+48
* Use strtonum(3) for -t seconds, improve errors on invalid number inputkn2018-12-011-6/+7
* log current power status going into and out of suspend, since it may betedu2018-11-301-4/+15
* Kill unused definesjca2017-10-151-4/+1
* zap trailing whitespace;jmc2017-08-291-3/+3
* add -z and -Z options to auto suspend or hibernate when low on battery.tedu2017-08-282-6/+57
* Retire zaurus, as it hasn't made the EABI jump and will be permanently brokenguenther2016-09-031-4/+3
* remove sparctedu2016-09-011-3/+3
* fix log messages, from jan starytedu2015-11-161-3/+3
* apmd doesn't connect to the socket, it binds on it; tweak error messagejca2015-11-131-2/+2
* Userspace doesn't need to use SUN_LEN(): connect() and bind() must acceptguenther2015-10-111-4/+3
* log battery changes every 10%, not every 21.tedu2015-08-281-2/+2
* add missing .Pa macros; patch from Theo Buehler <theo at math dot ethz dot ch>schwarze2015-02-121-10/+10
* Handle hibernate button in the same way as suspend does: send andcoppa2015-02-061-3/+8
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+4
* Mention previously missing '/etc/apm/hibernate' actiondcoppa2014-12-311-4/+7
* Remove now useless definesdcoppa2014-10-281-6/+1
* Use socket(SOCK_CLOEXEC), open(O_CLOEXEC), and fcntl(F_DUPFD_CLOEXEC)guenther2014-10-261-5/+2
* remove -C from usage();jmc2014-10-171-2/+2
* remove performance throttling code from here, use the kernel versiontedu2014-10-172-205/+38
* zap now unused "PERFINC"dcoppa2014-09-261-3/+4
* now that mp setperf is fixed, let's try aggressive throttling again.tedu2014-09-261-8/+7
* Remove non-standard <sys/dkstat.h> header. It has not contained anythingmiod2014-09-151-2/+2
* Use O_CLOEXEC wherever we open a file and then call fcntl(F_SETFD, FD_CLOEXEC)guenther2014-08-151-4/+3
* Revert "adjust -C algorithm to be more aggressive in scaling up" formpi2014-07-261-7/+8
* Steven Roberts sent me a patch updating the various setperf thresholds.tedu2014-07-241-23/+7
* adjust -C algorithm to be more aggressive in scaling up.tedu2014-07-221-8/+7
* protos, and please gcc warnings about operator precedencederaadt2013-11-131-2/+4
* Correct format string mismatches turned up by -Wformat=2guenther2013-08-221-3/+3
* add some messages when entering suspend as welltedu2013-05-191-2/+5
* If execing an /etc/apm/* program fails, log the failure and error message.guenther2013-05-151-1/+2
* use FD_CLOEXEC instead of 1; from David Hillokan2013-04-291-3/+3
* Add hibernate request support. Also installs a ZZZ binary for thederaadt2012-03-263-4/+23
* daemon() can fail; don't hide this for the user if that's the case.jasper2011-04-211-2/+3
* wording clarification; from Jan Staryjmc2010-10-281-4/+4
* In automatic mode if the battery is absent go to 100%deraadt2010-04-022-5/+8