google_cpm: disable dc_chg_avail votable only on thermal crit level

cp_fcc == 0 can happen even if PPS adapter offline. So rely on
actual mdis level to disable dc chg avail votable

Bug: 194864623
Change-Id: I1d53e475b6fc0cc727cfb16fc4df679a5ccc2fb9
Signed-off-by: Prasanna Prapancham <[email protected]>
Signed-off-by: Wasb Liu <[email protected]>
(cherry picked from commit bdc4e3a6497462c754fba8fff1356c452737fff5)
1 file changed