summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2014-10-12 19:12:48 +0000
committerjhibbits <jhibbits@FreeBSD.org>2014-10-12 19:12:48 +0000
commit71bc2d78463933cae06f488e3121ad429ca6786f (patch)
tree0e9e64a5938e4732510eb4c46a49397fbac1a6b0 /contrib/netbsd-tests
parent5607da901dcfd962c7dc0fdfd4202ce8dd771131 (diff)
downloadFreeBSD-src-71bc2d78463933cae06f488e3121ad429ca6786f.zip
FreeBSD-src-71bc2d78463933cae06f488e3121ad429ca6786f.tar.gz
Add an AC line monitor so power_profile can work
Summary: Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd like ACPI does for power monitoring. This allows /etc/rc.d/power_profile to work on PowerPC laptops Test Plan: Tested on a Titanium PowerBook, configuring economy_cpu_freq and performance_cpu_freq, disabling powerd. Reviewers: #powerpc, nwhitehorn Reviewed By: nwhitehorn Subscribers: rpaulo Differential Revision: https://reviews.freebsd.org/D937
Diffstat (limited to 'contrib/netbsd-tests')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud