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

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

power: smb5: show charger temp only when USB or DC is present



Currently, a wild value from HW is assigned to charger temp property
in battery psy if USB is not present. However, a valid temperature is
required when DC is present and nondeterministic temp is not desired
when neither input is present.

Fix it by showing it only when USB or DC charger is inserted.

Change-Id: I14c001972b13907efaac5c43b90de3358f34591e
Signed-off-by: default avatarHarry Yang <harryy@codeaurora.org>
parent a980a6a3
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