summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-09-07 16:58:12 +0000
committernjl <njl@FreeBSD.org>2004-09-07 16:58:12 +0000
commitacf1aa5821afe297535449a0ea8674cbd4dfe70d (patch)
tree6eee5705b12d33a1af1233c05eec8e39dc1b4a51 /tools
parentd0dc76864cfbe22ec2294583c2e0bd44b5042327 (diff)
downloadFreeBSD-src-acf1aa5821afe297535449a0ea8674cbd4dfe70d.zip
FreeBSD-src-acf1aa5821afe297535449a0ea8674cbd4dfe70d.tar.gz
Instead of trusting _STA from power resources, cache the first value
returned and then infer the state from calls to _ON/_OFF. This works around a problem in systems that don't correctly report the state (i.e. the HP Omnibook 500 reports "on" for its fan always after it has been turned on once).
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud