8000 GitHub - fossabot/rust-battery: Rust crate providing cross-platform information about batteries.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rust crate providing cross-platform information about batteries.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

fossabot/rust-battery

 
 

Repository files navigation

battery

Latest Version Latest Version Build Status dependency status Apache 2.0 OR MIT licensed FOSSA Status

Rust crate providing cross-platform information about batteries.

Gives access to a system independent battery state, capacity, charge and voltage values recalculated as necessary to be returned in mW, mWh or mV units.

Supported platforms

  • Linux 2.6.39+
  • MacOS (10.10+ probably, needs to be confirmed)
  • Windows 7+
  • FreeBSD
  • DragonFlyBSD

API stability

Until 1.0.0 version API might change in any moment, be careful.

Example

See battery-cli crate at GitHub or at crates.io.

FFI

Experimental battery-ffi crate provides the FFI bindings to the battery crate, so it can be used with another languages.

Check its README and documentation for details.

License

FOSSA Status

About

Rust crate providing cross-platform information about batteries.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 92.6%
  • Python 3.8%
  • C 3.4%
  • Shell 0.2%
0