Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a04d652b authored by Harry Yang's avatar Harry Yang
Browse files

power: smb5-lib: Fix SBUx resistance measurement in moisture detection



Liquid presence is decided by SBUx resistance measured lower than
certain threshold. However, the measurement can be distorted if done
right after Type-C removal because SBUx may not be completely
released. As a result, moisture can be falsely detected.

Fix it by delaying moisture detection 1s after Type-C cable removal.

CRs-Fixed: 2325898
Change-Id: I4f932f53792c38434c76cfaec2e29b8f91e78927
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent bcfee816
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment