#linux #sysfs #battery #acpi

acpi_client

A library for parsing ACPI data from the Linux filesystem

5 releases (3 stable)

✓ Uses Rust 2018 edition

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

#100 in Hardware support

Download history 6/week @ 2020-03-14 20/week @ 2020-03-21 12/week @ 2020-03-28 6/week @ 2020-04-04 36/week @ 2020-04-11 4/week @ 2020-04-18 3/week @ 2020-04-25 4/week @ 2020-05-02 2/week @ 2020-05-09 2/week @ 2020-05-16 6/week @ 2020-05-23 16/week @ 2020-05-30 1/week @ 2020-06-06 3/week @ 2020-06-13 1/week @ 2020-06-20 5/week @ 2020-06-27

69 downloads per month
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