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

Skip to content
Commit 212c9394 authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5-lib: Fix reporting of DIE_HEALTH



Report die health status as unknown if no charging adaptor is connected.

Use a helper function to determine whether any valid input adaptor is
connected or not, and also update other sites that make use of this
logic.

Change-Id: I08f3cbad6036f9230e74caa2c86da7e8f68f0677
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent 314af848
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