#
342983 |
|
13-Jan-2019 |
avos |
MFC r342810: powerd(8): allow to force a method of battery state query
This change allows to determine power source via sysctl or /dev/apm when devd(8) is running (used by default).
Based on patch from PR; other changes on top of it: - '-f' (force) -> '-s' (source) parameter renaming; - allow 'apm' -> 'devd' transition when '-s devd' is set (if APM is enabled); - man page update.
PR: 125707 Submitted by: Konstantin Stepanov <milezv@yandex.ru> Reviewed by: bcr, imp Differential Revision: https://reviews.freebsd.org/D18742
|
#
280751 |
|
27-Mar-2015 |
mav |
MFC r280286: Add comment explaining existing powerd behavior on SMP systems.
|
#
262474 |
|
25-Feb-2014 |
brueffer |
MFC: r261773
In acline_init(), initialize ac_line to SRC_UNKNOWN. Previously this could lead to the -n option effectively being ignored (in case ac_line happened to be 0 aka SRC_AC), or other undefined behaviour.
PR: 169779 Submitted by: Alex Gonzalez <loox at e-shell.com> Reviewed by: jhb
|
#
280751 |
|
27-Mar-2015 |
mav |
MFC r280286: Add comment explaining existing powerd behavior on SMP systems.
|
#
262474 |
|
25-Feb-2014 |
brueffer |
MFC: r261773
In acline_init(), initialize ac_line to SRC_UNKNOWN. Previously this could lead to the -n option effectively being ignored (in case ac_line happened to be 0 aka SRC_AC), or other undefined behaviour.
PR: 169779 Submitted by: Alex Gonzalez <loox at e-shell.com> Reviewed by: jhb
|