power: fg-util: Update fg_get_battery_type
Simplify showing the battery type based on profile loading status
and battery missing. As profile_load_status has the information
about whether profile is loaded or not, skipped or missing, it
is better using it and remove profile_loaded variable. Since this
affects both GEN3 and GEN4 FG drivers, update them too.
Change-Id: I81e28153a81a9cbae7c6a10819dea7c4c530eb73
Signed-off-by:
Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Loading
Please register or sign in to comment