Commit d2443fc
fwk: main: avoid extender overwritten charger limit
if disable extender is and setting the charger limit at bios option same moment,
host will send charger limit cmd first(3e03) and then disable extender(3e24),
but if disable extender it will set charger to normal and let sustainer to default
(battery_sustainer_set(-1, -1)), so charger limit will be overwritten to disable
BRANCH=fwk-main
BUG=https://community.frame.work/t/12th-gen-intel-core-bios-3-09-release-beta/65716/15
TEST=test on marigold, into bios setup, disable battery extender and setting chargerlimit(80%)
press f10 saving and reboot, after boot up check battery percentage will stop at 80%
Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com>
(cherry picked from commit 09386f6)1 parent e57089a commit d2443fc
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
196 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
197 | 200 | | |
198 | 201 | | |
199 | 202 | | |
| |||
0 commit comments