Battery SOC Estimator
A no_std, zero-dependency library for estimating battery state of charge based on voltage. It includes temperature compensation and aging compensation features.
Features
- ✅ Zero dependencies - No external crates required
- ✅
no_stdcompatible - Perfect for embedded systems - ✅ No heap allocations - Fixed-size arrays only
- ✅ Multiple battery types - LiPo, LiFePO4, Li-Ion
- ✅ Temperature compensation - Basic temperature correction
- ✅ Custom curves - Define your own voltage-SOC points
Installation
[]
= "0.1.2"
Quick Start
use ;
Supported Battery Types
- LiPo (4.2V - 3.2V)
- LiFePO4 (3.65V - 3.0V)
- Li-Ion (4.2V - 3.3V)
- Lipo410Full340Cutoff (3.4V - 4.1V)
License
MIT