drivers:power: Fix the soc update delay
The soc value is the fg controller is 0-255. Reported soc is 0-100.
Current delta-soc = 255/100 = 3. That will skip some soc point.
I do have my doubts about this patch, but the charger code is spaghetti
and a bit hard to understand what does what and when.
Change-Id: I72b62fc8943322f31da6220e7401d6d9854314f7
Signed-off-by:
Francisco Franco <franciscofranco.1990@gmail.com>
(cherry picked from commit 2d507ba0f77f425188e04d7adcaab95a16dfeea7)
Loading
Please register or sign in to comment