summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/acpi.c
diff options
context:
space:
mode:
authorSigrid <ftrvxmtrx@gmail.com>2021-01-22 10:15:36 +0100
committerSigrid <ftrvxmtrx@gmail.com>2021-01-22 10:15:36 +0100
commit6a78bb2e4f00581d85de1c5f9949782de3dd8933 (patch)
treeb1029b39144c52684b5826caa10ac15c9d214ca0 /sys/src/cmd/aux/acpi.c
parent1047b53efc370ad77546337a221171777b6face1 (diff)
stats: don't query battery and temp as often when using acpi
Querying battery (or temperature) using ACPI takes quite some resources, which makes the battery discharge faster. It doesn't make much sense to have it queried as often either. So, when using ACPI: 1) set battery query period to 10s minimum 2) set temperature query period to 5s minimum
Diffstat (limited to 'sys/src/cmd/aux/acpi.c')
0 files changed, 0 insertions, 0 deletions