Commit 7619699
fwk: lotus: override the display charge value for Windows system
reference marigold CLs[PR#1042] use Windows system to show the display battery percentage
before use battery register 0x0d (batt soc)
after use windows formula (batt cap*1000 / LFCC+1)
BRANCH=fwk-lotus-azalea-19573
BUG=None
TEST=verify battery extender is triggered at the correct battery percentage
float range Stage1 95-90, Stage2 87-85.
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>1 parent 43f5d0e commit 7619699
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
315 | 318 | | |
316 | 319 | | |
317 | 320 | | |
| |||
0 commit comments