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

Skip to content
Commit 7ef34ad2 authored by Nauval Rizky's avatar Nauval Rizky Committed by Pranav Vashi
Browse files

power: supply: smb5: Properly opt-out from s/w based health reporting



Since we're either using bq2597x or ln8000, get_prop will always throw a
POWER_SUPPLY_HEALTH_UNKNOWN and then power_supply_show_property log it
as failed to report.
Instead of reporting unknown health and spamming log buffer, tell
userspace that there's no data for it.

Change-Id: Iebd346dfb235b132802d0f43956cd3d361d91c42
Signed-off-by: default avatarPranav Vashi <neobuddy89@gmail.com>
parent 76c91aaa
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