Skip to content

OpenDevicePartnership/embedded-batteries

Repository files navigation

embedded-batteries

LICENSE

Introduction

This is a Hardware Abstraction Layer (HAL) for battery fuel gauges and battery chargers used in embedded systems, with the goal of being hardware and platform independent.

Specifically, traits are defined for both battery fuel gauges and battery chargers with functionality that conforms to the Smart Battery System v1.1 (SBS) specification.

Drivers for fuel gauges and charging controllers should implement these traits to provide a standard way of interfacing with the device.

Crates

Crate Description
embedded-batteries Core traits, blocking version
embedded-batteries-async Core traits, async version

MSRV

Currently, rust 1.83 and up is supported.

License

Licensed under the terms of the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution submitted for inclusion in the work by you shall be licensed under the terms of the MIT license.

License: MIT

About

Embedded HAL for battery fuel gauges & chargers

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages