powermgmt: Add battery current measurement

This allows targets to report the actual discharging or
charging current if they are able to.

Change-Id: I0b538e6ac94346f1434e45f83c8da8c1260a53a3
This commit is contained in:
Aidan MacDonald 2021-11-30 14:16:13 +00:00
parent 923f92cb12
commit ad05c872fe
4 changed files with 52 additions and 8 deletions

View file

@ -208,6 +208,8 @@
Usually application ports, and only
if the estimation is better that ours
(which it probably is) */
#define CURRENT_MEASURE 8 /* Target can report battery charge and/or
* discharge current */
/* CONFIG_LCD */
#define LCD_SSD1815 1 /* as used by Sansa M200 and others */
#define LCD_S1D15E06 3 /* as used by iRiver H100 series */