zmk/app/module/drivers/sensor
MickiusMousius 5ceaa1b879 Fix: Use a lookup table & interpolation to better estimate remaining battery capacity
The old battery capacity estimate code uses a linear approximation to estimate the remaining battery capacity. This is computationally very efficient, however, the estimate is very inaccurate once below 60%.

This change uses a small table of bounded functions to provide a more accurate estimate of remaining capacity. The values in the table re-implement the old estimation "curve".
2025-04-13 14:01:48 +09:30
..
battery Fix: Use a lookup table & interpolation to better estimate remaining battery capacity 2025-04-13 14:01:48 +09:30
ec11 fix(drivers): Proper static/const for data/config (#2769) 2025-01-15 12:35:35 -05:00
encoder_mock Testing: split ble encoder test (#2754) 2025-01-06 14:41:02 -05:00
max17048 fix(drivers): Proper static/const for data/config (#2769) 2025-01-15 12:35:35 -05:00
CMakeLists.txt Testing: split ble encoder test (#2754) 2025-01-06 14:41:02 -05:00
Kconfig Testing: split ble encoder test (#2754) 2025-01-06 14:41:02 -05:00