#client #linux #executable #acpi

acpi_client

A library for parsing ACPI data from the Linux filesystem

3 releases (1 stable)

✓ Uses Rust 2018 edition

1.0.0 Nov 29, 2019
0.2.0 Nov 18, 2019
0.1.0 Nov 13, 2019


Used in 1 crate

MIT license

16KB
393 lines

acpi-client

This project aims to create an executable 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.

Currently, this project supports only batteries, and only batteries that report information in terms of capacity (mAh) at that. Future work includes supporting batteries which report information in energy (mWh).

Additionally, this repository also sections off the workhorse part of the application away in a module so that other applications written in Rust can consume the information the tool can gather.

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

No runtime deps