#acpi #linux #sysfs #battery

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

#1244 in Hardware support

Download history 9/week @ 2023-10-18 21/week @ 2023-10-25 11/week @ 2023-11-01 11/week @ 2023-11-08 13/week @ 2023-11-15 19/week @ 2023-11-22 29/week @ 2023-11-29 6/week @ 2023-12-06 15/week @ 2023-12-13 14/week @ 2023-12-20 11/week @ 2023-12-27 13/week @ 2024-01-03 9/week @ 2024-01-10 19/week @ 2024-01-17 17/week @ 2024-01-24 19/week @ 2024-01-31

64 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