]> git.corax.cc Git - toolbox/commit
include/acpi: Add modules for querying battery and PSU state
authorMatthias Kruk <m@m10k.eu>
Mon, 22 Mar 2021 00:46:46 +0000 (09:46 +0900)
committerMatthias Kruk <m@m10k.eu>
Mon, 22 Mar 2021 00:46:46 +0000 (09:46 +0900)
commite21d9fcf37eda86b01f1335c76cf72654dcf76ab
tree9435eef4e003b239691b97a0d57751bf34388ab9
parent5ee4914cd55ed3f1648cd1b1f40124662436e48c
include/acpi: Add modules for querying battery and PSU state

This commit adds the acpi/battery and acpi/ac module which can be used
to query the state of batteries and power supply units in the system
through the kernel's sysfs ACPI interface.
include/acpi/ac.sh [new file with mode: 0644]
include/acpi/battery.sh [new file with mode: 0644]