created | 2022-03-27T23:32:01Z |
---|---|
begin | 2022-03-21T12:57:46Z |
end | 2022-03-21T13:38:34Z |
path | src/sys |
commits | 1 |
date | 2022-03-21T13:38:34Z | |||
---|---|---|---|---|
author | kettenis | |||
files | src/sys/dev/acpi/acpiac.c | log | diff | annotate |
message |
Update hw.power whenever we refresh the AC state. This makes sure the state doesn't get out of sync with what apm(8) reports if power is plugged or unplugged when a machine is suspended. Which in turn makes sure the machine properly goes into a low CPU P-state when requested. ok deraadt@, florian@ |