diff options
author | jhibbits <jhibbits@FreeBSD.org> | 2014-10-12 19:12:48 +0000 |
---|---|---|
committer | jhibbits <jhibbits@FreeBSD.org> | 2014-10-12 19:12:48 +0000 |
commit | 71bc2d78463933cae06f488e3121ad429ca6786f (patch) | |
tree | 0e9e64a5938e4732510eb4c46a49397fbac1a6b0 /contrib/netbsd-tests/lib/libc | |
parent | 5607da901dcfd962c7dc0fdfd4202ce8dd771131 (diff) | |
download | FreeBSD-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/lib/libc')
0 files changed, 0 insertions, 0 deletions