#linux #battery #acpi #sysfs

acpi_client

A library for parsing ACPI data from the Linux filesystem

5 releases (3 stable)

2.0.0 Dec 23, 2019
1.1.0 Dec 14, 2019
1.0.0 Nov 29, 2019
0.2.0 Nov 18, 2019
0.1.0 Nov 13, 2019

#1111 in Hardware support


Used in acpitool

MIT license

23KB
432 lines

acpi-client

This project aims to create a library in Rust which replaces the functionality of the acpitool provided by many Linux distributions allowing monitoring of laptop batteries, AC power supplies, and thermal systems and associated metadata. The binary executable which replicates the tool's function can be found at https://github.com/ssnover95/acpitool

I'm still learning Rust, criticism of the source where I may not be following best practices is welcome and appreciated!

Crates.io MIT licensed Build Status

No runtime deps